summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-10-13 16:00:36 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-10-13 16:00:36 +0100
commitce322b0a8ea75204f09978f2237e7a19f61ad96a (patch)
tree7b0a6a4351b2f304e41e32c3d8ca422a979de3e5
parent1b7bfe5c40035db77b8315dae7992c3dad85e3ce (diff)
x11-themes/redcore-artwork-core : initial exheres && sys-boot/plymouth : depend on x11-themes/redcore-artwork-core
-rw-r--r--metadata/categories.conf3
-rw-r--r--packages/sys-boot/plymouth/plymouth-0.8.8-r2.exheres-0 (renamed from packages/sys-boot/plymouth/plymouth-0.8.8-r1.exheres-0)0
-rw-r--r--packages/sys-boot/plymouth/plymouth.exlib2
-rw-r--r--packages/x11-themes/redcore-artwork-core/redcore-artwork-core-1337.exheres-062
4 files changed, 65 insertions, 2 deletions
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-r2.exheres-0
index 02a9763..02a9763 100644
--- a/packages/sys-boot/plymouth/plymouth-0.8.8-r1.exheres-0
+++ b/packages/sys-boot/plymouth/plymouth-0.8.8-r2.exheres-0
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
+}