From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- media-gfx/tuxpaint/Manifest | 2 +- media-gfx/tuxpaint/tuxpaint-0.9.21-r2.ebuild | 29 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 16 deletions(-) (limited to 'media-gfx/tuxpaint') diff --git a/media-gfx/tuxpaint/Manifest b/media-gfx/tuxpaint/Manifest index 064ebfe83903..0aad9c529ae3 100644 --- a/media-gfx/tuxpaint/Manifest +++ b/media-gfx/tuxpaint/Manifest @@ -3,5 +3,5 @@ AUX tuxpaint-0.9.21-LDFLAGS.patch 853 BLAKE2B 2f68ff92e99697342b1046848b489c7281 AUX tuxpaint-0.9.21-libpng1.5.patch 838 BLAKE2B bbc335be723205a673896279fdbe21c1b817214e54a470b06170c45e9e0ec78563a600b9251675063ba37a5d97fb63e2f13f37f3e50b0ffa3038e7027c0c0599 SHA512 c860141816023bf0d36d7aac33134e213d0dfb111d9e123c4e1470753eb2a34c6e93046def09ee2a566de1f7b6a9aeb1638f408f935ddbf9c62285129bee7d0a AUX tuxpaint-0.9.21-underlinking.patch 592 BLAKE2B 1af0a14e4512b748fb2294e9ebe7ce0f72fa7b9df269ff1ac6c7756327f7fa3728ffd2808e888ab035d6f56ddeae20b269a75ef76e1560b4ce391c60372ea02d SHA512 66f0cea73c2e89353bd0085ae9de280ccf197dd3e253e00b05f4c0aeac2e2489ec94e21ad26a41ca09cce717533bd0010c655498cf9267bba6019bf78e2a836f DIST tuxpaint-0.9.21.tar.gz 9543034 BLAKE2B 196a743542d72e3dc5cea69b9e66a3baecdde7e3b288cb6759632d2b472f69db8d70ad404737416afe7f2ef4d0c0d21c7b2caadb64ca8d21a909e275ee6fcc46 SHA512 fafd80fe7a5a4d65236c8b5a4f15c644c76180e0e4ed7e774795572b70cc38ddb3273be2a93f041d74a1e536a5a9386c18e51987425ea1a3ff910661e4b0afb3 -EBUILD tuxpaint-0.9.21-r2.ebuild 1687 BLAKE2B 8129f5e37296aa3bce37269fa3d99f3d3b97b274d2ee0fa0ddca06322009a514a58a29ebe0a77b58a5f1bafe0f381d061da1681f5c78e1b2fb72a70197cadfd3 SHA512 0cf622a7f6eb1867905de448d7f4448b3c071e513b38195e5921ad6c01a777e41d4fc9b563fe9ff855418af1037abf7c5535c9d8f5f0f702f4f435d9f1bb6980 +EBUILD tuxpaint-0.9.21-r2.ebuild 1701 BLAKE2B 8d08863971b633e62022a4264bc3cb22bc20bd9469c35378960f07a0eb606481715ac6924d360648e75f27109283c4fb93de44ab504ee533a2ad6fa9bf06b737 SHA512 53ba744c47ab39730e6db19fea50e44818ed0fee483aa1e4e3a7e1d6cd8b679e1dfd453523956b0cbd447d92808c6c861dcb5109af2470a14fd228eb85d6b945 MISC metadata.xml 618 BLAKE2B 41214f92d2223b2791c7f79b8add3c494549a9f7e4048d17ec74aa13a56c460d3c83df08bd2f93358e8aa4eb6b497a6f3b9e49cd422a6a17a211341bd44e4bdd SHA512 e1be803667ac0a7a2a364f05f08e0514826292f11b3ff261a215864cfa50d61538f4535a83b0903e85c942098155231725db6e664aee4cfca812a36d670c0f72 diff --git a/media-gfx/tuxpaint/tuxpaint-0.9.21-r2.ebuild b/media-gfx/tuxpaint/tuxpaint-0.9.21-r2.ebuild index fd4b7f65c002..6c8458138345 100644 --- a/media-gfx/tuxpaint/tuxpaint-0.9.21-r2.ebuild +++ b/media-gfx/tuxpaint/tuxpaint-0.9.21-r2.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit gnome2-utils multilib toolchain-funcs +EAPI=7 + +inherit toolchain-funcs xdg-utils DESCRIPTION="Drawing program designed for young children" HOMEPAGE="http://www.tuxpaint.org/" @@ -11,7 +12,6 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" - IUSE="nls" RDEPEND=" @@ -27,10 +27,16 @@ RDEPEND=" media-libs/sdl-ttf x11-libs/cairo " -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" nls? ( sys-devel/gettext ) " +DOCS=( + docs/{ADVANCED-STAMPS-HOWTO,AUTHORS,CHANGES,default_colors,dejavu}.txt + docs/{EXTENDING,FAQ,OPTIONS,PNG,README,SVG}.txt +) + PATCHES=( # Sanitize the Makefile and correct a few other issues "${FILESDIR}/${PN}-0.9.20-gentoo.patch" @@ -56,27 +62,20 @@ src_compile() { src_install() { emake -j1 PKG_ROOT="${D}" \ - $(use nls && echo ENABLE_GETTEXT=1) install - - rm -f docs/COPYING.txt docs/INSTALL.txt - dodoc docs/*.txt -} + $(usex nls ENABLE_GETTEXT=1 '') install -pkg_preinst() { - gnome2_icon_savelist + einstalldocs } pkg_postinst() { - gnome2_icon_cache_update + xdg_icon_cache_update if ! has_version "${CATEGORY}/${PN}"; then - elog "" elog "For additional graphic stamps, you can emerge the" elog "media-gfx/tuxpaint-stamps package." - elog "" fi } pkg_postrm() { - gnome2_icon_cache_update + xdg_icon_cache_update } -- cgit v1.2.3