diff options
Diffstat (limited to 'x11-themes/human-icon-theme')
3 files changed, 42 insertions, 19 deletions
diff --git a/x11-themes/human-icon-theme/Manifest b/x11-themes/human-icon-theme/Manifest index f3fafa93230b..3bd574ffa77a 100644 --- a/x11-themes/human-icon-theme/Manifest +++ b/x11-themes/human-icon-theme/Manifest @@ -1,4 +1,5 @@ +AUX human-icon-theme-0.36-fix-buildsystem.patch 595 BLAKE2B 4d2c848a68c823f26a52f73effea0dd1b941bb92422089d80145ec3bd26c4625f95a526cc4fd5900f25dcee887ff55126980fb82fe01a8587c8e7e0ec2968c50 SHA512 81fdbc2f3fc0852629d77dc09934a76adeef41fcc31d74cf50d565e19410060024aba33cf4adc6be33c5584a055747a9d3ebbcf8c59dfdc2c9c5bc837ae7b2db DIST gentoo-logo.svg 13764 BLAKE2B 8b6339945e24f8017d75030b6cbbd767be0955fa5b7783e33e223e631b48f442e57428caad2f2554a157bc2a2f63da159bc8f443c3d2eb87c16cd2e3262221a4 SHA512 c89df6fad432dfbbed921c4828ff22b9ea5b8930f403ad23e867a11d98764488dddc453b6f26503f9f6dc25b8c5a387b7cc91c17a6b5cee15c4aadafe76409c1 DIST human-icon-theme_0.36.tar.gz 980140 BLAKE2B 21f33b1b9e70ef908c495dbd3e72edbae00cddb4088fcfa8fde53a5f469ee13c6051c61bb87d95fa98605df5bb7114d095b09512c2d3a965c2c8234dacb1c07e SHA512 cb4ae3de6f721a9f06fd57867e97b537bbaad9bb268f100ae611e9d2c483267cd931f084469cd66000fd6bb5192b935e1e655a92b8fc0e9b537b02ee948a96aa -EBUILD human-icon-theme-0.36.ebuild 1241 BLAKE2B e5491fb4b896e5819302df422debf35be41acf3c73193d5bd0966e100f368d9dad219d67bd6ec089fb38f0b1cb7b5b8b1350cdcfd1f472316a6333ed0cecc9f6 SHA512 d8a6b2bd9395dbee554832b20d68147789535a1f9f845f80c089cf69fa8c815ca37e50c557a0c5e2adbf0bf20642d874f47b642a40f579c29f5b3b8b80f2faf3 +EBUILD human-icon-theme-0.36.ebuild 1007 BLAKE2B 3c17300f0649a5accd6b4b3e74add07c6294d95af73eff28e1e936e612bc065d993bfbdccd718bb560f30ee496047de7b635b2f04053b498d2923a6834313922 SHA512 b008e639f5948148fe56c828a46ac648095ece555c86140b30edaf195242f0ae30b8b825e0ee2c303d7d260f928c942ec1d53e5b2daa743ed81b7e5990c260fe MISC metadata.xml 282 BLAKE2B f175ac89f79f8ebbe3bc806c0c4a8169e2a4b88708d85928db9a23dacecd92a2acb1c5d1f6a49a2f8375288aa4b2db910af8c325557540ba665c37a17e773721 SHA512 06c94ffb49c985c4344b170b902427ca9ce0c23b6d68330af227ab1771794f8e8b6d0ef75b5f69293c8ef0d3264c8799e1389ccdf8dfbe7c665c6477c07479e4 diff --git a/x11-themes/human-icon-theme/files/human-icon-theme-0.36-fix-buildsystem.patch b/x11-themes/human-icon-theme/files/human-icon-theme-0.36-fix-buildsystem.patch new file mode 100644 index 000000000000..44999e7ae584 --- /dev/null +++ b/x11-themes/human-icon-theme/files/human-icon-theme-0.36-fix-buildsystem.patch @@ -0,0 +1,22 @@ +--- a/Makefile ++++ b/Makefile +@@ -19,7 +19,7 @@ + + # run icon-naming-utils + for d in $$DESTDIR/usr/share/icons/Human/*; do \ +- (cd $$d; for c in *; do /usr/lib/icon-naming-utils/icon-name-mapping -c $$c; done); \ ++ (cd $$d; for c in *; do /usr/libexec/icon-name-mapping -c $$c; done); \ + done + + # install mo files +--- a/svg2png.sh.in ++++ b/svg2png.sh.in +@@ -8,7 +8,7 @@ + fi + + ICONNAME=`echo ${3} | sed -e "s/.svg//"` +-if test `basename $SVGCONVERT` = "rsvg"; then ++if test `basename $SVGCONVERT` = "rsvg-convert"; then + OPTIONS="-w ${1} -h ${1}" + else + OPTIONS="${1} ${1}" diff --git a/x11-themes/human-icon-theme/human-icon-theme-0.36.ebuild b/x11-themes/human-icon-theme/human-icon-theme-0.36.ebuild index b8dec8cb6438..cde168627e62 100644 --- a/x11-themes/human-icon-theme/human-icon-theme-0.36.ebuild +++ b/x11-themes/human-icon-theme/human-icon-theme-0.36.ebuild @@ -1,34 +1,38 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 -inherit gnome2-utils +EAPI=7 + +inherit xdg DESCRIPTION="A nice and well polished icon theme" HOMEPAGE="http://packages.ubuntu.com/lucid/human-icon-theme" -SRC_URI="mirror://ubuntu/pool/universe/h/${PN}/${PN}_${PV}.tar.gz +SRC_URI=" + mirror://ubuntu/pool/universe/h/${PN}/${PN}_${PV}.tar.gz https://www.gentoo.org/images/gentoo-logo.svg" LICENSE="CC-BY-SA-2.5" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" - RESTRICT="binchecks strip" -RDEPEND="|| ( x11-themes/tangerine-icon-theme x11-themes/adwaita-icon-theme )" -DEPEND=">=gnome-base/librsvg-2.34 - >=x11-misc/icon-naming-utils-0.8.90 +RDEPEND=" + || ( + x11-themes/adwaita-icon-theme + x11-themes/tangerine-icon-theme + )" +BDEPEND=" dev-util/intltool - sys-devel/gettext" + gnome-base/librsvg + sys-devel/gettext + x11-misc/icon-naming-utils" -S=${WORKDIR}/${PN} +S="${WORKDIR}/${PN}" -DOCS="AUTHORS" +PATCHES=( "${FILESDIR}"/${PN}-0.36-fix-buildsystem.patch ) src_prepare() { - sed -i -e 's:lib/icon-naming-utils/icon:libexec/icon:' Makefile || die - sed -i -e '/SVGCONVERT/s:rsvg:&-convert:' svg2png.sh.in || die #414971 + xdg_src_prepare cp "${DISTDIR}"/gentoo-logo.svg scalable/places/start-here.svg || die @@ -42,7 +46,3 @@ src_prepare() { src_compile() { emake index.theme } - -pkg_preinst() { gnome2_icon_savelist; } -pkg_postinst() { gnome2_icon_cache_update; } -pkg_postrm() { gnome2_icon_cache_update; } |