summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaarp <main.haarp@gmail.com>2017-06-08 21:37:10 +0200
committerhaarp <main.haarp@gmail.com>2017-06-08 21:37:10 +0200
commit763e3ec17d6ba33439bc8866b2124af1ae1ec7d8 (patch)
treedc4983524775331818ad525ea5bde6c5b0c0bf8f /games-util
parentRemove outdated ebuild that's in main portage tree now (diff)
downloadhaarp-763e3ec17d6ba33439bc8866b2124af1ae1ec7d8.tar.gz
haarp-763e3ec17d6ba33439bc8866b2124af1ae1ec7d8.tar.bz2
haarp-763e3ec17d6ba33439bc8866b2124af1ae1ec7d8.zip
Update Doomseeker to EAPI6 and also handle build flags correctly (supersedes r1)
Diffstat (limited to 'games-util')
-rw-r--r--games-util/doomseeker/Manifest2
-rw-r--r--games-util/doomseeker/doomseeker-1.0-r2.ebuild (renamed from games-util/doomseeker/doomseeker-1.0.ebuild)14
2 files changed, 9 insertions, 7 deletions
diff --git a/games-util/doomseeker/Manifest b/games-util/doomseeker/Manifest
index 5eb4dcc..93ec344 100644
--- a/games-util/doomseeker/Manifest
+++ b/games-util/doomseeker/Manifest
@@ -1,3 +1,3 @@
DIST doomseeker-1.0_src.tar.bz2 8415394 SHA256 7c352f8180e0aaf22ce87c9e8d1c0b1bd3d93786002a652e242603715e5f5e9c SHA512 638e1226b181a6d96cc576f834316f420788a22d0a9a116fca8c34f42b9be9ea0f50550ea7464b195a7a605498413287b50a4c1877d09406a1e958300360f614 WHIRLPOOL dc2138cd9f6de6379d6f4b152f6bf5424d1283307160079d0b367f662ceb31b61446495e835458a97bfe47680298928e20be8fa0c2d2bbad6405f0c0a09627ff
-EBUILD doomseeker-1.0.ebuild 1066 SHA256 c605dfc288861c65db64056cbe2e8ad49da09be0545193c2f479ce0ac239f4db SHA512 c3db17e65f6f33ebb8916c8b85b5f0c30eaad6a88b888d5c017d626e1ec88f94457408ac714b528ae35888b676de2ea9850afa4886d42623fd96a246de302ad1 WHIRLPOOL fc9833001216ef7567c04446684fc8b36748757c17f4ceca3dbfb333a85ae0000db14377020bb89b2d2b1cc7d32954be119469b0f8f75f05c611b9a4a61fac99
+EBUILD doomseeker-1.0-r2.ebuild 1078 SHA256 712925709fd4d8f87464d8c978ef54e2052de64de0a7aca4ca3c04cdfbbdabc3 SHA512 b9a82e095679c6f3cdfa643a17d9e4ad7db20f09f604c594aa7333c6deee841b9d28b24d3eabaff85cc658266320791cbef2cfffb5b3a5138ec7092f469e12a4 WHIRLPOOL 3d6f440d092832ceb48b056ea78afd711b05c491be63232d923b5fca6b7bebae68ef812c94bf5bca19fbca85ae2cefcbf84c717b6017b5ca3281dcacb3da5518
MISC metadata.xml 328 SHA256 50ba527532ebdbdf36d595f7535be7b3a5fc3014d53a3ffa0808112194e76888 SHA512 9e5e4896feda252dfa228974d8adb7529bdba0ded46632b8cfe91448c289660839a4f52deb0d111e31ef47e21813c98c0721d3356a74cdcfa86ff7ce6e403ab9 WHIRLPOOL 04fc88e6a5abe9ba663e97db2be23143e7aeee82a41a90e3d941588bd10cd20fd0751d134596e44f81a6c5d3f0b3bb1b3494f66e0967171bec53137dcc67df2c
diff --git a/games-util/doomseeker/doomseeker-1.0.ebuild b/games-util/doomseeker/doomseeker-1.0-r2.ebuild
index 1c4789f..a555a8d 100644
--- a/games-util/doomseeker/doomseeker-1.0.ebuild
+++ b/games-util/doomseeker/doomseeker-1.0-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
inherit cmake-utils
@@ -23,19 +23,21 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${P}_src"
src_prepare() {
- #libs go into libdir, not share
+ # libs go into libdir, not share
sed -i -e 's:DESTINATION share/:DESTINATION lib/:' src/plugins/PluginFooter.txt
sed -i -e 's:INSTALL_PREFIX "/share/doomseeker/":INSTALL_PREFIX "/lib/doomseeker/":' src/core/main.cpp
- #fix desktop file
+ # fix desktop file
sed -i -e 's:Icon=/usr/local:Icon=/usr:' -e 's:Categories=Game:Categories=Game;:' media/Doomseeker.desktop
+
+ eapply_user
}
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_PREFIX="/usr"
- $(cmake-utils_use_build fake-plugins FAKE_PLUGINS)
- $(cmake-utils_use_build legacy-plugins LEGACY_PLUGINS)
+ -DBUILD_FAKE_PLUGINS=$(usex fake-plugins ON OFF)
+ -DBUILD_LEGACY_PLUGINS=$(usex legacy-plugins ON OFF)
)
cmake-utils_src_configure
}