From ce322b0a8ea75204f09978f2237e7a19f61ad96a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Oct 2018 16:00:36 +0100 Subject: x11-themes/redcore-artwork-core : initial exheres && sys-boot/plymouth : depend on x11-themes/redcore-artwork-core --- metadata/categories.conf | 3 +- .../sys-boot/plymouth/plymouth-0.8.8-r1.exheres-0 | 13 ----- .../sys-boot/plymouth/plymouth-0.8.8-r2.exheres-0 | 13 +++++ packages/sys-boot/plymouth/plymouth.exlib | 2 + .../redcore-artwork-core-1337.exheres-0 | 62 ++++++++++++++++++++++ 5 files changed, 78 insertions(+), 15 deletions(-) delete mode 100644 packages/sys-boot/plymouth/plymouth-0.8.8-r1.exheres-0 create mode 100644 packages/sys-boot/plymouth/plymouth-0.8.8-r2.exheres-0 create mode 100644 packages/x11-themes/redcore-artwork-core/redcore-artwork-core-1337.exheres-0 diff --git a/metadata/categories.conf b/metadata/categories.conf index 24f8ec5..9db9601 100644 --- a/metadata/categories.conf +++ b/metadata/categories.conf @@ -1,5 +1,4 @@ -app-admin -dev-python sys-apps sys-boot sys-kernel +x11-themes diff --git a/packages/sys-boot/plymouth/plymouth-0.8.8-r1.exheres-0 b/packages/sys-boot/plymouth/plymouth-0.8.8-r1.exheres-0 deleted file mode 100644 index 02a9763..0000000 --- a/packages/sys-boot/plymouth/plymouth-0.8.8-r1.exheres-0 +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 2010 Brett Witherspoon -# Distributed under the terms of the GNU General Public License v2 - -require plymouth -require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.12 ] ] - -PLATFORMS="~amd64" - -DEFAULT_SRC_PREPARE_PATCHES=( - "${FILES}"/plymouth-fix-window-size-with-multiple-heads.patch - "${FILES}"/plymouth-include-sysmacros.patch - "${FILES}"/plymouth-redcore-defaults.patch -) diff --git a/packages/sys-boot/plymouth/plymouth-0.8.8-r2.exheres-0 b/packages/sys-boot/plymouth/plymouth-0.8.8-r2.exheres-0 new file mode 100644 index 0000000..02a9763 --- /dev/null +++ b/packages/sys-boot/plymouth/plymouth-0.8.8-r2.exheres-0 @@ -0,0 +1,13 @@ +# Copyright 2010 Brett Witherspoon +# Distributed under the terms of the GNU General Public License v2 + +require plymouth +require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.12 ] ] + +PLATFORMS="~amd64" + +DEFAULT_SRC_PREPARE_PATCHES=( + "${FILES}"/plymouth-fix-window-size-with-multiple-heads.patch + "${FILES}"/plymouth-include-sysmacros.patch + "${FILES}"/plymouth-redcore-defaults.patch +) diff --git a/packages/sys-boot/plymouth/plymouth.exlib b/packages/sys-boot/plymouth/plymouth.exlib index 9aaebc0..187bd4b 100644 --- a/packages/sys-boot/plymouth/plymouth.exlib +++ b/packages/sys-boot/plymouth/plymouth.exlib @@ -36,6 +36,8 @@ DEPENDENCIES=" providers:eudev? ( sys-apps/eudev ) providers:systemd? ( sys-apps/systemd ) systemd? ( sys-apps/systemd ) + run: + x11-themes/redcore-artwork-core suggestion: sys-boot/dracut [[ description = [ Provides mkinitrd functions and includes a plymouth module ] diff --git a/packages/x11-themes/redcore-artwork-core/redcore-artwork-core-1337.exheres-0 b/packages/x11-themes/redcore-artwork-core/redcore-artwork-core-1337.exheres-0 new file mode 100644 index 0000000..95efdf9 --- /dev/null +++ b/packages/x11-themes/redcore-artwork-core/redcore-artwork-core-1337.exheres-0 @@ -0,0 +1,62 @@ +# Copyright 2018 Redcore Linux Project +# Distributed under the terms of the GNU General Public License v2 + +DOWNLOADS="http://mirrors.redcorelinux.org/redcorelinux/distfiles/${PN}.tar.xz" + +SUMMARY="Redcore Linux Project core artwork (plymouth, cursors, logos, wallpapers)" +DESCRIPTION="Redcore Linux Project core artwork" +HOMEPAGE="https://redcorelinux.org" + +LICENCES="CCPL-Attribution-ShareAlike-3.0" +SLOT="0" +PLATFORMS="~amd64" +MYOPTIONS="" + +DEPENDENCIES="" + +WORK="${WORKBASE}"/"${PN}" + +src_prepare() { + : +} + +src_configure() { + : +} + +src_compile() { + : +} + +src_install() { + dodir /usr/share/cursors/xorg-x11/ + insinto /usr/share/cursors/xorg-x11/ + doins -r mouse/Hacked-Red + + dodir /usr/share/backgrounds/ + insinto /usr/share/backgrounds/ + doins -r background/nature + + dodir /usr/share/pixmaps/ + insinto /usr/share/pixmaps/ + doins logo/*.png + + dodir /usr/share/plymouth/ + insinto /usr/share/plymouth/ + doins plymouth/bizcom.png + + dodir /usr/share/plymouth/themes/ + insinto /usr/share/plymouth/themes/ + doins -r plymouth/themes/redcore +} + +_dracut_initramfs_regen() { + if [[ -x $(which dracut) ]]; then + dracut -N -f --no-hostonly-cmdline + fi +} + +pkg_postinst() { + # regenerate dracut initramfs (reason : include updated plymouth theme) + _dracut_initramfs_regen +} -- cgit v1.2.3