diff options
author | Holger Hoffstätte <holger@applied-asynchrony.com> | 2024-05-19 16:01:48 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-05-19 18:01:37 +0100 |
commit | 90f3e3da8d161d45c9cdb1e532c4c3121f5d063f (patch) | |
tree | f9abee4c985dfe8e784ec430767f96bf5758ed9d | |
parent | media-gfx/graphicsmagick: update SRC_URI (diff) | |
download | gentoo-90f3e3da8d161d45c9cdb1e532c4c3121f5d063f.tar.gz gentoo-90f3e3da8d161d45c9cdb1e532c4c3121f5d063f.tar.bz2 gentoo-90f3e3da8d161d45c9cdb1e532c4c3121f5d063f.zip |
media-gfx/tuxpaint: remove USE=svg from graphicsmagick
Closes: https://github.com/gentoo/gentoo/pull/36742
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | media-gfx/tuxpaint/tuxpaint-0.9.31-r1.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/media-gfx/tuxpaint/tuxpaint-0.9.31-r1.ebuild b/media-gfx/tuxpaint/tuxpaint-0.9.31-r1.ebuild new file mode 100644 index 000000000000..33f527fd82ac --- /dev/null +++ b/media-gfx/tuxpaint/tuxpaint-0.9.31-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop optfeature toolchain-funcs xdg + +DESCRIPTION="Drawing program designed for young children" +HOMEPAGE="https://www.tuxpaint.org/" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" +S="${WORKDIR}"/${P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + app-text/libpaper:= + dev-libs/fribidi + gnome-base/librsvg:2 + media-gfx/libimagequant + >=media-libs/freetype-2:2 + >=media-libs/libpng-1.2:0= + media-libs/libsdl2[X,joystick] + media-libs/sdl2-gfx + media-libs/sdl2-image[png] + media-libs/sdl2-mixer + media-libs/sdl2-pango + media-libs/sdl2-ttf + sys-libs/zlib + x11-libs/cairo +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/gperf + media-gfx/graphicsmagick[jpeg,png] + sys-devel/gettext +" + +PATCHES=( + "${FILESDIR}"/${P}-Makefile.patch +) + +src_compile() { + emake CC="$(tc-getCC)" GENTOO_LIBDIR="$(get_libdir)" +} + +src_install() { + emake DESTDIR="${D}" GENTOO_LIBDIR="$(get_libdir)" install + local file size + for file in data/images/icon[0-9]*x[0-9]*.png; do + size=${file##*/icon} + size=${size%%x*} + newicon -s "${size}" "${file}" tux4kids-tuxpaint.png + done + newmenu src/tuxpaint.desktop tux4kids-tuxpaint.desktop + docinto /usr/share/doc/${PF} + dodoc docs/*.txt + dodoc docs/en/*.txt +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "additional graphic stamps" media-gfx/tuxpaint-stamps +} |