diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2021-04-26 23:18:54 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-04-26 23:20:33 +0200 |
commit | 78217f97b03d68338e52b848abaf82c8ebad77cc (patch) | |
tree | dc717eecc8bc1b5d30e09fec897bd0d85187134a /x11-themes/neutral-xcursors | |
parent | media-libs/lcms: stable 2.12 for hppa, bug #785679 (diff) | |
download | gentoo-78217f97b03d68338e52b848abaf82c8ebad77cc.tar.gz gentoo-78217f97b03d68338e52b848abaf82c8ebad77cc.tar.bz2 gentoo-78217f97b03d68338e52b848abaf82c8ebad77cc.zip |
x11-themes/neutral-xcursors: bump to EAPI=7
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'x11-themes/neutral-xcursors')
-rw-r--r-- | x11-themes/neutral-xcursors/metadata.xml | 3 | ||||
-rw-r--r-- | x11-themes/neutral-xcursors/neutral-xcursors-20150106-r1.ebuild | 81 |
2 files changed, 83 insertions, 1 deletions
diff --git a/x11-themes/neutral-xcursors/metadata.xml b/x11-themes/neutral-xcursors/metadata.xml index 585b0dc75dda..3c58a0219fbe 100644 --- a/x11-themes/neutral-xcursors/metadata.xml +++ b/x11-themes/neutral-xcursors/metadata.xml @@ -2,4 +2,5 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <!-- maintainer-needed --> - </pkgmetadata> + <stabilize-allarches/> +</pkgmetadata> diff --git a/x11-themes/neutral-xcursors/neutral-xcursors-20150106-r1.ebuild b/x11-themes/neutral-xcursors/neutral-xcursors-20150106-r1.ebuild new file mode 100644 index 000000000000..28dbb5e6b7d4 --- /dev/null +++ b/x11-themes/neutral-xcursors/neutral-xcursors-20150106-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +NEUTRAL_PN="Neutral" +NEUTRAL_PV="1.13a" +NEUTRAL_P="${NEUTRAL_PN}-${NEUTRAL_PV}" + +PLUS_PN="Neutral_Plus" +PLUS_PV="1.2" +PLUS_P="${PLUS_PN}-${PLUS_PV}" + +PLUSPLUS_PN="Neutral++" +PLUSPLUS_PV="1.0.3" +PLUSPLUS_P="${PLUSPLUS_PN}-${PLUSPLUS_PV}" + +WHITE_PN="Neutral++_White" +WHITE_PV="1.1.1" +WHITE_P="${WHITE_PN}-${WHITE_PV}" + +DESCRIPTION="A family of smoothed and shadowed cursors that resemble the standard X ones" +HOMEPAGE=" + https://store.kde.org/p/999947/ + https://store.kde.org/p/999928/ + https://store.kde.org/p/999941/ + https://store.kde.org/p/999806/ +" + +SRC_URI=" + mirror://gentoo/${NEUTRAL_P}.tar.gz + mirror://gentoo/${PLUS_P}.tar.bz2 + mirror://gentoo/${PLUSPLUS_P}.tar.bz2 + mirror://gentoo/${WHITE_P}.tar.bz2 +" +S="${WORKDIR}" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86" + +DEPEND="x11-apps/xcursorgen" +RDEPEND="x11-libs/libXcursor" + +src_prepare() { + default + + mv neutral Neutral || die + mkdir -p "${PLUS_PN}"/source/cursors || die +} + +src_compile() { + local cursor_dirs=( "${NEUTRAL_PN}" "${PLUS_PN}" "${PLUSPLUS_PN}" "${WHITE_PN}" ) + for cursor_dir in "${cursor_dirs[@]}"; do + pushd "${cursor_dir}"/source + ./make.sh || die + popd + done +} + +src_install() { + pushd "${NEUTRAL_PN}" + insinto /usr/share/cursors/xorg-x11/"${NEUTRAL_PN}" + doins -r index.theme source/cursors/ + popd + + pushd "${PLUS_PN}" + insinto /usr/share/cursors/xorg-x11/"${PLUS_PN}" + doins -r "${FILESDIR}/index.theme" source/cursors/ + popd + + pushd "${PLUSPLUS_PN}" + insinto /usr/share/cursors/xorg-x11/"${PLUSPLUS_PN}" + doins -r index.theme cursors/ + popd + + pushd "${WHITE_PN}" + insinto /usr/share/cursors/xorg-x11/"${WHITE_PN}" + doins -r index.theme cursors/ + popd +} |