[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2024-04-27 Thread Ionen Wolkens
commit: 4fdc862af8fc9023f75be2773f4c5bf411d6da13
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sat Apr 27 11:41:10 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Apr 27 12:10:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fdc862a

games-arcade/cdogs-sdl: drop 2.0.0

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest   |  1 -
 games-arcade/cdogs-sdl/cdogs-sdl-2.0.0.ebuild | 53 ---
 2 files changed, 54 deletions(-)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index bbaf745f3bdd..42e28e424b3d 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1,2 +1 @@
-DIST cdogs-sdl-2.0.0.tar.gz 35833483 BLAKE2B 
3e5a57a6571ad3c28a28c6a29f34cf0b5db09aadc666c4258f33efe78b2b7c5a9b69a311a8cab79c994f88d865f2b9961dff515ebe4e45afb9ae20200b5b9733
 SHA512 
1e68bf0eed882836849c41d3c6a38275d8d3c551b0776b8658996d18d65a6401f810d265e9a5a666ab3b8694fe341b2783f72dee681c242f54373a584b4e2a3c
 DIST cdogs-sdl-2.1.0.tar.gz 35945061 BLAKE2B 
03dc9554fd982ecc322a01224846fde05a116cdea8ed8415ba703d2711957ec5314301c7a92117d231d338cabe4c21e14297c2cff1205f6cf1abac1ff7606c4a
 SHA512 
92b82a94cd73c7e33e141878db6ee71ca1e164a41c79e0c575aa02f4121506496e2e8e6bbef1eb239c7b145b90c0a49c3f31f4cc6d8817f75e91f5554b6d6d05

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-2.0.0.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-2.0.0.ebuild
deleted file mode 100644
index 45e3f8fbcc15..
--- a/games-arcade/cdogs-sdl/cdogs-sdl-2.0.0.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic xdg
-
-DESCRIPTION="Classic overhead run-and-gun game"
-HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
-SRC_URI="
-   https://github.com/cxong/cdogs-sdl/archive/refs/tags/${PV}.tar.gz
-   -> ${P}.tar.gz
-"
-
-LICENSE="
-   GPL-2+
-   BSD-2 CC-BY-3.0 CC-BY-4.0 CC-BY-SA-3.0 CC0-1.0 WTFPL-2 XMAME 
public-domain
-"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   media-libs/libsdl2[haptic,opengl]
-   media-libs/sdl2-image[png]
-   media-libs/sdl2-mixer[mp3,vorbis,wav]
-   net-libs/enet:1.3=
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.1.1-cmake.patch
-)
-
-src_configure() {
-   filter-lto #858527
-
-   local mycmakeargs=(
-   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/ # trailing / is 
needed
-   -DBUILD_EDITOR=OFF
-   -DUSE_SHARED_ENET=ON
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   dodoc doc/{AUTHORS,original_readme.txt}
-
-   # CREDITS is used at runtime, rest is licenses or duplicates
-   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2024-04-16 Thread Ionen Wolkens
commit: 081cb5bb4c1bcbc025d95681c293518519b43cc7
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Apr 16 09:40:03 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Apr 16 09:45:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=081cb5bb

games-arcade/cdogs-sdl: add 2.1.0

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest   |  1 +
 games-arcade/cdogs-sdl/cdogs-sdl-2.1.0.ebuild | 53 +++
 2 files changed, 54 insertions(+)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index 59cac33df380..bbaf745f3bdd 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1 +1,2 @@
 DIST cdogs-sdl-2.0.0.tar.gz 35833483 BLAKE2B 
3e5a57a6571ad3c28a28c6a29f34cf0b5db09aadc666c4258f33efe78b2b7c5a9b69a311a8cab79c994f88d865f2b9961dff515ebe4e45afb9ae20200b5b9733
 SHA512 
1e68bf0eed882836849c41d3c6a38275d8d3c551b0776b8658996d18d65a6401f810d265e9a5a666ab3b8694fe341b2783f72dee681c242f54373a584b4e2a3c
+DIST cdogs-sdl-2.1.0.tar.gz 35945061 BLAKE2B 
03dc9554fd982ecc322a01224846fde05a116cdea8ed8415ba703d2711957ec5314301c7a92117d231d338cabe4c21e14297c2cff1205f6cf1abac1ff7606c4a
 SHA512 
92b82a94cd73c7e33e141878db6ee71ca1e164a41c79e0c575aa02f4121506496e2e8e6bbef1eb239c7b145b90c0a49c3f31f4cc6d8817f75e91f5554b6d6d05

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-2.1.0.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-2.1.0.ebuild
new file mode 100644
index ..45e3f8fbcc15
--- /dev/null
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-2.1.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic xdg
+
+DESCRIPTION="Classic overhead run-and-gun game"
+HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
+SRC_URI="
+   https://github.com/cxong/cdogs-sdl/archive/refs/tags/${PV}.tar.gz
+   -> ${P}.tar.gz
+"
+
+LICENSE="
+   GPL-2+
+   BSD-2 CC-BY-3.0 CC-BY-4.0 CC-BY-SA-3.0 CC0-1.0 WTFPL-2 XMAME 
public-domain
+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   media-libs/libsdl2[haptic,opengl]
+   media-libs/sdl2-image[png]
+   media-libs/sdl2-mixer[mp3,vorbis,wav]
+   net-libs/enet:1.3=
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1.1-cmake.patch
+)
+
+src_configure() {
+   filter-lto #858527
+
+   local mycmakeargs=(
+   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/ # trailing / is 
needed
+   -DBUILD_EDITOR=OFF
+   -DUSE_SHARED_ENET=ON
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   dodoc doc/{AUTHORS,original_readme.txt}
+
+   # CREDITS is used at runtime, rest is licenses or duplicates
+   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2024-03-20 Thread Ionen Wolkens
commit: 59d37f135e5167482089ba2a1567bd27a9acc09e
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Wed Mar 20 05:19:03 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Mar 20 07:01:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59d37f13

games-arcade/cdogs-sdl: drop 1.5.0

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest   |  1 -
 games-arcade/cdogs-sdl/cdogs-sdl-1.5.0.ebuild | 50 ---
 2 files changed, 51 deletions(-)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index 9634ce498e8d..59cac33df380 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1,2 +1 @@
-DIST cdogs-sdl-1.5.0.tar.gz 35772274 BLAKE2B 
70e06897edfe0a35ec5196ef1f1ae2d90b54958e18a68c3c114a88978b5550a3f6ac68a3d69225a7ee1f00f0d1eeaa0b3d6364e9f435acaeb9118c9a8a7c4f49
 SHA512 
e6ff35d16ad6af109954397f8c14d7a73a561dee55d7451446149a80b6fb8ec1df2a8c46cd220d335d30472202668672d8c9d71a6428653432794272d07469ee
 DIST cdogs-sdl-2.0.0.tar.gz 35833483 BLAKE2B 
3e5a57a6571ad3c28a28c6a29f34cf0b5db09aadc666c4258f33efe78b2b7c5a9b69a311a8cab79c994f88d865f2b9961dff515ebe4e45afb9ae20200b5b9733
 SHA512 
1e68bf0eed882836849c41d3c6a38275d8d3c551b0776b8658996d18d65a6401f810d265e9a5a666ab3b8694fe341b2783f72dee681c242f54373a584b4e2a3c

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.5.0.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-1.5.0.ebuild
deleted file mode 100644
index 19ad263eae35..
--- a/games-arcade/cdogs-sdl/cdogs-sdl-1.5.0.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic xdg
-
-DESCRIPTION="Classic overhead run-and-gun game"
-HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
-SRC_URI="https://github.com/cxong/cdogs-sdl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="
-   GPL-2+
-   BSD-2 CC-BY-3.0 CC-BY-4.0 CC-BY-SA-3.0 CC0-1.0 WTFPL-2 XMAME 
public-domain
-"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   media-libs/libsdl2[haptic,opengl]
-   media-libs/sdl2-image[png]
-   media-libs/sdl2-mixer[mp3,vorbis,wav]
-   net-libs/enet:1.3=
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.1.1-cmake.patch
-)
-
-src_configure() {
-   filter-lto #858527
-
-   local mycmakeargs=(
-   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/ # trailing / is 
needed
-   -DBUILD_EDITOR=OFF
-   -DUSE_SHARED_ENET=ON
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   dodoc doc/{AUTHORS,original_readme.txt}
-
-   # CREDITS is used at runtime, rest is licenses or duplicates
-   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2024-02-18 Thread Ionen Wolkens
commit: d425b727051ca966551b41f76f8ad2016282267b
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Mon Feb 19 02:08:44 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Mon Feb 19 02:09:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d425b727

games-arcade/cdogs-sdl: add 2.0.0

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest   |  1 +
 games-arcade/cdogs-sdl/cdogs-sdl-2.0.0.ebuild | 53 +++
 2 files changed, 54 insertions(+)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index 18e12675bc4f..9634ce498e8d 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1 +1,2 @@
 DIST cdogs-sdl-1.5.0.tar.gz 35772274 BLAKE2B 
70e06897edfe0a35ec5196ef1f1ae2d90b54958e18a68c3c114a88978b5550a3f6ac68a3d69225a7ee1f00f0d1eeaa0b3d6364e9f435acaeb9118c9a8a7c4f49
 SHA512 
e6ff35d16ad6af109954397f8c14d7a73a561dee55d7451446149a80b6fb8ec1df2a8c46cd220d335d30472202668672d8c9d71a6428653432794272d07469ee
+DIST cdogs-sdl-2.0.0.tar.gz 35833483 BLAKE2B 
3e5a57a6571ad3c28a28c6a29f34cf0b5db09aadc666c4258f33efe78b2b7c5a9b69a311a8cab79c994f88d865f2b9961dff515ebe4e45afb9ae20200b5b9733
 SHA512 
1e68bf0eed882836849c41d3c6a38275d8d3c551b0776b8658996d18d65a6401f810d265e9a5a666ab3b8694fe341b2783f72dee681c242f54373a584b4e2a3c

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-2.0.0.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-2.0.0.ebuild
new file mode 100644
index ..45e3f8fbcc15
--- /dev/null
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-2.0.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic xdg
+
+DESCRIPTION="Classic overhead run-and-gun game"
+HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
+SRC_URI="
+   https://github.com/cxong/cdogs-sdl/archive/refs/tags/${PV}.tar.gz
+   -> ${P}.tar.gz
+"
+
+LICENSE="
+   GPL-2+
+   BSD-2 CC-BY-3.0 CC-BY-4.0 CC-BY-SA-3.0 CC0-1.0 WTFPL-2 XMAME 
public-domain
+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   media-libs/libsdl2[haptic,opengl]
+   media-libs/sdl2-image[png]
+   media-libs/sdl2-mixer[mp3,vorbis,wav]
+   net-libs/enet:1.3=
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1.1-cmake.patch
+)
+
+src_configure() {
+   filter-lto #858527
+
+   local mycmakeargs=(
+   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/ # trailing / is 
needed
+   -DBUILD_EDITOR=OFF
+   -DUSE_SHARED_ENET=ON
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   dodoc doc/{AUTHORS,original_readme.txt}
+
+   # CREDITS is used at runtime, rest is licenses or duplicates
+   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2023-09-12 Thread Ionen Wolkens
commit: 1d82f5dd5e9433c781183a8dc72c56451a111465
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Sep 12 15:58:25 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Sep 12 15:58:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d82f5dd

games-arcade/cdogs-sdl: drop 1.4.2

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest   |  1 -
 games-arcade/cdogs-sdl/cdogs-sdl-1.4.2.ebuild | 46 ---
 2 files changed, 47 deletions(-)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index a4ab791fc6ba..18e12675bc4f 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1,2 +1 @@
-DIST cdogs-sdl-1.4.2.tar.gz 35799287 BLAKE2B 
76891785f44a6abbe309976b6e706d019cc4cc3a58cf83859ad7518a2931eb208b7305ea5d09b2692961d5fd39ff2a8aafce820a9920820646bb1ab81261
 SHA512 
36bea4eb1f11c4abc752695455f30b6f76b6c3aab02d57ece0f8a77d116c7810a5ebcc211de441a6487bc43d977dfab84ffa56b4aa5a8a45cdff5e2810c4fddf
 DIST cdogs-sdl-1.5.0.tar.gz 35772274 BLAKE2B 
70e06897edfe0a35ec5196ef1f1ae2d90b54958e18a68c3c114a88978b5550a3f6ac68a3d69225a7ee1f00f0d1eeaa0b3d6364e9f435acaeb9118c9a8a7c4f49
 SHA512 
e6ff35d16ad6af109954397f8c14d7a73a561dee55d7451446149a80b6fb8ec1df2a8c46cd220d335d30472202668672d8c9d71a6428653432794272d07469ee

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.4.2.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-1.4.2.ebuild
deleted file mode 100644
index 55dd0eccdce1..
--- a/games-arcade/cdogs-sdl/cdogs-sdl-1.4.2.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic xdg
-
-DESCRIPTION="Classic overhead run-and-gun game"
-HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
-SRC_URI="https://github.com/cxong/cdogs-sdl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2+ BSD-2 CC-BY-3.0 CC-BY-4.0 CC-BY-SA-3.0 CC0-1.0 WTFPL-2 XMAME 
public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   media-libs/libsdl2[haptic,opengl]
-   media-libs/sdl2-image[png]
-   media-libs/sdl2-mixer[mp3,vorbis,wav]
-   net-libs/enet:1.3="
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.1.1-cmake.patch
-)
-
-src_configure() {
-   filter-lto #858527
-
-   local mycmakeargs=(
-   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/ # trailing / is 
needed
-   -DBUILD_EDITOR=OFF
-   -DUSE_SHARED_ENET=ON
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   dodoc doc/{AUTHORS,original_readme.txt}
-
-   # CREDITS is used at runtime, rest is licenses or duplicates
-   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2023-08-03 Thread Ionen Wolkens
commit: 2097f612074ae04fe3a352e64e3e01f2174b1b30
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Aug  3 10:57:42 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Aug  3 11:58:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2097f612

games-arcade/cdogs-sdl: add 1.5.0

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest   |  1 +
 games-arcade/cdogs-sdl/cdogs-sdl-1.5.0.ebuild | 50 +++
 2 files changed, 51 insertions(+)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index 6aac958cb11b..a4ab791fc6ba 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1 +1,2 @@
 DIST cdogs-sdl-1.4.2.tar.gz 35799287 BLAKE2B 
76891785f44a6abbe309976b6e706d019cc4cc3a58cf83859ad7518a2931eb208b7305ea5d09b2692961d5fd39ff2a8aafce820a9920820646bb1ab81261
 SHA512 
36bea4eb1f11c4abc752695455f30b6f76b6c3aab02d57ece0f8a77d116c7810a5ebcc211de441a6487bc43d977dfab84ffa56b4aa5a8a45cdff5e2810c4fddf
+DIST cdogs-sdl-1.5.0.tar.gz 35772274 BLAKE2B 
70e06897edfe0a35ec5196ef1f1ae2d90b54958e18a68c3c114a88978b5550a3f6ac68a3d69225a7ee1f00f0d1eeaa0b3d6364e9f435acaeb9118c9a8a7c4f49
 SHA512 
e6ff35d16ad6af109954397f8c14d7a73a561dee55d7451446149a80b6fb8ec1df2a8c46cd220d335d30472202668672d8c9d71a6428653432794272d07469ee

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.5.0.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-1.5.0.ebuild
new file mode 100644
index ..19ad263eae35
--- /dev/null
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-1.5.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic xdg
+
+DESCRIPTION="Classic overhead run-and-gun game"
+HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
+SRC_URI="https://github.com/cxong/cdogs-sdl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="
+   GPL-2+
+   BSD-2 CC-BY-3.0 CC-BY-4.0 CC-BY-SA-3.0 CC0-1.0 WTFPL-2 XMAME 
public-domain
+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   media-libs/libsdl2[haptic,opengl]
+   media-libs/sdl2-image[png]
+   media-libs/sdl2-mixer[mp3,vorbis,wav]
+   net-libs/enet:1.3=
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1.1-cmake.patch
+)
+
+src_configure() {
+   filter-lto #858527
+
+   local mycmakeargs=(
+   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/ # trailing / is 
needed
+   -DBUILD_EDITOR=OFF
+   -DUSE_SHARED_ENET=ON
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   dodoc doc/{AUTHORS,original_readme.txt}
+
+   # CREDITS is used at runtime, rest is licenses or duplicates
+   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2023-05-26 Thread Ionen Wolkens
commit: 6a2b7360abfd2a3ae04681cc04b53e57a6135ccd
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Fri May 26 22:55:49 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri May 26 22:55:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a2b7360

games-arcade/cdogs-sdl: drop 1.4.1

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest   |  1 -
 games-arcade/cdogs-sdl/cdogs-sdl-1.4.1.ebuild | 47 ---
 2 files changed, 48 deletions(-)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index 228e930e5362..6aac958cb11b 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1,2 +1 @@
-DIST cdogs-sdl-1.4.1.tar.gz 35799934 BLAKE2B 
67fe75575c478a3e38a7ba70060dc329c98b1b96912216dbf4a7d71784222485efff645349c2d9db72184947f16dcbd73ba52e61a03ad9b4c341650ab9ce144c
 SHA512 
de8d181fed78d68ebeed44b408210252c616db7aaf80d472ea2ce3981fca8792c0226bb0006af014bc9151e2c1ba1b94708441e4c039ba2648cef3e41b31feda
 DIST cdogs-sdl-1.4.2.tar.gz 35799287 BLAKE2B 
76891785f44a6abbe309976b6e706d019cc4cc3a58cf83859ad7518a2931eb208b7305ea5d09b2692961d5fd39ff2a8aafce820a9920820646bb1ab81261
 SHA512 
36bea4eb1f11c4abc752695455f30b6f76b6c3aab02d57ece0f8a77d116c7810a5ebcc211de441a6487bc43d977dfab84ffa56b4aa5a8a45cdff5e2810c4fddf

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.4.1.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-1.4.1.ebuild
deleted file mode 100644
index 694b57d0eb85..
--- a/games-arcade/cdogs-sdl/cdogs-sdl-1.4.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic xdg
-
-DESCRIPTION="Classic overhead run-and-gun game"
-HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
-SRC_URI="https://github.com/cxong/cdogs-sdl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2+ BSD-2 CC-BY-3.0 CC-BY-4.0 CC-BY-SA-3.0 CC0-1.0 WTFPL-2 XMAME"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   media-libs/libsdl2[haptic,opengl]
-   media-libs/sdl2-image[png]
-   media-libs/sdl2-mixer[mp3,vorbis,wav]
-   net-libs/enet:1.3="
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.1.1-cmake.patch
-)
-
-src_configure() {
-   # LTO warnings, bug #858527
-   filter-lto
-
-   local mycmakeargs=(
-   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/
-   -DBUILD_EDITOR=OFF
-   -DUSE_SHARED_ENET=ON
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   dodoc doc/{AUTHORS,original_readme.txt}
-
-   # CREDITS is used at runtime, rest is licenses or duplicates
-   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2023-05-12 Thread Ionen Wolkens
commit: cfaf1b89e80f2667a8958860f3674e2aff9745ee
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Fri May 12 08:25:18 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri May 12 08:59:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfaf1b89

games-arcade/cdogs-sdl: add 1.4.2

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest   |  1 +
 games-arcade/cdogs-sdl/cdogs-sdl-1.4.2.ebuild | 46 +++
 2 files changed, 47 insertions(+)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index f2469138cc62..228e930e5362 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1 +1,2 @@
 DIST cdogs-sdl-1.4.1.tar.gz 35799934 BLAKE2B 
67fe75575c478a3e38a7ba70060dc329c98b1b96912216dbf4a7d71784222485efff645349c2d9db72184947f16dcbd73ba52e61a03ad9b4c341650ab9ce144c
 SHA512 
de8d181fed78d68ebeed44b408210252c616db7aaf80d472ea2ce3981fca8792c0226bb0006af014bc9151e2c1ba1b94708441e4c039ba2648cef3e41b31feda
+DIST cdogs-sdl-1.4.2.tar.gz 35799287 BLAKE2B 
76891785f44a6abbe309976b6e706d019cc4cc3a58cf83859ad7518a2931eb208b7305ea5d09b2692961d5fd39ff2a8aafce820a9920820646bb1ab81261
 SHA512 
36bea4eb1f11c4abc752695455f30b6f76b6c3aab02d57ece0f8a77d116c7810a5ebcc211de441a6487bc43d977dfab84ffa56b4aa5a8a45cdff5e2810c4fddf

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.4.2.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-1.4.2.ebuild
new file mode 100644
index ..55dd0eccdce1
--- /dev/null
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-1.4.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic xdg
+
+DESCRIPTION="Classic overhead run-and-gun game"
+HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
+SRC_URI="https://github.com/cxong/cdogs-sdl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+ BSD-2 CC-BY-3.0 CC-BY-4.0 CC-BY-SA-3.0 CC0-1.0 WTFPL-2 XMAME 
public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   media-libs/libsdl2[haptic,opengl]
+   media-libs/sdl2-image[png]
+   media-libs/sdl2-mixer[mp3,vorbis,wav]
+   net-libs/enet:1.3="
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1.1-cmake.patch
+)
+
+src_configure() {
+   filter-lto #858527
+
+   local mycmakeargs=(
+   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/ # trailing / is 
needed
+   -DBUILD_EDITOR=OFF
+   -DUSE_SHARED_ENET=ON
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   dodoc doc/{AUTHORS,original_readme.txt}
+
+   # CREDITS is used at runtime, rest is licenses or duplicates
+   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2023-02-12 Thread Ionen Wolkens
commit: 178ac9cf1bd0d178d65c3268f35c5b6a1e048f6d
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sun Feb 12 07:38:19 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sun Feb 12 08:03:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=178ac9cf

games-arcade/cdogs-sdl: add 1.4.1

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest   |  1 +
 games-arcade/cdogs-sdl/cdogs-sdl-1.4.1.ebuild | 47 +++
 2 files changed, 48 insertions(+)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index db1e78590cf0..b5293ba7fd2d 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1 +1,2 @@
 DIST cdogs-sdl-1.4.0.tar.gz 35203975 BLAKE2B 
4966b6beacd8b0b83f6a59865a6347bea2ecabbc508317dd41bab286a25d06fe26de0e9cee0591f31c259a56c666734609ea4ce7710d820fcf446b280d6db42f
 SHA512 
31a2802248cb4a16331181fa7c0cbc5b1cd5f85244554f5eccfeb1003a813452d08c6249521b7e9e800e48d636b0e7f8f8d592e54706bfcdf3dab88105ee0f28
+DIST cdogs-sdl-1.4.1.tar.gz 35799934 BLAKE2B 
67fe75575c478a3e38a7ba70060dc329c98b1b96912216dbf4a7d71784222485efff645349c2d9db72184947f16dcbd73ba52e61a03ad9b4c341650ab9ce144c
 SHA512 
de8d181fed78d68ebeed44b408210252c616db7aaf80d472ea2ce3981fca8792c0226bb0006af014bc9151e2c1ba1b94708441e4c039ba2648cef3e41b31feda

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.4.1.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-1.4.1.ebuild
new file mode 100644
index ..694b57d0eb85
--- /dev/null
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-1.4.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic xdg
+
+DESCRIPTION="Classic overhead run-and-gun game"
+HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
+SRC_URI="https://github.com/cxong/cdogs-sdl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+ BSD-2 CC-BY-3.0 CC-BY-4.0 CC-BY-SA-3.0 CC0-1.0 WTFPL-2 XMAME"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   media-libs/libsdl2[haptic,opengl]
+   media-libs/sdl2-image[png]
+   media-libs/sdl2-mixer[mp3,vorbis,wav]
+   net-libs/enet:1.3="
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1.1-cmake.patch
+)
+
+src_configure() {
+   # LTO warnings, bug #858527
+   filter-lto
+
+   local mycmakeargs=(
+   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/
+   -DBUILD_EDITOR=OFF
+   -DUSE_SHARED_ENET=ON
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   dodoc doc/{AUTHORS,original_readme.txt}
+
+   # CREDITS is used at runtime, rest is licenses or duplicates
+   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2022-11-16 Thread Ionen Wolkens
commit: 35e0736aa9d0ba1a8b3c4ce42f16aee2efa8f163
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Wed Nov 16 18:45:51 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Nov 16 18:56:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35e0736a

games-arcade/cdogs-sdl: add 1.4.0

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest   |  1 +
 games-arcade/cdogs-sdl/cdogs-sdl-1.4.0.ebuild | 47 +++
 2 files changed, 48 insertions(+)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index 3d6382988cad..42765e12d518 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1 +1,2 @@
 DIST cdogs-sdl-1.3.1.tar.gz 35202950 BLAKE2B 
0f1da8a8475fec784042dc31d329361cc11266816a03e64a156362064e19a057908abf6d97cc5c7903307dae039713eeab27b87bba0764cf770cf49eaae806a1
 SHA512 
504736eddb6aa314072059ca76b65dcbc56c622dc217f78ca12a55a0fdf5e05b5c4cf49408d6af52d00d9cf8b7d3c2e246d7f44c98486520f31e94879e855e3e
+DIST cdogs-sdl-1.4.0.tar.gz 35203975 BLAKE2B 
4966b6beacd8b0b83f6a59865a6347bea2ecabbc508317dd41bab286a25d06fe26de0e9cee0591f31c259a56c666734609ea4ce7710d820fcf446b280d6db42f
 SHA512 
31a2802248cb4a16331181fa7c0cbc5b1cd5f85244554f5eccfeb1003a813452d08c6249521b7e9e800e48d636b0e7f8f8d592e54706bfcdf3dab88105ee0f28

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.4.0.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-1.4.0.ebuild
new file mode 100644
index ..3abc29134e7f
--- /dev/null
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-1.4.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic xdg
+
+DESCRIPTION="Classic overhead run-and-gun game"
+HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
+SRC_URI="https://github.com/cxong/cdogs-sdl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+ BSD-2 CC-BY-3.0 CC-BY-4.0 CC-BY-SA-3.0 CC0-1.0 WTFPL-2 XMAME"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   media-libs/libsdl2[haptic,opengl]
+   media-libs/sdl2-image[png]
+   media-libs/sdl2-mixer[mp3,vorbis,wav]
+   net-libs/enet:1.3="
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1.1-cmake.patch
+)
+
+src_configure() {
+   # LTO warnings, bug #858527
+   filter-lto
+
+   local mycmakeargs=(
+   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/
+   -DBUILD_EDITOR=OFF
+   -DUSE_SHARED_ENET=ON
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   dodoc doc/{AUTHORS,original_readme.txt}
+
+   # CREDITS is used at runtime, rest is licenses or duplicates
+   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2022-07-17 Thread Sam James
commit: bbdbb368e5e05d1d2b4a2a734753e7b87edbcacd
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 17 15:29:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 17 15:29:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbdbb368

games-arcade/cdogs-sdl: filter LTO (type mismatch)

Signed-off-by: Sam James  gentoo.org>

 games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild
index 70ed391a2e22..3abc29134e7f 100644
--- a/games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake xdg
+inherit cmake flag-o-matic xdg
 
 DESCRIPTION="Classic overhead run-and-gun game"
 HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
@@ -25,6 +25,9 @@ PATCHES=(
 )
 
 src_configure() {
+   # LTO warnings, bug #858527
+   filter-lto
+
local mycmakeargs=(
-DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/
-DBUILD_EDITOR=OFF



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2022-06-16 Thread Ionen Wolkens
commit: d92657a6916d40daa68a385e95735c785701f3ce
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Jun 16 12:37:36 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Jun 16 13:14:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d92657a6

games-arcade/cdogs-sdl: drop 1.2.0, 1.3.0

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest   |  2 --
 games-arcade/cdogs-sdl/cdogs-sdl-1.2.0.ebuild | 46 ---
 games-arcade/cdogs-sdl/cdogs-sdl-1.3.0.ebuild | 44 -
 3 files changed, 92 deletions(-)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index d723f2bcb855..3d6382988cad 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1,3 +1 @@
-DIST cdogs-sdl-1.2.0.tar.gz 35018104 BLAKE2B 
1a87f0c6e4af0fda69c0dd98249b319b58411a5b0b7377c21ebef51939f2b6e76959a00bf7fd5602b07bebb9eaab22c840699ae1c54e5d4dcb1aa26852fb8ba0
 SHA512 
70a5a4bb8e48cf53a4497807b14d8a70e26ad6b74f0c4675b3d98667c867d499d372f323e7abb669ebef08b1d6b5ac9c840ab14eada38e7b868d3099ed6b3e35
-DIST cdogs-sdl-1.3.0.tar.gz 35201522 BLAKE2B 
bdfeab22edc0e5bfe46d23862bb0e8a829eb8c782519f473340a73d6823fcf6236d61892dff5f6be52e985a8560ce2175b5aab50fb899359d47d3acdf937fe5d
 SHA512 
913ee8a70ab2190259a88891e4f3e30034b7a88dac5fa1a79fcc9452a42fe9fa6679e24104848fab63c7aace8dac311d2166fa01c7175f14243d8658f25aee69
 DIST cdogs-sdl-1.3.1.tar.gz 35202950 BLAKE2B 
0f1da8a8475fec784042dc31d329361cc11266816a03e64a156362064e19a057908abf6d97cc5c7903307dae039713eeab27b87bba0764cf770cf49eaae806a1
 SHA512 
504736eddb6aa314072059ca76b65dcbc56c622dc217f78ca12a55a0fdf5e05b5c4cf49408d6af52d00d9cf8b7d3c2e246d7f44c98486520f31e94879e855e3e

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.2.0.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-1.2.0.ebuild
deleted file mode 100644
index 9f3981f80c07..
--- a/games-arcade/cdogs-sdl/cdogs-sdl-1.2.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake xdg
-
-DESCRIPTION="Classic overhead run-and-gun game"
-HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
-SRC_URI="https://github.com/cxong/cdogs-sdl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2+ BSD-2 CC0-1.0 CC-BY-3.0 CC-BY-SA-3.0 XMAME"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   media-libs/libsdl2[haptic,opengl]
-   media-libs/sdl2-image[png]
-   media-libs/sdl2-mixer[vorbis,wav]
-   net-libs/enet:1.3="
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.1.1-cmake.patch
-)
-
-CMAKE_IN_SOURCE_BUILD=1 # msg.pb.c not found
-
-src_configure() {
-   local mycmakeargs=(
-   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/
-   -DBUILD_EDITOR=OFF
-   -DUSE_SHARED_ENET=ON
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   dodoc doc/{AUTHORS,original_readme.txt}
-
-   # CREDITS is used at runtime, rest is licenses or duplicates
-   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
-}

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.3.0.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-1.3.0.ebuild
deleted file mode 100644
index 70ed391a2e22..
--- a/games-arcade/cdogs-sdl/cdogs-sdl-1.3.0.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake xdg
-
-DESCRIPTION="Classic overhead run-and-gun game"
-HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
-SRC_URI="https://github.com/cxong/cdogs-sdl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2+ BSD-2 CC-BY-3.0 CC-BY-4.0 CC-BY-SA-3.0 CC0-1.0 WTFPL-2 XMAME"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   media-libs/libsdl2[haptic,opengl]
-   media-libs/sdl2-image[png]
-   media-libs/sdl2-mixer[mp3,vorbis,wav]
-   net-libs/enet:1.3="
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.1.1-cmake.patch
-)
-
-src_configure() {
-   local mycmakeargs=(
-   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/
-   -DBUILD_EDITOR=OFF
-   -DUSE_SHARED_ENET=ON
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   dodoc doc/{AUTHORS,original_readme.txt}
-
-   # CREDITS is used at runtime, rest is licenses or duplicates
-   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2022-06-13 Thread Ionen Wolkens
commit: b9ac74600e14ed1d4eaa6688dcbc8591ad13d0d0
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Jun 14 00:16:56 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Jun 14 00:16:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9ac7460

games-arcade/cdogs-sdl: add 1.3.1

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest   |  1 +
 games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild | 44 +++
 2 files changed, 45 insertions(+)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index b951604ba215..d723f2bcb855 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1,2 +1,3 @@
 DIST cdogs-sdl-1.2.0.tar.gz 35018104 BLAKE2B 
1a87f0c6e4af0fda69c0dd98249b319b58411a5b0b7377c21ebef51939f2b6e76959a00bf7fd5602b07bebb9eaab22c840699ae1c54e5d4dcb1aa26852fb8ba0
 SHA512 
70a5a4bb8e48cf53a4497807b14d8a70e26ad6b74f0c4675b3d98667c867d499d372f323e7abb669ebef08b1d6b5ac9c840ab14eada38e7b868d3099ed6b3e35
 DIST cdogs-sdl-1.3.0.tar.gz 35201522 BLAKE2B 
bdfeab22edc0e5bfe46d23862bb0e8a829eb8c782519f473340a73d6823fcf6236d61892dff5f6be52e985a8560ce2175b5aab50fb899359d47d3acdf937fe5d
 SHA512 
913ee8a70ab2190259a88891e4f3e30034b7a88dac5fa1a79fcc9452a42fe9fa6679e24104848fab63c7aace8dac311d2166fa01c7175f14243d8658f25aee69
+DIST cdogs-sdl-1.3.1.tar.gz 35202950 BLAKE2B 
0f1da8a8475fec784042dc31d329361cc11266816a03e64a156362064e19a057908abf6d97cc5c7903307dae039713eeab27b87bba0764cf770cf49eaae806a1
 SHA512 
504736eddb6aa314072059ca76b65dcbc56c622dc217f78ca12a55a0fdf5e05b5c4cf49408d6af52d00d9cf8b7d3c2e246d7f44c98486520f31e94879e855e3e

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild
new file mode 100644
index ..70ed391a2e22
--- /dev/null
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+DESCRIPTION="Classic overhead run-and-gun game"
+HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
+SRC_URI="https://github.com/cxong/cdogs-sdl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+ BSD-2 CC-BY-3.0 CC-BY-4.0 CC-BY-SA-3.0 CC0-1.0 WTFPL-2 XMAME"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   media-libs/libsdl2[haptic,opengl]
+   media-libs/sdl2-image[png]
+   media-libs/sdl2-mixer[mp3,vorbis,wav]
+   net-libs/enet:1.3="
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1.1-cmake.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/
+   -DBUILD_EDITOR=OFF
+   -DUSE_SHARED_ENET=ON
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   dodoc doc/{AUTHORS,original_readme.txt}
+
+   # CREDITS is used at runtime, rest is licenses or duplicates
+   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2022-05-02 Thread Ionen Wolkens
commit: 5a2daa6ac21762b219d8b7fbd4a4fec3e7681403
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue May  3 05:13:30 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue May  3 05:56:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a2daa6a

games-arcade/cdogs-sdl: add 1.3.0

Also add CC-BY-4.0 (lmg.mp3) and WTFPL-2 (easing.c) to LICENSE, and
[mp3] to sdl2-mixer.

Remove CMAKE_IN_SOURCE_BUILD workaround, no longer necessary.

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest   |  1 +
 games-arcade/cdogs-sdl/cdogs-sdl-1.3.0.ebuild | 44 +++
 2 files changed, 45 insertions(+)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index b11570cc4d7e..b951604ba215 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1 +1,2 @@
 DIST cdogs-sdl-1.2.0.tar.gz 35018104 BLAKE2B 
1a87f0c6e4af0fda69c0dd98249b319b58411a5b0b7377c21ebef51939f2b6e76959a00bf7fd5602b07bebb9eaab22c840699ae1c54e5d4dcb1aa26852fb8ba0
 SHA512 
70a5a4bb8e48cf53a4497807b14d8a70e26ad6b74f0c4675b3d98667c867d499d372f323e7abb669ebef08b1d6b5ac9c840ab14eada38e7b868d3099ed6b3e35
+DIST cdogs-sdl-1.3.0.tar.gz 35201522 BLAKE2B 
bdfeab22edc0e5bfe46d23862bb0e8a829eb8c782519f473340a73d6823fcf6236d61892dff5f6be52e985a8560ce2175b5aab50fb899359d47d3acdf937fe5d
 SHA512 
913ee8a70ab2190259a88891e4f3e30034b7a88dac5fa1a79fcc9452a42fe9fa6679e24104848fab63c7aace8dac311d2166fa01c7175f14243d8658f25aee69

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.3.0.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-1.3.0.ebuild
new file mode 100644
index ..70ed391a2e22
--- /dev/null
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-1.3.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+DESCRIPTION="Classic overhead run-and-gun game"
+HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
+SRC_URI="https://github.com/cxong/cdogs-sdl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+ BSD-2 CC-BY-3.0 CC-BY-4.0 CC-BY-SA-3.0 CC0-1.0 WTFPL-2 XMAME"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   media-libs/libsdl2[haptic,opengl]
+   media-libs/sdl2-image[png]
+   media-libs/sdl2-mixer[mp3,vorbis,wav]
+   net-libs/enet:1.3="
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1.1-cmake.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/
+   -DBUILD_EDITOR=OFF
+   -DUSE_SHARED_ENET=ON
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   dodoc doc/{AUTHORS,original_readme.txt}
+
+   # CREDITS is used at runtime, rest is licenses or duplicates
+   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2021-12-16 Thread Ionen Wolkens
commit: d84bc0ed69a13e76761b275219ea45f41d6ead5e
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Dec 16 15:42:52 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Dec 16 19:08:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d84bc0ed

games-arcade/cdogs-sdl: drop 1.1.1

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest   |  1 -
 games-arcade/cdogs-sdl/cdogs-sdl-1.1.1.ebuild | 50 ---
 2 files changed, 51 deletions(-)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index 1264ad52350d..b11570cc4d7e 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1,2 +1 @@
-DIST cdogs-sdl-1.1.1.tar.gz 35073687 BLAKE2B 
e4bcdbcafd281cfe127fc8b90bda479055042bf541ea7be7eaf2d0959e6d596565c8fca16bc703ca8263281d18372d89fa8ffa787592f3c01c0b048504df10fa
 SHA512 
2d1357ba4a9892a7309d60b98aacf242b6d2b76f07f9f0a13fe0d97713b97507d1f163dfc63c1ac73c06b52590cda93bc212731bf201d5221ade8fa8b2e64598
 DIST cdogs-sdl-1.2.0.tar.gz 35018104 BLAKE2B 
1a87f0c6e4af0fda69c0dd98249b319b58411a5b0b7377c21ebef51939f2b6e76959a00bf7fd5602b07bebb9eaab22c840699ae1c54e5d4dcb1aa26852fb8ba0
 SHA512 
70a5a4bb8e48cf53a4497807b14d8a70e26ad6b74f0c4675b3d98667c867d499d372f323e7abb669ebef08b1d6b5ac9c840ab14eada38e7b868d3099ed6b3e35

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.1.1.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-1.1.1.ebuild
deleted file mode 100644
index 58afa1925c78..
--- a/games-arcade/cdogs-sdl/cdogs-sdl-1.1.1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit cmake python-any-r1 xdg
-
-DESCRIPTION="Classic overhead run-and-gun game"
-HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
-SRC_URI="https://github.com/cxong/cdogs-sdl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2+ BSD-2 CC0-1.0 CC-BY-3.0 CC-BY-SA-3.0 XMAME"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   media-libs/libsdl2[haptic,opengl]
-   media-libs/sdl2-image[png]
-   media-libs/sdl2-mixer[vorbis,wav]
-   net-libs/enet:1.3="
-DEPEND="${RDEPEND}"
-BDEPEND="$(python_gen_any_dep 'dev-python/protobuf-python[${PYTHON_USEDEP}]')"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-cmake.patch
-)
-
-python_check_deps() {
-   has_version -b "dev-python/protobuf-python[${PYTHON_USEDEP}]"
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/
-   -DBUILD_EDITOR=OFF
-   -DUSE_SHARED_ENET=ON
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   dodoc doc/{AUTHORS,original_readme.txt}
-
-   # CREDITS is used at runtime, rest is licenses or duplicates
-   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2021-12-02 Thread Ionen Wolkens
commit: 362339d7fde7ceda830af5344203c372a9fe0613
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Dec  2 12:59:36 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Dec  2 13:08:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=362339d7

games-arcade/cdogs-sdl: add 1.2.0

This version comes with pre-generated msg.pb.c removing
the need for protobuf-python.

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest   |  1 +
 games-arcade/cdogs-sdl/cdogs-sdl-1.2.0.ebuild | 46 +++
 2 files changed, 47 insertions(+)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index c5014f05c50d..1264ad52350d 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1 +1,2 @@
 DIST cdogs-sdl-1.1.1.tar.gz 35073687 BLAKE2B 
e4bcdbcafd281cfe127fc8b90bda479055042bf541ea7be7eaf2d0959e6d596565c8fca16bc703ca8263281d18372d89fa8ffa787592f3c01c0b048504df10fa
 SHA512 
2d1357ba4a9892a7309d60b98aacf242b6d2b76f07f9f0a13fe0d97713b97507d1f163dfc63c1ac73c06b52590cda93bc212731bf201d5221ade8fa8b2e64598
+DIST cdogs-sdl-1.2.0.tar.gz 35018104 BLAKE2B 
1a87f0c6e4af0fda69c0dd98249b319b58411a5b0b7377c21ebef51939f2b6e76959a00bf7fd5602b07bebb9eaab22c840699ae1c54e5d4dcb1aa26852fb8ba0
 SHA512 
70a5a4bb8e48cf53a4497807b14d8a70e26ad6b74f0c4675b3d98667c867d499d372f323e7abb669ebef08b1d6b5ac9c840ab14eada38e7b868d3099ed6b3e35

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.2.0.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-1.2.0.ebuild
new file mode 100644
index ..9f3981f80c07
--- /dev/null
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-1.2.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+DESCRIPTION="Classic overhead run-and-gun game"
+HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
+SRC_URI="https://github.com/cxong/cdogs-sdl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+ BSD-2 CC0-1.0 CC-BY-3.0 CC-BY-SA-3.0 XMAME"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   media-libs/libsdl2[haptic,opengl]
+   media-libs/sdl2-image[png]
+   media-libs/sdl2-mixer[vorbis,wav]
+   net-libs/enet:1.3="
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1.1-cmake.patch
+)
+
+CMAKE_IN_SOURCE_BUILD=1 # msg.pb.c not found
+
+src_configure() {
+   local mycmakeargs=(
+   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/
+   -DBUILD_EDITOR=OFF
+   -DUSE_SHARED_ENET=ON
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   dodoc doc/{AUTHORS,original_readme.txt}
+
+   # CREDITS is used at runtime, rest is licenses or duplicates
+   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/, games-arcade/cdogs-sdl/files/

2021-11-10 Thread Ionen Wolkens
commit: 3b60cbcf8d419798d351d4a78bc1efbe79b6f5ef
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Wed Nov 10 08:50:51 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Nov 10 10:52:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b60cbcf

games-arcade/cdogs-sdl: drop 0.10.1

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest|  1 -
 games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild | 42 --
 .../cdogs-sdl-0.10.1-Add-BUILD_EDITOR-option.patch | 89 --
 ...0.1-Remove-Winline-and-Werror-definitions.patch | 24 --
 4 files changed, 156 deletions(-)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index 0c719c385c5..c5014f05c50 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1,2 +1 @@
-DIST cdogs-sdl-0.10.1.tar.gz 25035447 BLAKE2B 
7f1ab1c210daaa44080cfca335cbcf0cd3ae069ef0638bd34c437e7b08833dfecfdf010ccdf9d5a4d3ede66cb75fd6258d3e8b7d907425fc0b73a792568ed205
 SHA512 
97bc23848536e98207afeaf74c172fe138dd0425dde6bb888b5c64f244b3c6ecea16245630628ab7aa4277da16c25c623574e8d123993bc9e840a3c26c1edce7
 DIST cdogs-sdl-1.1.1.tar.gz 35073687 BLAKE2B 
e4bcdbcafd281cfe127fc8b90bda479055042bf541ea7be7eaf2d0959e6d596565c8fca16bc703ca8263281d18372d89fa8ffa787592f3c01c0b048504df10fa
 SHA512 
2d1357ba4a9892a7309d60b98aacf242b6d2b76f07f9f0a13fe0d97713b97507d1f163dfc63c1ac73c06b52590cda93bc212731bf201d5221ade8fa8b2e64598

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild
deleted file mode 100644
index f5fb5dcdeb1..000
--- a/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake xdg
-
-DESCRIPTION="Classic overhead run-and-gun game"
-HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
-SRC_URI="https://github.com/cxong/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2+ BSD-2 CC0-1.0 CC-BY-3.0 CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="
-   dev-python/protobuf-python
-   media-libs/libsdl2[haptic,opengl]
-   media-libs/sdl2-image[png]
-   media-libs/sdl2-mixer[vorbis,wav]
-   net-libs/enet:1.3="
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-   "${FILESDIR}/${P}-Add-BUILD_EDITOR-option.patch"
-   "${FILESDIR}/${P}-Remove-Winline-and-Werror-definitions.patch"
-)
-
-src_prepare() {
-   rm -f doc/{COPYING.,LICENSE.,license.,README_DATA.md}* || die
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DCDOGS_DATA_DIR="${EPREFIX}/usr/share/${PN}/"
-   -DCDOGS_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}/"
-   -DBUILD_EDITOR=OFF
-   -DUSE_SHARED_ENET=ON
-   )
-   cmake_src_configure
-}

diff --git 
a/games-arcade/cdogs-sdl/files/cdogs-sdl-0.10.1-Add-BUILD_EDITOR-option.patch 
b/games-arcade/cdogs-sdl/files/cdogs-sdl-0.10.1-Add-BUILD_EDITOR-option.patch
deleted file mode 100644
index 5a5912e9b3a..000
--- 
a/games-arcade/cdogs-sdl/files/cdogs-sdl-0.10.1-Add-BUILD_EDITOR-option.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-From f8adfb66ea686366edddc89e92c9a5537b8dfbef Mon Sep 17 00:00:00 2001
-From: William Breathitt Gray 
-Date: Wed, 9 Dec 2020 07:45:54 -0500
-Subject: [PATCH] Add BUILD_EDITOR option to control cdogs-sdl-editor build
-

- CMakeLists.txt | 10 +++---
- src/CMakeLists.txt |  6 +++---
- 2 files changed, 10 insertions(+), 6 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 169a17ca..510e4802 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -29,12 +29,14 @@ SET(WEBSITE "http://cxong.github.io/cdogs-sdl/;)
- option(DEBUG "Enable debug build" OFF)
- option(DEBUG_PROFILE "Enable debug profile build" OFF)
- option(USE_SHARED_ENET "Use system installed copy of enet" OFF)
-+option(BUILD_EDITOR "Build cdogs-sdl-editor" ON)
- 
- # check for crosscompiling (defined when using a toolchain file)
- if(CMAKE_CROSSCOMPILING)
-   # check for gcw0
-   if(CMAKE_C_COMPILER MATCHES ".*gcw0-linux.*")
-   set(GCW0 1)
-+  set(BUILD_EDITOR OFF)
-   endif()
- endif()
- 
-@@ -65,7 +67,9 @@ find_package(Nanopb REQUIRED)
- find_package(SDL2 REQUIRED)
- find_package(SDL2_image REQUIRED)
- find_package(SDL2_mixer REQUIRED)
--find_package(OpenGL REQUIRED)
-+if(BUILD_EDITOR)
-+  find_package(OpenGL REQUIRED)
-+endif()
- find_package(CCache)
- link_directories(${SDL2_LIBRARY_DIRS} ${SDL2_IMAGE_LIBRARY_DIRS} 
${SDL2_MIXER_LIBRARY_DIRS})
- 
-@@ -165,7 +169,7 @@ set_target_properties(cdogs-sdl PROPERTIES
-   RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_CURRENT_BINARY_DIR}/src
-   RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_CURRENT_BINARY_DIR}/src
- )
--if(NOT "${GCW0}")
-+if(BUILD_EDITOR)
-   set_target_properties(cdogs-sdl-editor PROPERTIES
-  

[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/files/, games-arcade/cdogs-sdl/

2021-10-18 Thread Ionen Wolkens
commit: 1b0f8168efc7052faef7bf9a78fbf08ca3257e00
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Oct 19 01:16:45 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Oct 19 02:26:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b0f8168

games-arcade/cdogs-sdl: add 1.1.1

* moved protobuf-python to BDEPEND with python-any-r1 (bug #768321)
* removed BUILD_EDITOR patch (upstreamed)
* EAPI-8 and small cleanups

Closes: https://bugs.gentoo.org/768321
Closes: https://bugs.gentoo.org/818862
Signed-off-by: Ionen Wolkens  gentoo.org>

 games-arcade/cdogs-sdl/Manifest|  1 +
 games-arcade/cdogs-sdl/cdogs-sdl-1.1.1.ebuild  | 50 ++
 .../cdogs-sdl/files/cdogs-sdl-1.1.1-cmake.patch| 14 ++
 3 files changed, 65 insertions(+)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index cc2ba05abf1..0c719c385c5 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1 +1,2 @@
 DIST cdogs-sdl-0.10.1.tar.gz 25035447 BLAKE2B 
7f1ab1c210daaa44080cfca335cbcf0cd3ae069ef0638bd34c437e7b08833dfecfdf010ccdf9d5a4d3ede66cb75fd6258d3e8b7d907425fc0b73a792568ed205
 SHA512 
97bc23848536e98207afeaf74c172fe138dd0425dde6bb888b5c64f244b3c6ecea16245630628ab7aa4277da16c25c623574e8d123993bc9e840a3c26c1edce7
+DIST cdogs-sdl-1.1.1.tar.gz 35073687 BLAKE2B 
e4bcdbcafd281cfe127fc8b90bda479055042bf541ea7be7eaf2d0959e6d596565c8fca16bc703ca8263281d18372d89fa8ffa787592f3c01c0b048504df10fa
 SHA512 
2d1357ba4a9892a7309d60b98aacf242b6d2b76f07f9f0a13fe0d97713b97507d1f163dfc63c1ac73c06b52590cda93bc212731bf201d5221ade8fa8b2e64598

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.1.1.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-1.1.1.ebuild
new file mode 100644
index 000..58afa1925c7
--- /dev/null
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-1.1.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit cmake python-any-r1 xdg
+
+DESCRIPTION="Classic overhead run-and-gun game"
+HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
+SRC_URI="https://github.com/cxong/cdogs-sdl/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+ BSD-2 CC0-1.0 CC-BY-3.0 CC-BY-SA-3.0 XMAME"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   media-libs/libsdl2[haptic,opengl]
+   media-libs/sdl2-image[png]
+   media-libs/sdl2-mixer[vorbis,wav]
+   net-libs/enet:1.3="
+DEPEND="${RDEPEND}"
+BDEPEND="$(python_gen_any_dep 'dev-python/protobuf-python[${PYTHON_USEDEP}]')"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-cmake.patch
+)
+
+python_check_deps() {
+   has_version -b "dev-python/protobuf-python[${PYTHON_USEDEP}]"
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/
+   -DBUILD_EDITOR=OFF
+   -DUSE_SHARED_ENET=ON
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   dodoc doc/{AUTHORS,original_readme.txt}
+
+   # CREDITS is used at runtime, rest is licenses or duplicates
+   find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
+}

diff --git a/games-arcade/cdogs-sdl/files/cdogs-sdl-1.1.1-cmake.patch 
b/games-arcade/cdogs-sdl/files/cdogs-sdl-1.1.1-cmake.patch
new file mode 100644
index 000..92ce17bcbc3
--- /dev/null
+++ b/games-arcade/cdogs-sdl/files/cdogs-sdl-1.1.1-cmake.patch
@@ -0,0 +1,14 @@
+Remove -Werror and install data to CDOGS_DATA_DIR rather
+than directly under CMAKE_INSTALL_PREFIX.
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -128,3 +128,3 @@
+   if(NOT BEOS AND NOT HAIKU)
+-  add_definitions(-Winline -Werror)
++  add_definitions(-Winline)
+   set(EXTRA_LIBRARIES "m")
+@@ -195,3 +195,3 @@
+   set(LIB_EXTENSION ".so")
+-  set(DATA_INSTALL_DIR ".")
++  set(DATA_INSTALL_DIR ${CDOGS_DATA_DIR})
+ endif()



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/files/, games-arcade/cdogs-sdl/

2020-12-10 Thread James Le Cuirot
commit: 41863e453687ebc1a83991166d16461f0d191936
Author: William Breathitt Gray  gmail  com>
AuthorDate: Thu Dec 10 12:11:17 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Thu Dec 10 21:16:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41863e45

games-arcade/cdogs-sdl: Remove -Werror for build

Closes: https://bugs.gentoo.org/759289
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18594
Signed-off-by: James Le Cuirot  gentoo.org>

 games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild |  1 +
 ...0.1-Remove-Winline-and-Werror-definitions.patch | 24 ++
 2 files changed, 25 insertions(+)

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild
index 63957cdb3af..f5fb5dcdeb1 100644
--- a/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild
@@ -23,6 +23,7 @@ RDEPEND="${DEPEND}"
 
 PATCHES=(
"${FILESDIR}/${P}-Add-BUILD_EDITOR-option.patch"
+   "${FILESDIR}/${P}-Remove-Winline-and-Werror-definitions.patch"
 )
 
 src_prepare() {

diff --git 
a/games-arcade/cdogs-sdl/files/cdogs-sdl-0.10.1-Remove-Winline-and-Werror-definitions.patch
 
b/games-arcade/cdogs-sdl/files/cdogs-sdl-0.10.1-Remove-Winline-and-Werror-definitions.patch
new file mode 100644
index 000..acd9a4e8576
--- /dev/null
+++ 
b/games-arcade/cdogs-sdl/files/cdogs-sdl-0.10.1-Remove-Winline-and-Werror-definitions.patch
@@ -0,0 +1,24 @@
+From 2b55a76518e0492d7003af9af798bd9769f0b586 Mon Sep 17 00:00:00 2001
+From: William Breathitt Gray 
+Date: Thu, 10 Dec 2020 07:07:33 -0500
+Subject: [PATCH] Remove -Winline and -Werror definitions
+
+---
+ CMakeLists.txt | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 510e4802..ed2872b5 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -123,7 +123,6 @@ else()
+   endif()
+   endif()
+   if(NOT BEOS AND NOT HAIKU)
+-  add_definitions(-Winline -Werror)
+   set(EXTRA_LIBRARIES "m")
+   endif()
+ endif()
+-- 
+2.29.2
+



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/, games-arcade/cdogs-sdl/files/

2020-12-09 Thread James Le Cuirot
commit: 757d074721f7f503d239f348638102dcaeff3a21
Author: William Breathitt Gray  gmail  com>
AuthorDate: Wed Jul  1 18:29:22 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Wed Dec  9 22:49:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=757d0747

games-arcade/cdogs-sdl: Version bump to 0.9.1

Closes: https://bugs.gentoo.org/730402
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16539
Signed-off-by: James Le Cuirot  gentoo.org>

 games-arcade/cdogs-sdl/Manifest|  3 +-
 games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild | 41 ++
 games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild | 55 -
 .../cdogs-sdl-0.10.1-Add-BUILD_EDITOR-option.patch | 89 ++
 .../cdogs-sdl/files/cdogs-sdl-0.4-64bit.patch  | 48 
 games-arcade/cdogs-sdl/metadata.xml| 13 +++-
 6 files changed, 140 insertions(+), 109 deletions(-)

diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index 42dd2833ce2..cc2ba05abf1 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1,2 +1 @@
-DIST cdogs-data-2007-07-06.tar.bz2 218810 BLAKE2B 
fb788ed11ef220b4f244a74be838536281a87a5c8055cb9674b4269f0a63cb07120b31af113fab63f820c1b293c97b310e91d3638bc41d5d3ef4a12472481aaa
 SHA512 
9e645d64bcc0b99df9fb113f7103590eb8045ca9439700279c8ea55a6277d10fc38aff38bb1137887bc5697c505fe18e15d6c62eaf2790c065b1261fa7418a84
-DIST cdogs-sdl-0.4.tar.bz2 164804 BLAKE2B 
91498d981b2318d4f1d68112fe8d574b447290f9cad7b232a56cd6d516ca2fd3983b01789c87914f81eaa6d1c593dac95fe88ec1cd2823e6769d9f5980c6c2d5
 SHA512 
69fbac533207e38c85cf0f71db47df50405a5ff220a6662f7e186d1f54c4181ee56e1ff8049a427acec7fcf0529b8df66db36a693978bb0aa04eb0594a8b5adc
+DIST cdogs-sdl-0.10.1.tar.gz 25035447 BLAKE2B 
7f1ab1c210daaa44080cfca335cbcf0cd3ae069ef0638bd34c437e7b08833dfecfdf010ccdf9d5a4d3ede66cb75fd6258d3e8b7d907425fc0b73a792568ed205
 SHA512 
97bc23848536e98207afeaf74c172fe138dd0425dde6bb888b5c64f244b3c6ecea16245630628ab7aa4277da16c25c623574e8d123993bc9e840a3c26c1edce7

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild
new file mode 100644
index 000..63957cdb3af
--- /dev/null
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake xdg
+
+DESCRIPTION="Classic overhead run-and-gun game"
+HOMEPAGE="https://cxong.github.io/cdogs-sdl/;
+SRC_URI="https://github.com/cxong/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+ BSD-2 CC0-1.0 CC-BY-3.0 CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+   dev-python/protobuf-python
+   media-libs/libsdl2[haptic,opengl]
+   media-libs/sdl2-image[png]
+   media-libs/sdl2-mixer[vorbis,wav]
+   net-libs/enet:1.3="
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/${P}-Add-BUILD_EDITOR-option.patch"
+)
+
+src_prepare() {
+   rm -f doc/{COPYING.,LICENSE.,license.,README_DATA.md}* || die
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCDOGS_DATA_DIR="${EPREFIX}/usr/share/${PN}/"
+   -DCDOGS_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}/"
+   -DBUILD_EDITOR=OFF
+   -DUSE_SHARED_ENET=ON
+   )
+   cmake_src_configure
+}

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
deleted file mode 100644
index 04c64376691..000
--- a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils flag-o-matic games
-
-CDOGS_DATA="cdogs-data-2007-07-06"
-DESCRIPTION="A port of the old DOS arcade game C-Dogs"
-HOMEPAGE="http://lumaki.com/code/cdogs;
-SRC_URI="http://icculus.org/cdogs-sdl/files/src/${P}.tar.bz2
-   http://icculus.org/cdogs-sdl/files/data/${CDOGS_DATA}.tar.bz2;
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="media-libs/libsdl[video]
-   media-libs/sdl-mixer"
-RDEPEND=${DEPEND}
-
-S=${WORKDIR}/${P}/src
-
-src_unpack() {
-   unpack ${A}
-   mv ${CDOGS_DATA} ${P}/data || die
-}
-
-src_prepare() {
-   sed -i \
-   -e "/^CF_OPT/d" \
-   -e "/^CC/d" \
-   Makefile || die
-   sed -i -e "/\bopen(/s/)/, 0666)/" files.c || die
-   epatch "${FILESDIR}"/${P}-64bit.patch
-   append-cflags -std=gnu89 # build with gcc5 (bug #571112)
-}
-
-src_compile() {
-   emake I_AM_CONFIGURED=yes \
-   SYSTEM="\"linux\"" \
-   STRIP=true \
-   DATADIR="${GAMES_DATADIR}/${PN}" \
-   cdogs
-}
-
-src_install() {
-   dogamesbin cdogs
-   insinto 

[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2016-05-05 Thread Michael Sterrett
commit: 31ab24bf08dcf3a0f47f148fe39fa0998550efc9
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri May  6 01:25:15 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri May  6 02:49:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31ab24bf

games-arcade/cdogs-sdl: set RDEPEND

Package-Manager: portage-2.2.26

 games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
index 1ff6623..b53628c 100644
--- a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
@@ -18,7 +18,7 @@ IUSE=""
 
 DEPEND="media-libs/libsdl[video]
media-libs/sdl-mixer"
-RDPEND=${DEPEND}
+RDEPEND=${DEPEND}
 
 S=${WORKDIR}/${P}/src
 



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2016-03-31 Thread Michael Sterrett
commit: 752e8f080e3629f57a09a04da2f5a9a6da00bcbe
Author: Michael Sterrett  gentoo  org>
AuthorDate: Thu Mar 31 17:31:24 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Thu Mar 31 17:31:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=752e8f08

games-arcade/cdogs-sdl: build with gcc5 (bug #571112)

Package-Manager: portage-2.2.26

 games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
index f053438..1ff6623 100644
--- a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-inherit eutils games
+inherit eutils flag-o-matic games
 
 CDOGS_DATA="cdogs-data-2007-07-06"
 DESCRIPTION="A port of the old DOS arcade game C-Dogs"
@@ -32,10 +32,9 @@ src_prepare() {
-e "/^CF_OPT/d" \
-e "/^CC/d" \
Makefile || die
-   sed -i \
-   -e "/\bopen(/s/)/, 0666)/" \
-   files.c || die
+   sed -i -e "/\bopen(/s/)/, 0666)/" files.c || die
epatch "${FILESDIR}"/${P}-64bit.patch
+   append-cflags -std=gnu89 # build with gcc5 (bug #571112)
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/

2015-12-18 Thread Michael Sterrett
commit: 517228da801915dd7e004d66fceeb010ba524599
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Dec 18 09:36:01 2015 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Dec 18 09:36:01 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=517228da

EAPI=5; minor tidying

Package-Manager: portage-2.2.24

 games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild | 15 +++
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild 
b/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
index ec3c789..f053438 100644
--- a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit eutils games
 
 CDOGS_DATA="cdogs-data-2007-07-06"
@@ -11,31 +11,30 @@ HOMEPAGE="http://lumaki.com/code/cdogs;
 SRC_URI="http://icculus.org/cdogs-sdl/files/src/${P}.tar.bz2
http://icculus.org/cdogs-sdl/files/data/${CDOGS_DATA}.tar.bz2;
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
 
-DEPEND="media-libs/libsdl
+DEPEND="media-libs/libsdl[video]
media-libs/sdl-mixer"
+RDPEND=${DEPEND}
 
 S=${WORKDIR}/${P}/src
 
 src_unpack() {
unpack ${A}
-   mv ${CDOGS_DATA} ${P}/data || die "Failed moving data around"
+   mv ${CDOGS_DATA} ${P}/data || die
 }
 
 src_prepare() {
sed -i \
-e "/^CF_OPT/d" \
-e "/^CC/d" \
-   Makefile \
-   || die "sed failed"
+   Makefile || die
sed -i \
-e "/\bopen(/s/)/, 0666)/" \
-   files.c \
-   || die "sed failed"
+   files.c || die
epatch "${FILESDIR}"/${P}-64bit.patch
 }