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 DF364158087 for ; Sun, 16 Jan 2022 01:34:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 083B7E0824; Sun, 16 Jan 2022 01:34:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 AECDEE0824 for ; Sun, 16 Jan 2022 01:34:38 +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 3ECCD335D8F for ; Sun, 16 Jan 2022 01:34:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CA1C7291 for ; Sun, 16 Jan 2022 01:34:34 +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: <1642296803.c8ebeb61ccd1041ea4f0a5ba5d74c2693efa2c7b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/tuxpaint/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/tuxpaint/Manifest media-gfx/tuxpaint/tuxpaint-0.9.27.ebuild X-VCS-Directories: media-gfx/tuxpaint/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c8ebeb61ccd1041ea4f0a5ba5d74c2693efa2c7b X-VCS-Branch: master Date: Sun, 16 Jan 2022 01:34:34 +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: 981c60a5-02db-4887-97da-6dfa35bdba1d X-Archives-Hash: d95781ba042d8fd956f9e56b4678e79e commit: c8ebeb61ccd1041ea4f0a5ba5d74c2693efa2c7b Author: Philipp Rösner protonmail com> AuthorDate: Fri Jan 7 23:17:24 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 16 01:33:23 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8ebeb61 media-gfx/tuxpaint: version bump to 0.9.27 We added an ebuild for tuxpaint-0.9.27. We also added support for EAPI 8, added necessary dependencies and did minor cleanup. Closes: https://bugs.gentoo.org/767223 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Philipp Roesner protonmail.com> Signed-off-by: Sam James gentoo.org> media-gfx/tuxpaint/Manifest | 1 + media-gfx/tuxpaint/tuxpaint-0.9.27.ebuild | 74 +++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/media-gfx/tuxpaint/Manifest b/media-gfx/tuxpaint/Manifest index 9a3f246ba0d6..9670ea86fc54 100644 --- a/media-gfx/tuxpaint/Manifest +++ b/media-gfx/tuxpaint/Manifest @@ -1 +1,2 @@ DIST tuxpaint-0.9.24.tar.gz 15561675 BLAKE2B 971baec8b7728cbb54a2a45b604c152a9620d0f6a1856cca99482ad0fd76f2a4493aab81f54e10e5da4d81800b0e3506cb73dda0e00510ef966b0c98f8aa5cb4 SHA512 a4ee9eea833f9a6313701a4686f9f276570df84436c68d9a3d04e9448a8ea00833207e1034965e15145be744194c7b9a7d3c91bdfa3489d06a61de84b64cc723 +DIST tuxpaint-0.9.27.tar.gz 14292992 BLAKE2B f1337b828604bac968325437eba21046f871a0e07e049f2d3568f44adac400e729f4c6d46bcba9eddf9078089aaf55aab7d0774fb5ab126b96d317b59e37ee00 SHA512 197c6e23fb772edd57614e34dec23e160ece528b58e4a17d67fe4100c58cbcd6c4b5efccfbb24ca760b3a20755230b47f4e3e49969e75ba04ce722102a7f2dd9 diff --git a/media-gfx/tuxpaint/tuxpaint-0.9.27.ebuild b/media-gfx/tuxpaint/tuxpaint-0.9.27.ebuild new file mode 100644 index 000000000000..9fbfe4c29e7b --- /dev/null +++ b/media-gfx/tuxpaint/tuxpaint-0.9.27.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2022 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="http://www.tuxpaint.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +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/libpng-1.2:0= + >=media-libs/freetype-2:2 + media-libs/libsdl[joystick] + media-libs/sdl-gfx + media-libs/sdl-image[png] + media-libs/sdl-mixer + media-libs/sdl-pango + media-libs/sdl-ttf + x11-libs/cairo +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/gperf + virtual/imagemagick-tools + sys-devel/gettext +" + +src_prepare() { + + sed -i \ + -e 's|linux_ARCH_INSTALL:=install-xdg|linux_ARCH_INSTALL:=|' \ + -e "s|linux_PREFIX:=/usr/local|linux_PREFIX:=/usr|" \ + -e "s:/lib/:/$(get_libdir)/:g" \ + -e 's:/share/doc/tuxpaint-$(VER_VERSION)/:'"/share/doc/${PF}/:g" \ + -e '/@gzip -f/d' \ + -e '/@chmod a+rx,g-w,o-w $(MAN_PREFIX)/d' \ + -e "s|linux_ARCH_CFLAGS:=|linux_ARCH_CFLAGS:= ${CFLAGS}|" \ + Makefile || die + + eapply_user +} + +src_compile() { + # parallel build may break things + emake -j1 CC="$(tc-getCC)" +} + +src_install() { + emake -j1 DESTDIR="${D}" 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 + dodoc docs/*.txt + dodoc docs/en/*.txt +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "additional graphic stamps" media-gfx/tuxpaint-stamps +}