From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 489691581D3 for ; Sun, 19 May 2024 17:02:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76AC9E2A0B; Sun, 19 May 2024 17:02:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 58043E2A0B for ; Sun, 19 May 2024 17:02:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6EB5D335DC3 for ; Sun, 19 May 2024 17:02:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E3C651AE4 for ; Sun, 19 May 2024 17:02:39 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1716138097.90f3e3da8d161d45c9cdb1e532c4c3121f5d063f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/tuxpaint/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/tuxpaint/tuxpaint-0.9.31-r1.ebuild X-VCS-Directories: media-gfx/tuxpaint/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 90f3e3da8d161d45c9cdb1e532c4c3121f5d063f X-VCS-Branch: master Date: Sun, 19 May 2024 17:02:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6ab44116-d17f-421b-bf14-48eaa7705bfe X-Archives-Hash: 433c2db30ab56b995e19ced96c335f56 commit: 90f3e3da8d161d45c9cdb1e532c4c3121f5d063f Author: Holger Hoffstätte applied-asynchrony com> AuthorDate: Sun May 19 14:01:48 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun May 19 17:01:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90f3e3da media-gfx/tuxpaint: remove USE=svg from graphicsmagick Closes: https://github.com/gentoo/gentoo/pull/36742 Signed-off-by: Sam James gentoo.org> media-gfx/tuxpaint/tuxpaint-0.9.31-r1.ebuild | 65 ++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) 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 +}