summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Rösner <rndxelement@protonmail.com>2022-01-08 01:26:02 +0100
committerSam James <sam@gentoo.org>2022-01-16 01:33:25 +0000
commit30ff3b07f72d0eb8563b0f41f817196b6ec7164e (patch)
treefb8a618b0599948ffcb3873a6d5276d23a3943c2 /media-gfx
parentmedia-gfx/tuxpaint: cleaned up src_prepare (diff)
downloadgentoo-30ff3b07f72d0eb8563b0f41f817196b6ec7164e.tar.gz
gentoo-30ff3b07f72d0eb8563b0f41f817196b6ec7164e.tar.bz2
gentoo-30ff3b07f72d0eb8563b0f41f817196b6ec7164e.zip
media-gfx/tuxpaint-stamps: version bump to 2021.11.25
We added an ebuild for tuxpaint-stamps-2021.11.25 with support for EAPI 8. Closes: https://bugs.gentoo.org/767226 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Philipp Roesner <rndxelement@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/23691 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/tuxpaint-stamps/Manifest1
-rw-r--r--media-gfx/tuxpaint-stamps/files/tuxpaint-stamps-20211125-make-382.patch15
-rw-r--r--media-gfx/tuxpaint-stamps/tuxpaint-stamps-20211125.ebuild33
3 files changed, 49 insertions, 0 deletions
diff --git a/media-gfx/tuxpaint-stamps/Manifest b/media-gfx/tuxpaint-stamps/Manifest
index 9de65ec72903..d0f79ab344c6 100644
--- a/media-gfx/tuxpaint-stamps/Manifest
+++ b/media-gfx/tuxpaint-stamps/Manifest
@@ -1 +1,2 @@
DIST tuxpaint-stamps-2009.06.28.tar.gz 48273629 BLAKE2B a9c11b846d60bb4de5bfaa721a24254fb6510bfddeca54f398ebf941f2fd74f546eaf3cdf7cd65932835e2e72993d6627f6247c7dc4a4488d2d2b2174c04455a SHA512 ca059275484bec045c4f2bad414ea5359d2a8812cc1c8d1e11ad8f3b7e63e107c1fccc347291ffe95d81a5192b39198c56d319ef6a0f475fb128d9a2d0e5e027
+DIST tuxpaint-stamps-2021.11.25.tar.gz 193603076 BLAKE2B 16cf8e9792261608bb77fdb97ba9828671a44b6ba939c5644e9d1c256bc2f9055becf70a336a8acd8b5b8f5e07d1f51a3a39eb7aeb267450ac6d848a500cbb0e SHA512 db353ad0635a0f06960d0ec0c1eabda26bffa4672e5c56099ed02c2db9e109b4dbdd17327eadce8a1779b5d0fe51503988b56dafd4e47e9ad4f978e2a7ba2c10
diff --git a/media-gfx/tuxpaint-stamps/files/tuxpaint-stamps-20211125-make-382.patch b/media-gfx/tuxpaint-stamps/files/tuxpaint-stamps-20211125-make-382.patch
new file mode 100644
index 000000000000..313b7bab67aa
--- /dev/null
+++ b/media-gfx/tuxpaint-stamps/files/tuxpaint-stamps-20211125-make-382.patch
@@ -0,0 +1,15 @@
+http://bugs.gentoo.org/334569
+
+--- a/Makefile
++++ b/Makefile
+@@ -79,9 +79,7 @@
+ @rm -rf "build/tuxpaint-stamps-$(VER_DATE)" "build/tuxpaint-stamps-$(VER_DATE).tar.gz"
+ @-if [ -d build ] ; then rmdir build ; fi
+
+-releasedir: build/tuxpaint-stamps
+-
+-build/tuxpaint-stamps:
++releasedir:
+ @echo
+ @echo "Creating release directory"
+ @echo
diff --git a/media-gfx/tuxpaint-stamps/tuxpaint-stamps-20211125.ebuild b/media-gfx/tuxpaint-stamps/tuxpaint-stamps-20211125.ebuild
new file mode 100644
index 000000000000..be6dba848c30
--- /dev/null
+++ b/media-gfx/tuxpaint-stamps/tuxpaint-stamps-20211125.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P=${PN}-${PV:0:4}.${PV:4:2}.${PV:6:2}
+
+DESCRIPTION="Set of 'Rubber Stamp' images which can be used within Tux Paint"
+HOMEPAGE="http://www.tuxpaint.org/"
+SRC_URI="mirror://sourceforge/tuxpaint/${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="media-gfx/tuxpaint"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-make-382.patch
+)
+
+src_prepare() {
+ default
+}
+
+src_install() {
+ emake PREFIX="${D}/usr" install-all
+
+ rm -f docs/COPYING.txt || die
+ dodoc docs/*.txt
+}