summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-05-14 07:22:55 -0700
committerLars Wendler <polynomial-c@gentoo.org>2021-05-14 17:37:51 +0200
commit25e9ca17fb3b7e7c9f2554e642614b83330fda9b (patch)
treeef55913ec46879976952a5acda2eee3db3e05e24 /games-board/pioneers
parentsys-firmware/intel-microcode: bump (diff)
downloadgentoo-25e9ca17fb3b7e7c9f2554e642614b83330fda9b.tar.gz
gentoo-25e9ca17fb3b7e7c9f2554e642614b83330fda9b.tar.bz2
gentoo-25e9ca17fb3b7e7c9f2554e642614b83330fda9b.zip
games-board/pioneers: Version bump to 15.6
Upstream-PR: https://sourceforge.net/p/pio/patches/680/ Thanks-to: orbea <orbea@riseup.net> Closes: https://bugs.gentoo.org/778248 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'games-board/pioneers')
-rw-r--r--games-board/pioneers/Manifest1
-rw-r--r--games-board/pioneers/files/pioneers-15.6-slibtool.patch27
-rw-r--r--games-board/pioneers/pioneers-15.6.ebuild48
3 files changed, 76 insertions, 0 deletions
diff --git a/games-board/pioneers/Manifest b/games-board/pioneers/Manifest
index 082da1f9eb67..d9b0752862d2 100644
--- a/games-board/pioneers/Manifest
+++ b/games-board/pioneers/Manifest
@@ -1 +1,2 @@
DIST pioneers-15.5.tar.gz 4975627 BLAKE2B 8cae5df3e122743819196f0442ba18cedcfd4fee51d9e76ef4137f120e3429456f58ca9d6e537b8e0206c937d882b4a22d76ae333a7d5d7dc69d65f7bbd94b18 SHA512 a3261197348d7e994da81ad4948755520bf29678614a9ea2b2cacc81622093c6460b0cee671a04c125684d88a9ee1deb9206ccb73ab1440be1a1505e24b2ed2a
+DIST pioneers-15.6.tar.gz 5054353 BLAKE2B 0e6cbe51a801c3eb84b8f4f08359f9d1d166e6ae1c8e66e748d15214d23a9f11b9deea7645778d453e32ea2dc171bca2d70b2f54fb88e5f50e9d0726bdff7a0e SHA512 683ba851d4dc85244edea7f9b183d6c9b7ef93cdc948f3375f8434f2f455ac0a3688a6a914ab8ad8a86d5067bba8f563c181ef8c8ccf00df6a985e801dc1c213
diff --git a/games-board/pioneers/files/pioneers-15.6-slibtool.patch b/games-board/pioneers/files/pioneers-15.6-slibtool.patch
new file mode 100644
index 000000000000..f754255930c5
--- /dev/null
+++ b/games-board/pioneers/files/pioneers-15.6-slibtool.patch
@@ -0,0 +1,27 @@
+From a53a5621c278db74aaffa21bbf135be1d4a55ea2 Mon Sep 17 00:00:00 2001
+From: orbea <orbea@riseup.net>
+Date: Fri, 7 May 2021 12:05:45 -0700
+Subject: [PATCH] build: Don't link the same object twice.
+
+---
+ Makefile.am | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index af5d0bf..9012a57 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -47,10 +47,8 @@ gtk_cflags = \
+ $(GTK_CFLAGS) \
+ $(GTK_DEPRECATION)
+
+-# The Fink port needs an explicit reference to driver.o
+ console_libs = \
+ libpioneers.a \
+- $(top_builddir)/common/libpioneers_a-driver.o \
+ $(GLIB2_LIBS) \
+ $(GIO2_LIBS)
+
+--
+2.26.3
+
diff --git a/games-board/pioneers/pioneers-15.6.ebuild b/games-board/pioneers/pioneers-15.6.ebuild
new file mode 100644
index 000000000000..ea5507a831ad
--- /dev/null
+++ b/games-board/pioneers/pioneers-15.6.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+GNOME2_EAUTORECONF=yes
+
+inherit gnome2
+
+DESCRIPTION="Clone of the popular board game The Settlers of Catan"
+HOMEPAGE="http://pio.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pio/${P}.tar.gz"
+
+LICENSE="GPL-2 CC-BY-SA-4.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dedicated help nls"
+
+# dev-util/gob only for autoreconf
+RDEPEND="
+ >=dev-libs/glib-2.28:2
+ !dedicated? (
+ >=x11-libs/gtk+-3.22:3
+ >=x11-libs/libnotify-0.7.4
+ help? ( app-text/yelp-tools )
+ )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-util/gob:2
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+DOCS=( AUTHORS ChangeLog README TODO NEWS )
+
+PATCHES=( "${FILESDIR}/${P}-slibtool.patch" )
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable nls) \
+ $(use_enable help) \
+ --includedir=/usr/include \
+ $(use_with !dedicated gtk)
+}
+
+src_install() {
+ gnome2_src_install scrollkeeper_localstate_dir="${ED}"/var/lib/scrollkeeper/
+}