Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/pioneers/, games-board/pioneers/files/
Date: Fri, 14 May 2021 15:38:02
Message-Id: 1621006671.25e9ca17fb3b7e7c9f2554e642614b83330fda9b.polynomial-c@gentoo
1 commit: 25e9ca17fb3b7e7c9f2554e642614b83330fda9b
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 14 14:22:55 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri May 14 15:37:51 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25e9ca17
7
8 games-board/pioneers: Version bump to 15.6
9
10 Upstream-PR: https://sourceforge.net/p/pio/patches/680/
11 Thanks-to: orbea <orbea <AT> riseup.net>
12 Closes: https://bugs.gentoo.org/778248
13 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
14
15 games-board/pioneers/Manifest | 1 +
16 .../pioneers/files/pioneers-15.6-slibtool.patch | 27 ++++++++++++
17 games-board/pioneers/pioneers-15.6.ebuild | 48 ++++++++++++++++++++++
18 3 files changed, 76 insertions(+)
19
20 diff --git a/games-board/pioneers/Manifest b/games-board/pioneers/Manifest
21 index 082da1f9eb6..d9b0752862d 100644
22 --- a/games-board/pioneers/Manifest
23 +++ b/games-board/pioneers/Manifest
24 @@ -1 +1,2 @@
25 DIST pioneers-15.5.tar.gz 4975627 BLAKE2B 8cae5df3e122743819196f0442ba18cedcfd4fee51d9e76ef4137f120e3429456f58ca9d6e537b8e0206c937d882b4a22d76ae333a7d5d7dc69d65f7bbd94b18 SHA512 a3261197348d7e994da81ad4948755520bf29678614a9ea2b2cacc81622093c6460b0cee671a04c125684d88a9ee1deb9206ccb73ab1440be1a1505e24b2ed2a
26 +DIST pioneers-15.6.tar.gz 5054353 BLAKE2B 0e6cbe51a801c3eb84b8f4f08359f9d1d166e6ae1c8e66e748d15214d23a9f11b9deea7645778d453e32ea2dc171bca2d70b2f54fb88e5f50e9d0726bdff7a0e SHA512 683ba851d4dc85244edea7f9b183d6c9b7ef93cdc948f3375f8434f2f455ac0a3688a6a914ab8ad8a86d5067bba8f563c181ef8c8ccf00df6a985e801dc1c213
27
28 diff --git a/games-board/pioneers/files/pioneers-15.6-slibtool.patch b/games-board/pioneers/files/pioneers-15.6-slibtool.patch
29 new file mode 100644
30 index 00000000000..f754255930c
31 --- /dev/null
32 +++ b/games-board/pioneers/files/pioneers-15.6-slibtool.patch
33 @@ -0,0 +1,27 @@
34 +From a53a5621c278db74aaffa21bbf135be1d4a55ea2 Mon Sep 17 00:00:00 2001
35 +From: orbea <orbea@××××××.net>
36 +Date: Fri, 7 May 2021 12:05:45 -0700
37 +Subject: [PATCH] build: Don't link the same object twice.
38 +
39 +---
40 + Makefile.am | 2 --
41 + 1 file changed, 2 deletions(-)
42 +
43 +diff --git a/Makefile.am b/Makefile.am
44 +index af5d0bf..9012a57 100644
45 +--- a/Makefile.am
46 ++++ b/Makefile.am
47 +@@ -47,10 +47,8 @@ gtk_cflags = \
48 + $(GTK_CFLAGS) \
49 + $(GTK_DEPRECATION)
50 +
51 +-# The Fink port needs an explicit reference to driver.o
52 + console_libs = \
53 + libpioneers.a \
54 +- $(top_builddir)/common/libpioneers_a-driver.o \
55 + $(GLIB2_LIBS) \
56 + $(GIO2_LIBS)
57 +
58 +--
59 +2.26.3
60 +
61
62 diff --git a/games-board/pioneers/pioneers-15.6.ebuild b/games-board/pioneers/pioneers-15.6.ebuild
63 new file mode 100644
64 index 00000000000..ea5507a831a
65 --- /dev/null
66 +++ b/games-board/pioneers/pioneers-15.6.ebuild
67 @@ -0,0 +1,48 @@
68 +# Copyright 1999-2021 Gentoo Authors
69 +# Distributed under the terms of the GNU General Public License v2
70 +
71 +EAPI=7
72 +GNOME2_EAUTORECONF=yes
73 +
74 +inherit gnome2
75 +
76 +DESCRIPTION="Clone of the popular board game The Settlers of Catan"
77 +HOMEPAGE="http://pio.sourceforge.net/"
78 +SRC_URI="mirror://sourceforge/pio/${P}.tar.gz"
79 +
80 +LICENSE="GPL-2 CC-BY-SA-4.0"
81 +SLOT="0"
82 +KEYWORDS="~amd64 ~x86"
83 +IUSE="dedicated help nls"
84 +
85 +# dev-util/gob only for autoreconf
86 +RDEPEND="
87 + >=dev-libs/glib-2.28:2
88 + !dedicated? (
89 + >=x11-libs/gtk+-3.22:3
90 + >=x11-libs/libnotify-0.7.4
91 + help? ( app-text/yelp-tools )
92 + )
93 + nls? ( virtual/libintl )"
94 +DEPEND="${RDEPEND}"
95 +BDEPEND="
96 + dev-util/gob:2
97 + virtual/pkgconfig
98 + nls? ( sys-devel/gettext )
99 +"
100 +
101 +DOCS=( AUTHORS ChangeLog README TODO NEWS )
102 +
103 +PATCHES=( "${FILESDIR}/${P}-slibtool.patch" )
104 +
105 +src_configure() {
106 + gnome2_src_configure \
107 + $(use_enable nls) \
108 + $(use_enable help) \
109 + --includedir=/usr/include \
110 + $(use_with !dedicated gtk)
111 +}
112 +
113 +src_install() {
114 + gnome2_src_install scrollkeeper_localstate_dir="${ED}"/var/lib/scrollkeeper/
115 +}