From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/tuxpaint/
Date: Sun, 26 Jul 2020 21:42:24 +0000 (UTC) [thread overview]
Message-ID: <1595799736.c267178e19fba9e88ff62e8d8981896875cb7cb5.asturm@gentoo> (raw)
commit: c267178e19fba9e88ff62e8d8981896875cb7cb5
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 26 21:40:49 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 26 21:42:16 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c267178e
media-gfx/tuxpaint: EAPI-7 bump, use xdg-utils, drop unused multilib
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-gfx/tuxpaint/tuxpaint-0.9.21-r2.ebuild | 29 ++++++++++++++--------------
1 file changed, 14 insertions(+), 15 deletions(-)
diff --git a/media-gfx/tuxpaint/tuxpaint-0.9.21-r2.ebuild b/media-gfx/tuxpaint/tuxpaint-0.9.21-r2.ebuild
index fd4b7f65c00..6c845813834 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
}
next reply other threads:[~2020-07-26 21:42 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-26 21:42 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-15 16:28 [gentoo-commits] repo/gentoo:master commit in: media-gfx/tuxpaint/ Sam James
2024-06-25 0:11 Sam James
2024-05-19 17:09 Sam James
2024-05-19 17:02 Sam James
2024-03-22 13:14 Arthur Zamarin
2024-03-13 6:26 Arthur Zamarin
2024-03-13 0:54 Sam James
2023-11-02 18:16 Arthur Zamarin
2023-08-02 6:53 Joonas Niilola
2023-07-27 6:40 Joonas Niilola
2023-06-02 15:35 Joonas Niilola
2023-03-14 8:05 Joonas Niilola
2023-01-20 13:50 Joonas Niilola
2023-01-20 13:50 Joonas Niilola
2023-01-20 1:23 Sam James
2023-01-20 1:23 Sam James
2022-09-15 13:20 Sam James
2022-07-21 8:37 Joonas Niilola
2022-06-16 16:30 Sam James
2022-03-18 8:11 Arthur Zamarin
2022-03-14 18:35 Agostino Sarubbo
2022-03-14 18:32 Agostino Sarubbo
2022-01-19 1:14 Sam James
2022-01-19 0:48 Sam James
2022-01-16 1:35 Sam James
2022-01-16 1:34 Sam James
2021-08-19 0:39 Sam James
2021-02-09 23:58 Sam James
2021-02-02 23:46 Sam James
2021-01-27 4:06 Sam James
2021-01-05 7:41 Joonas Niilola
2021-01-02 15:36 Joonas Niilola
2021-01-02 15:36 Joonas Niilola
2020-12-27 5:29 Sam James
2020-12-27 5:29 Sam James
2016-09-18 9:22 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1595799736.c267178e19fba9e88ff62e8d8981896875cb7cb5.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox