From ec54b64233f2b6c2c06efee018e1a89271b796f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 18 Oct 2019 13:50:58 +0200 Subject: x11-themes/background-lnxpcs: tru to fix --- profiles/cynerd-onemix/package.use | 3 +- .../background-lnxpcs-0.3-r1.ebuild | 38 --------------------- .../background-lnxpcs-0.3.1-r1.ebuild | 39 ++++++++++++++++++++++ 3 files changed, 41 insertions(+), 39 deletions(-) delete mode 100644 x11-themes/background-lnxpcs/background-lnxpcs-0.3-r1.ebuild create mode 100644 x11-themes/background-lnxpcs/background-lnxpcs-0.3.1-r1.ebuild diff --git a/profiles/cynerd-onemix/package.use b/profiles/cynerd-onemix/package.use index ee8e7d2..f669197 100644 --- a/profiles/cynerd-onemix/package.use +++ b/profiles/cynerd-onemix/package.use @@ -1,5 +1,6 @@ -# For myinitramfs sys-kernel/linux initramfs ucode +x11-themes/background-lnxpcs 1600p + # Disable opencl and d3d9 as those are not supported on intel gpu media-libs/mesa -opencl -d3d9 diff --git a/x11-themes/background-lnxpcs/background-lnxpcs-0.3-r1.ebuild b/x11-themes/background-lnxpcs/background-lnxpcs-0.3-r1.ebuild deleted file mode 100644 index 9c02e1c..0000000 --- a/x11-themes/background-lnxpcs/background-lnxpcs-0.3-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -EAPI=7 - -DESCRIPTION="Background pictures from lnxpcs and relevant scripts" -HOMEPAGE="https://gitlab.com/jstpcs/lnxpcs" - -HASH="99cf0bdafe6d9c6e0554c422eddc3f7b7adf25c8" -SRC_URI="https://github.com/nixcraft/lnxpcs/-/archive/${HASH}/lnxpcs-${HASH}.tar.gz -> ${PN}.tar.gz" -S="${WORKDIR}/lnxpcs-${HASH}" - -KEYWORDS="amd64" -LICENSE="GPL-3.0+" -SLOT="0" -IUSE="1440p" - -RDEPEND="media-gfx/feh[xinerama]" -BDEPEND="media-gfx/imagemagick[png]" - -WALLPAPERS="bash cron gcc gnu gnu-linux iptables kernel kill python root su sudo vim" - -src_compile() { - local resolution="1920 1080" - use 1440p && resolution="2560 1440" - - for img in $WALLPAPERS; do - ./makemywall $resolution "cards/black/$img-card-black.png" - done -} - -src_install() { - local resolution="1920x1080" - use 1440p && resolution="2560x1440" - - insinto "/usr/share/backgrounds" - for img in $WALLPAPERS; do - doins "$img-card-black-$resolution.png" - done - dobin "${FILESDIR}/i3background" -} diff --git a/x11-themes/background-lnxpcs/background-lnxpcs-0.3.1-r1.ebuild b/x11-themes/background-lnxpcs/background-lnxpcs-0.3.1-r1.ebuild new file mode 100644 index 0000000..2fbb29d --- /dev/null +++ b/x11-themes/background-lnxpcs/background-lnxpcs-0.3.1-r1.ebuild @@ -0,0 +1,39 @@ +EAPI=7 + +DESCRIPTION="Background pictures from lnxpcs and relevant scripts" +HOMEPAGE="https://gitlab.com/jstpcs/lnxpcs" + +HASH="00401dff4ebcc641dd1b630e10af19b862b599d3" +SRC_URI="https://github.com/nixcraft/lnxpcs/-/archive/${HASH}/lnxpcs-${HASH}.tar.gz -> ${PN}.tar.gz" +S="${WORKDIR}/lnxpcs-${HASH}" + +KEYWORDS="amd64" +LICENSE="GPL-3.0+" +SLOT="0" +IUSE="1440p 1600p" + +RDEPEND="media-gfx/feh[xinerama]" +BDEPEND="media-gfx/imagemagick[png]" + +WALLPAPERS="bash cron gcc gnu gnu-linux iptables kernel kill python root su sudo vim" + +src_compile() { + local resolution="1920 1080" + use 1440p && resolution="2560 1440" + use 1600p && resolution="2560 1600" + + for img in $WALLPAPERS; do + ./makemywall $resolution "cards/black/$img-card-black.png" + done +} + +src_install() { + local resolution="1920x1080" + use 1440p && resolution="2560x1440" + + insinto "/usr/share/backgrounds" + for img in $WALLPAPERS; do + doins "$img-card-black-$resolution.png" + done + dobin "${FILESDIR}/i3background" +} -- cgit v1.2.3