diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:20:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:20:16 +0100 |
commit | 1726f32a4bf939c045d35db6e95ab327213ecf8a (patch) | |
tree | a23a87e7968403fa317c9b9e39e5f355509407e9 /games-engines/gargoyle | |
parent | 06e58a0fcb900034d35485fe961fee1875f3a6b0 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-engines/gargoyle')
-rw-r--r-- | games-engines/gargoyle/Manifest | 2 | ||||
-rw-r--r-- | games-engines/gargoyle/gargoyle-2011.1-r1.ebuild (renamed from games-engines/gargoyle/gargoyle-2011.1.ebuild) | 35 |
2 files changed, 16 insertions, 21 deletions
diff --git a/games-engines/gargoyle/Manifest b/games-engines/gargoyle/Manifest index 5d8521d34e2c..44fcb1627a6a 100644 --- a/games-engines/gargoyle/Manifest +++ b/games-engines/gargoyle/Manifest @@ -1,4 +1,4 @@ AUX gargoyle-2011.1-desktopfile.patch 1265 BLAKE2B 1fcbc1eded032ef11ef357e03c614067b18c21a268b4a3bebe4516a0ed196660292b311c9769d66853ffbbf2535808d014991bd42155919b913965223a4523dc SHA512 ed31bc711b52b5d231f130956d7d07cb9080747e6d53c85b379aa413582f8e4ffe825298bc86180ec7d1eadff5e6bffc6e49b3ff7a2607f612dcf81a6c1af22e DIST gargoyle-2011.1-sources.zip 11291660 BLAKE2B aac47c41bd02e772c4717dfdeae8678105f72704641ea3df39105d412afe61734cc43f863b9556e38ea34287259df9f4d72ae93b3092d0372434b9f59f99483d SHA512 65159580cf3494944f841c44320135580557258e37ad5523ae3ea30555c19834a2793231a8e42c217e5c1d055d50ed6a20d372d6302e880a2818bc4ea59b226f -EBUILD gargoyle-2011.1.ebuild 3217 BLAKE2B f2d74fefa87a5e0aeb6fdea0816e591a3b23e75b455051d161a600cdfe198a502c2e0c2c95537c403e531b38848b2999479414062557ea4e7d84326d18ebab6a SHA512 62a23b3df92c9db95824d1344796a5cac16fc3d1ebd7358066b38a7c02487fdfdb7589cf17331ffc38e73d7732233e7d9ece0224138087dffc1481fca9cbbf0d +EBUILD gargoyle-2011.1-r1.ebuild 3017 BLAKE2B 12371e41ca78403ba1452da2a2c5dbac287912b8dbcd7afe524984b8442bb4cf5701f3073f27a64c5adadccfebfaaef9e543b883026b4eae4b185cc151eac6b7 SHA512 0daa2b0ef761c935d0e7d47fd42060ebf5db4331634bba8e1812a619d8fb31cdb0f2aec197cf7d30e1bff357ccd60888ac5107c7e9644f8ddeed9520a9b1ac9e MISC metadata.xml 329 BLAKE2B cc77f8750b5385687d311159b8edbf296284013812d4be5fe0076468c02758dcac19c77b5e6f38c4fbdac51f1c69b34cfd39d5d19235d18ec80076ceba98e2b3 SHA512 f6b913db889e2434a76d61526ff2cf3f719322991bb26891ac0383fcb8f11cf69cfc895a7cddd35074c2dee9a5ceac0fd8c0172542401d302ec39e9cac180b2c diff --git a/games-engines/gargoyle/gargoyle-2011.1.ebuild b/games-engines/gargoyle/gargoyle-2011.1-r1.ebuild index 640adac5fa7e..82e11b237828 100644 --- a/games-engines/gargoyle/gargoyle-2011.1.ebuild +++ b/games-engines/gargoyle/gargoyle-2011.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # Regarding licenses: libgarglk is licensed under the GPLv2. Bundled @@ -8,8 +8,8 @@ # Since we don't compile or install any of the bundled fonts, their licenses # don't apply. (Fonts are installed through dependencies instead.) -EAPI=5 -inherit eutils flag-o-matic multiprocessing toolchain-funcs gnome2-utils games +EAPI=6 +inherit eutils flag-o-matic gnome2-utils multilib multiprocessing toolchain-funcs DESCRIPTION="An Interactive Fiction (IF) player supporting all major formats" HOMEPAGE="http://ccxvii.net/gargoyle/" @@ -21,7 +21,7 @@ KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND=" - >=media-fonts/libertine-5 + media-fonts/libertine media-fonts/liberation-fonts media-libs/freetype:2 media-libs/libpng:0 @@ -52,11 +52,10 @@ src_prepare() { # Convert garglk.ini to UNIX format. edos2unix garglk/garglk.ini - # The font name of Linux Libertine changed in version 5. - sed -i -e 's/Linux Libertine O/Linux Libertine/g' garglk/garglk.ini || die - epatch "${FILESDIR}"/${P}-desktopfile.patch append-cflags -std=gnu89 # build with gcc5 (bug #573378) + append-cxxflags -std=gnu++11 # code assumes C++11 semantics (bug #642996) + default } src_compile() { @@ -69,7 +68,7 @@ src_compile() { -sC++="$(tc-getCXX) ${CXXFLAGS}" \ -sCXX="$(tc-getCXX) ${CXXFLAGS}" \ -sC++FLAGS="" \ - -sGARGLKINI="${GAMES_SYSCONFDIR}/garglk.ini" \ + -sGARGLKINI="/etc/garglk.ini" \ -sUSESDL=yes \ -sBUNDLEFONTS=no \ -dx \ @@ -78,15 +77,15 @@ src_compile() { src_install() { DESTDIR="${D}" \ - _BINDIR="${GAMES_PREFIX}/libexec/${PN}" \ - _APPDIR="${GAMES_PREFIX}/libexec/${PN}" \ - _LIBDIR="$(games_get_libdir)" \ + _BINDIR="/usr/libexec/${PN}" \ + _APPDIR="/usr/libexec/${PN}" \ + _LIBDIR="/usr/$(get_libdir)" \ EXEMODE=755 \ FILEMODE=755 \ jam install || die # Install config file. - insinto "${GAMES_SYSCONFDIR}" + insinto "/etc" newins garglk/garglk.ini garglk.ini # Install application entry and icon. @@ -97,24 +96,20 @@ src_install() { for terp in advsys agility alan2 alan3 frotz geas git glulxe hugo jacl \ level9 magnetic nitfol scare tadsr do - dosym "${GAMES_PREFIX}/libexec/${PN}/${terp}" \ - "${GAMES_BINDIR}/${PN}-${terp}" + dosym "../libexec/${PN}/${terp}" \ + "/usr/bin/${PN}-${terp}" done # Also symlink the main binary since it resides in libexec. - dosym "${GAMES_PREFIX}/libexec/${PN}/${PN}" \ - "${GAMES_BINDIR}/${PN}" - - prepgamesdirs + dosym "../libexec/${PN}/${PN}" \ + "/usr/bin/${PN}" } pkg_preinst() { - games_pkg_preinst gnome2_icon_savelist } pkg_postinst() { - games_pkg_postinst gnome2_icon_cache_update } |