From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/
Date: Sun, 25 Apr 2021 19:13:47 +0000 (UTC) [thread overview]
Message-ID: <1619378011.e97bb8a8a1c7d14bf1f42cd397b8065c8a9c9849.sam@gentoo> (raw)
commit: e97bb8a8a1c7d14bf1f42cd397b8065c8a9c9849
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 25 19:04:12 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 25 19:13:31 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e97bb8a8
games-fps/darkplaces: fix pre-stripped files, respecting CC
Can't reproduce CFLAGS issue right now.
Closes: https://bugs.gentoo.org/739194
Closes: https://bugs.gentoo.org/739200
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-fps/darkplaces/darkplaces-20140513-r1.ebuild | 23 +++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
diff --git a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild
index c0fafee1498..171eaa03f68 100644
--- a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild
+++ b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils flag-o-matic unpacker
+EAPI=7
+
+inherit desktop flag-o-matic wrapper unpacker
# Latest versions are in http://icculus.org/twilight/darkplaces/files/
MY_PV="${PV/_beta/beta}"
@@ -18,6 +19,7 @@ SRC_URI="http://icculus.org/twilight/${PN}/files/${MY_ENGINE}
lights? (
http://www.fuhquake.net/files/extras/${MY_LIGHTS}
http://www.kgbsyndicate.com/romi/id1.pk3 )"
+S="${WORKDIR}/${PN}"
LICENSE="GPL-2"
SLOT="0"
@@ -60,14 +62,17 @@ DEPEND="lights? ( || (
!opengl? ( !sdl? ( !dedicated? (
${UIRDEPEND}
${UIDEPEND} ) ) )
- virtual/pkgconfig
+"
+BDEPEND="
app-arch/unzip
+ virtual/pkgconfig
"
-S="${WORKDIR}/${PN}"
dir="/usr/share/quake1"
-opengl_client() { use opengl || ( ! use dedicated && ! use sdl ) }
+opengl_client() {
+ use opengl || ( ! use dedicated && ! use sdl )
+}
src_unpack() {
if use lights ; then
@@ -76,6 +81,7 @@ src_unpack() {
mv *.lit maps/ || die
mv ReadMe.txt rtlights.txt
fi
+
unpack "${MY_ENGINE}"
unpack ./${PN}*.zip
}
@@ -115,6 +121,12 @@ src_prepare() {
src_compile() {
local opts="DP_FS_BASEDIR=\"${dir}\" DP_LINK_TO_LIBJPEG=1"
+ # Protect against people choosing a strip implementation
+ # bug #739194
+ opts+="STRIP=true"
+
+ tc-export CC
+
# Preferred sound is alsa
local sound_api="NULL"
use oss && sound_api="OSS"
@@ -168,6 +180,7 @@ src_install() {
if use lights ; then
insinto "${dir}"/id1
doins -r "${WORKDIR}"/{cubemaps,maps}
+
if use demo ; then
# Set up symlinks, for the demo levels to include the lights
local d
next reply other threads:[~2021-04-25 19:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-25 19:13 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-06 6:19 [gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/ Sam James
2024-03-06 6:19 Sam James
2021-09-12 20:20 Ionen Wolkens
2021-08-19 0:39 Sam James
2021-04-25 21:01 Sam James
2021-04-13 0:26 Sam James
2018-04-30 18:01 Pacho Ramos
2018-04-29 17:13 Pacho Ramos
2018-04-29 17:13 Pacho Ramos
2016-02-16 1:38 Michael Sterrett
2016-01-15 9:03 Agostino Sarubbo
2015-12-29 7:41 Michael Sterrett
2015-12-18 0:47 Michael Sterrett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1619378011.e97bb8a8a1c7d14bf1f42cd397b8065c8a9c9849.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox