Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/pingus/, games-puzzle/pingus/files/
Date: Sat, 12 Jun 2021 22:06:46
Message-Id: 1623535459.15ac2d2b844da0df0643ea3535b14da698dba0fc.ionen@gentoo
1 commit: 15ac2d2b844da0df0643ea3535b14da698dba0fc
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 12 21:58:40 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 12 22:04:19 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15ac2d2b
7
8 games-puzzle/pingus: update live ebuild
9
10 Removed unnecessary patches. Using libexec is normal for support
11 binaries not meant to be executed directly (it'd be better if this
12 wrapper script wasn't needed, but left alone so live ebuild breaks
13 less easily)
14
15 Updated dependencies for new submodules. These are coming from pingus'
16 upstream splitting code into separate repos (no releases), notably
17 replaces sdl2-mixer by using libmodplug/openal/etc... directly.
18
19 Closes: https://bugs.gentoo.org/795585
20 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
21
22 .../pingus/files/pingus-9999-no_libexec.patch | 33 --------------
23 games-puzzle/pingus/pingus-9999.ebuild | 53 +++++++++-------------
24 2 files changed, 21 insertions(+), 65 deletions(-)
25
26 diff --git a/games-puzzle/pingus/files/pingus-9999-no_libexec.patch b/games-puzzle/pingus/files/pingus-9999-no_libexec.patch
27 deleted file mode 100644
28 index 45da29a4226..00000000000
29 --- a/games-puzzle/pingus/files/pingus-9999-no_libexec.patch
30 +++ /dev/null
31 @@ -1,33 +0,0 @@
32 -From ef01ebf5401419a0e98dfe32efa9a0bc8564e26f Mon Sep 17 00:00:00 2001
33 -From: Lars Wendler <polynomial-c@g.o>
34 -Date: Wed, 3 Apr 2019 18:35:28 +0200
35 -Subject: [PATCH] Don't install pingus executable into libexec
36 -
37 -This doesn't really make any sense.
38 ----
39 - CMakeLists.txt | 9 ---------
40 - 1 file changed, 9 deletions(-)
41 -
42 -diff --git a/CMakeLists.txt b/CMakeLists.txt
43 -index f3a92be64..fa835236d 100644
44 ---- a/CMakeLists.txt
45 -+++ b/CMakeLists.txt
46 -@@ -213,15 +213,6 @@ if(BUILD_TESTS)
47 - endif(BUILD_TESTS)
48 -
49 - install(TARGETS pingus
50 -- RUNTIME DESTINATION ${CMAKE_INSTALL_LIBEXECDIR})
51 --
52 --configure_file(
53 -- ${CMAKE_CURRENT_SOURCE_DIR}/pingus.sh.in
54 -- ${CMAKE_BINARY_DIR}/pingus.sh)
55 --
56 --install(FILES
57 -- ${CMAKE_BINARY_DIR}/pingus.sh
58 -- RENAME pingus
59 - PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
60 - DESTINATION ${CMAKE_INSTALL_BINDIR})
61 -
62 ---
63 -2.21.0
64 -
65
66 diff --git a/games-puzzle/pingus/pingus-9999.ebuild b/games-puzzle/pingus/pingus-9999.ebuild
67 index b0083c14fd5..86efbe6553a 100644
68 --- a/games-puzzle/pingus/pingus-9999.ebuild
69 +++ b/games-puzzle/pingus/pingus-9999.ebuild
70 @@ -2,41 +2,30 @@
71 # Distributed under the terms of the GNU General Public License v2
72
73 EAPI=7
74 -inherit cmake flag-o-matic xdg
75
76 -DESCRIPTION="free Lemmings clone"
77 +inherit xdg cmake git-r3
78 +
79 +DESCRIPTION="Free Lemmings clone"
80 HOMEPAGE="https://pingus.gitlab.io/"
81 -if [[ "${PV}" == *9999 ]] ; then
82 - inherit git-r3
83 - EGIT_REPO_URI="https://gitlab.com/pingus/pingus.git"
84 -else
85 - SRC_URI="https://github.com/Pingus/pingus/archive/v${PV}.tar.gz -> ${P}.tar.gz"
86 - KEYWORDS="~amd64 ~x86"
87 -fi
88 -LICENSE="GPL-3"
89 +EGIT_REPO_URI="https://gitlab.com/pingus/pingus.git"
90 +
91 +LICENSE="GPL-3+"
92 SLOT="0"
93 -IUSE=""
94
95 RDEPEND="
96 - dev-libs/boost:=
97 - dev-libs/jsoncpp
98 - media-libs/libpng:0=
99 + dev-libs/jsoncpp:=
100 + dev-libs/libfmt:=
101 + dev-libs/libsigc++:2
102 + media-libs/libmodplug
103 + media-libs/libpng:=
104 media-libs/libsdl2[joystick,opengl,video]
105 - media-libs/sdl2-image[png]
106 - media-libs/sdl2-mixer[mod]
107 - virtual/opengl
108 -"
109 -DEPEND="${RDEPEND}"
110 -BDEPEND="
111 - virtual/pkgconfig"
112 -
113 -PATCHES=(
114 - "${FILESDIR}"/${PN}-0.7.6-noopengl.patch
115 - "${FILESDIR}"/${P}-no_libexec.patch
116 -)
117 -
118 -src_prepare() {
119 - sed '/find_package(Boost/s@ signals@@' -i CMakeLists.txt || die
120 - cmake_src_prepare
121 - strip-flags
122 -}
123 + media-libs/libvorbis
124 + media-libs/openal
125 + media-libs/opusfile
126 + media-libs/sdl2-image[jpeg,png]
127 + media-sound/mpg123
128 + virtual/opengl"
129 +DEPEND="
130 + ${RDEPEND}
131 + dev-libs/boost
132 + media-libs/glm"