diff --git a/Manifest.files.gz b/Manifest.files.gz index 953ebb5337bb..b9bfef708a33 100644 Binary files a/Manifest.files.gz and b/Manifest.files.gz differ diff --git a/app-antivirus/Manifest.gz b/app-antivirus/Manifest.gz index 48ca0e92c01f..17401e7c4309 100644 Binary files a/app-antivirus/Manifest.gz and b/app-antivirus/Manifest.gz differ diff --git a/app-antivirus/clamav/clamav-0.100.0.ebuild b/app-antivirus/clamav/clamav-0.100.0.ebuild index 436001842571..12a0baa4c140 100644 --- a/app-antivirus/clamav/clamav-0.100.0.ebuild +++ b/app-antivirus/clamav/clamav-0.100.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ia64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~amd64 ~arm ~ia64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" IUSE="bzip2 doc clamdtop iconv ipv6 libressl milter metadata-analysis-api selinux static-libs system-libmspack test uclibc" CDEPEND="bzip2? ( app-arch/bzip2 ) diff --git a/app-arch/Manifest.gz b/app-arch/Manifest.gz index a5a6223b3f33..b9526d59100e 100644 Binary files a/app-arch/Manifest.gz and b/app-arch/Manifest.gz differ diff --git a/app-arch/cfv/cfv-1.18.3-r1.ebuild b/app-arch/cfv/cfv-1.18.3-r1.ebuild index a83d0cfdaf2c..f15261510f0a 100644 --- a/app-arch/cfv/cfv-1.18.3-r1.ebuild +++ b/app-arch/cfv/cfv-1.18.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -19,12 +19,7 @@ KEYWORDS="amd64 hppa ~ppc ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-maco DEPEND="" RDEPEND="${PYTHON_DEPS} dev-python/python-fchksum[${PYTHON_USEDEP}] - bittorrent? ( - || ( - net-p2p/bittorrent[${PYTHON_USEDEP}] - net-p2p/bittornado[${PYTHON_USEDEP}] - ) - )" + bittorrent? ( net-p2p/bittornado[${PYTHON_USEDEP}] )" REQUIRED_USE=${PYTHON_REQUIRED_USE} diff --git a/app-vim/Manifest.gz b/app-vim/Manifest.gz index 880fd2175858..ee3404193952 100644 Binary files a/app-vim/Manifest.gz and b/app-vim/Manifest.gz differ diff --git a/app-vim/vimpress/vimpress-2.1.5.ebuild b/app-vim/vimpress/vimpress-2.1.5.ebuild index 8d9f9bb237eb..179ad0ebfd0b 100644 --- a/app-vim/vimpress/vimpress-2.1.5.ebuild +++ b/app-vim/vimpress/vimpress-2.1.5.ebuild @@ -14,7 +14,7 @@ KEYWORDS="amd64 x86" IUSE="" RDEPEND="|| ( app-editors/vim[python] app-editors/gvim[python] ) - || ( dev-lang/python:2.7 dev-lang/python:2.6 ) + dev-lang/python:2.7 dev-python/markdown" VIM_PLUGIN_HELPFILES="${PN}.txt" diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz index 0e81becfa5f1..593b788a6cd9 100644 Binary files a/dev-libs/Manifest.gz and b/dev-libs/Manifest.gz differ diff --git a/dev-libs/json-c/json-c-0.13.1.ebuild b/dev-libs/json-c/json-c-0.13.1-r1.ebuild similarity index 98% rename from dev-libs/json-c/json-c-0.13.1.ebuild rename to dev-libs/json-c/json-c-0.13.1-r1.ebuild index 9908d135cd23..96f1cb8194fe 100644 --- a/dev-libs/json-c/json-c-0.13.1.ebuild +++ b/dev-libs/json-c/json-c-0.13.1-r1.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/json-c/json-c/wiki" SRC_URI="https://s3.amazonaws.com/json-c_releases/releases/${P}.tar.gz" LICENSE="MIT" -SLOT="0/3" +SLOT="0/4" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos" IUSE="doc static-libs" diff --git a/dev-libs/libmspack/libmspack-0.6_alpha.ebuild b/dev-libs/libmspack/libmspack-0.6_alpha.ebuild index 4efd4b68f576..de5758e359e9 100644 --- a/dev-libs/libmspack/libmspack-0.6_alpha.ebuild +++ b/dev-libs/libmspack/libmspack-0.6_alpha.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://www.cabextract.org.uk/libmspack/libmspack-${MY_PV}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~ia64 x86" +KEYWORDS="amd64 ~arm ~ia64 x86" IUSE="debug doc static-libs utils" DEPEND="" diff --git a/dev-lisp/Manifest.gz b/dev-lisp/Manifest.gz index 667ecb166030..bb2adde78349 100644 Binary files a/dev-lisp/Manifest.gz and b/dev-lisp/Manifest.gz differ diff --git a/dev-lisp/clozurecl/Manifest b/dev-lisp/clozurecl/Manifest index cc72c26f202e..3027f6ba6b72 100644 --- a/dev-lisp/clozurecl/Manifest +++ b/dev-lisp/clozurecl/Manifest @@ -1,4 +1,3 @@ -DIST ccl-1.10-linuxx86.tar.gz 43796090 BLAKE2B 75cbe2745ff6022a503e79e95a68d9ce2abd1b496fb4bc8b7180028f83223ceab36c6b40edb8f107e5fab8a194abc677a788867e53d09c089274b5b531066e4d SHA512 10504e2569a99ba8b6fc4ac745312435c6be646c86ec3916a3750f823f79b3b8ec87fe53ba2410151feeaaed0609e1760ee3d37a77f01d815d1ec13c2394258e DIST ccl-1.11-darwinx86.tar.gz 152989219 BLAKE2B 73a1ceed3ff1a22d76f593fb35a850c8c449cec7646368cd306a2c63ae85e22e02a6d604dc115e3e0a02f69a0fd6b8e29721c5e58704101779bf6a6924a48741 SHA512 21107ab0cf6f5abee21fc561680eb722fbb0a0515ea99a1d02be091a85519b1a91444317d92117ad509a25dca97adaba9b2d8026a7214f58aa03172ada2ea340 DIST ccl-1.11-linuxarm.tar.gz 23044178 BLAKE2B 509fbf0bd83a41d8115b87f4b79db799e063fb9f2dd21e58db24ec065101e6946315442104feaa61b1175c80ccaf5f5926fc73c2a3a87d4c3e5ba659269a644d SHA512 b8034569f0c47106107fee6bd859051052d43c3bcd625a1956eae467ef0225425d5429678e3584136adc929ccfbbe4b800bffa66ea758cd2b734aa3ed55a9dda DIST ccl-1.11-linuxx86.tar.gz 42482877 BLAKE2B d1a6977d7dd934c77db4dd0deb2ab53a85c0d118037e147ced09027578e5356770145da317f1887a8d7d25309b146864a62f54b0d5e841470c86da99c38cbd4b SHA512 34008654fd3ceca55a33413a768c398395141e26b9ea09204739ca7e998fdbe94ab92507eda14cf9bcbb9f76e6c3cae3006d7f2c9f48749c66e1f1281febb409 diff --git a/dev-lisp/clozurecl/clozurecl-1.10.ebuild b/dev-lisp/clozurecl/clozurecl-1.10.ebuild deleted file mode 100644 index 297b88a52db6..000000000000 --- a/dev-lisp/clozurecl/clozurecl-1.10.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib toolchain-funcs - -MY_PN=ccl -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Common Lisp implementation, derived from Digitool's MCL product" -HOMEPAGE="https://ccl.clozure.com/" -SRC_URI=" - x86? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxx86.tar.gz ) - amd64? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxx86.tar.gz )" - # ppc? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxppc.tar.gz ) - # ppc64? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxppc.tar.gz )" - -LICENSE="LLGPL-2.1" -SLOT="0" -# KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -RDEPEND=">=dev-lisp/asdf-2.33-r3:=" -DEPEND="${RDEPEND} - !dev-lisp/openmcl" - -S="${WORKDIR}"/${MY_PN} - -ENVD="${T}"/50ccl - -src_configure() { - if use x86; then - CCL_RUNTIME=lx86cl; CCL_HEADERS=x86-headers; CCL_KERNEL=linuxx8632 - elif use amd64; then - CCL_RUNTIME=lx86cl64; CCL_HEADERS=x86-headers64; CCL_KERNEL=linuxx8664 - elif use ppc; then - CCL_RUNTIME=ppccl; CCL_HEADERS=headers; CCL_KERNEL=linuxppc - elif use ppc64; then - CCL_RUNTIME=ppccl64; CCL_HEADERS=headers64; CCL_KERNEL=linuxppc64 - fi -} - -src_prepare() { - cp /usr/share/common-lisp/source/asdf/build/asdf.lisp tools/ || die -} - -src_compile() { - emake -C lisp-kernel/${CCL_KERNEL} clean - emake -C lisp-kernel/${CCL_KERNEL} all CC="$(tc-getCC)" - - unset CCL_DEFAULT_DIRECTORY - ./${CCL_RUNTIME} -n -b -Q -e '(ccl:rebuild-ccl :full t)' -e '(ccl:quit)' || die "Compilation failed" - - # remove non-owner write permissions on the full-image - chmod go-w ${CCL_RUNTIME}{,.image} || die - - esvn_clean -} - -src_install() { - local install_dir=/usr/$(get_libdir)/${PN} - - exeinto ${install_dir} - # install executable - doexe ${CCL_RUNTIME} - # install core image - cp ${CCL_RUNTIME}.image "${D}"/${install_dir} || die - # install optional libraries - dodir ${install_dir}/tools - cp tools/*fsl "${D}"/${install_dir}/tools || die - - # until we figure out which source files are necessary for runtime - # optional features and which aren't, we install all sources - find . -type f -name '*fsl' -delete || die - rm -f lisp-kernel/${CCL_KERNEL}/*.o || die - cp -a compiler level-0 level-1 lib library \ - lisp-kernel scripts tools xdump contrib \ - "${D}"/${install_dir} || die - cp -a ${CCL_HEADERS} "${D}"/${install_dir} || die - - make_wrapper ccl "${install_dir}/${CCL_RUNTIME}" - - echo "CCL_DEFAULT_DIRECTORY=${install_dir}" > "${ENVD}" - doenvd "${ENVD}" - - dodoc doc/release-notes.txt - dohtml doc/ccl-documentation.html - use doc && dohtml -r examples -} diff --git a/games-strategy/Manifest.gz b/games-strategy/Manifest.gz index ca451748df7e..1e962142a02f 100644 Binary files a/games-strategy/Manifest.gz and b/games-strategy/Manifest.gz differ diff --git a/games-strategy/freesynd/freesynd-0.7.1.ebuild b/games-strategy/freesynd/freesynd-0.7.1-r1.ebuild similarity index 69% rename from games-strategy/freesynd/freesynd-0.7.1.ebuild rename to games-strategy/freesynd/freesynd-0.7.1-r1.ebuild index 6f9ce26e3669..c787783deb41 100644 --- a/games-strategy/freesynd/freesynd-0.7.1.ebuild +++ b/games-strategy/freesynd/freesynd-0.7.1-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -inherit eutils cmake-utils gnome2-utils games +inherit eutils cmake-utils gnome2-utils readme.gentoo-r1 DESCRIPTION="A portable reimplementation of engine for the classic Bullfrog game, Syndicate" HOMEPAGE="http://freesynd.sourceforge.net/" @@ -13,23 +13,30 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="debug devtools" -RDEPEND="media-libs/libogg - media-libs/libpng:0 +RDEPEND=" + media-libs/libogg + media-libs/libpng:0= media-libs/libsdl[X,sound,video] media-libs/libvorbis media-libs/sdl-mixer[mp3,vorbis] - media-libs/sdl-image[png]" -DEPEND=${RDEPEND} + media-libs/sdl-image[png] +" +DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${P}-cmake.patch ) CMAKE_IN_SOURCE_BUILD=1 +DOC_CONTENTS=" + You have to set \"data_dir = /my/path/to/synd-data\" + in \"~/.${PN}/${PN}.ini\". +" + src_prepare() { cmake-utils_src_prepare sed \ - -e "s:#freesynd_data_dir = /usr/share/freesynd/data:freesynd_data_dir = ${GAMES_DATADIR}/${PN}/data:" \ + -e "s:#freesynd_data_dir = /usr/share/freesynd/data:freesynd_data_dir = /usr/share/${PN}/data:" \ -i ${PN}.ini || die } @@ -42,37 +49,28 @@ src_configure() { cmake-utils_src_configure } -src_compile() { - cmake-utils_src_compile -} - src_install() { - dogamesbin src/${PN} - use devtools && newgamesbin src/dump ${PN}-dump - insinto "${GAMES_DATADIR}"/${PN} + dobin src/${PN} + use devtools && newbin src/dump ${PN}-dump + insinto /usr/share/${PN} doins -r data newicon -s 128 icon/sword.png ${PN}.png make_desktop_entry ${PN} dodoc NEWS README INSTALL AUTHORS - prepgamesdirs + readme.gentoo_create_doc } pkg_preinst() { - games_pkg_preinst gnome2_icon_savelist } pkg_postinst() { - elog "You have to set \"data_dir = /my/path/to/synd-data\"" - elog "in \"~/.${PN}/${PN}.ini\"." - + gnome2_icon_cache_update if use debug ; then ewarn "Debug build is not meant for regular playing," ewarn "game speed is higher." fi - - games_pkg_postinst - gnome2_icon_cache_update + readme.gentoo_print_elog } pkg_postrm() { diff --git a/games-strategy/galaxyhack/files/galaxyhack-1.74-boost-1.50.patch b/games-strategy/galaxyhack/files/galaxyhack-1.74-boost-1.50.patch index 1b630c66fb20..ed8ff748aa98 100644 --- a/games-strategy/galaxyhack/files/galaxyhack-1.74-boost-1.50.patch +++ b/games-strategy/galaxyhack/files/galaxyhack-1.74-boost-1.50.patch @@ -1,5 +1,5 @@ ---- ForceSelectWin.cpp.orig 2012-08-20 17:35:01.000000000 +0200 -+++ ForceSelectWin.cpp 2012-08-20 17:47:19.000000000 +0200 +--- a/ForceSelectWin.cpp.orig 2012-08-20 17:35:01.000000000 +0200 ++++ b/ForceSelectWin.cpp 2012-08-20 17:47:19.000000000 +0200 @@ -1596,15 +1596,15 @@ fs::directory_iterator directoryEnd; // default construction yields past-the-end for (fs::directory_iterator iter(sourcePath); iter != directoryEnd; ++iter) { @@ -20,8 +20,8 @@ fs::copy_file(*iter, destPath.string() + "/" + destFile); } ---- Main.cpp.orig 2012-08-20 17:48:13.000000000 +0200 -+++ Main.cpp 2012-08-20 17:50:51.000000000 +0200 +--- a/Main.cpp.orig 2012-08-20 17:48:13.000000000 +0200 ++++ b/Main.cpp 2012-08-20 17:50:51.000000000 +0200 @@ -339,12 +339,6 @@ void GameInit(char* argv[]) { @@ -35,8 +35,8 @@ FindHomePath(); LoadSettings(argv); ---- Menu_Base.cpp.orig 2012-08-20 17:51:05.000000000 +0200 -+++ Menu_Base.cpp 2012-08-20 17:52:15.000000000 +0200 +--- a/Menu_Base.cpp.orig 2012-08-20 17:51:05.000000000 +0200 ++++ b/Menu_Base.cpp 2012-08-20 17:52:15.000000000 +0200 @@ -206,7 +206,7 @@ fs::directory_iterator directoryEnd; // default construction yields past-the-end @@ -64,8 +64,8 @@ if (filename.find('.') == filename.npos) continue; ---- Stuff.cpp.orig 2012-08-20 17:52:36.000000000 +0200 -+++ Stuff.cpp 2012-08-20 17:53:11.000000000 +0200 +--- a/Stuff.cpp.orig 2012-08-20 17:52:36.000000000 +0200 ++++ b/Stuff.cpp 2012-08-20 17:53:11.000000000 +0200 @@ -657,7 +657,7 @@ fs::directory_iterator directoryEnd; // default construction yields past-the-end for (fs::directory_iterator iter(tempPath); iter != directoryEnd; ++iter) { diff --git a/games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch b/games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch index 4b5beef56ac7..7c60c4efa624 100644 --- a/games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch +++ b/games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch @@ -1,5 +1,5 @@ ---- Main.cpp.old 2006-07-28 00:04:46.000000000 +0200 -+++ Main.cpp 2006-07-28 00:08:28.000000000 +0200 +--- a/Main.cpp.old 2006-07-28 00:04:46.000000000 +0200 ++++ b/Main.cpp 2006-07-28 00:08:28.000000000 +0200 @@ -184,7 +184,7 @@ #ifndef WIN32 string settingsPath = userHomePath + "settings.dat"; diff --git a/games-strategy/galaxyhack/files/galaxyhack-1.74-format.patch b/games-strategy/galaxyhack/files/galaxyhack-1.74-format.patch index 4bd9e8fc6f83..478e58001c73 100644 --- a/games-strategy/galaxyhack/files/galaxyhack-1.74-format.patch +++ b/games-strategy/galaxyhack/files/galaxyhack-1.74-format.patch @@ -1,5 +1,5 @@ ---- JSDL.cpp.old 2016-01-04 10:42:56.404316856 +0100 -+++ JSDL.cpp 2016-01-04 10:51:16.744255312 +0100 +--- a/JSDL.cpp.old 2016-01-04 10:42:56.404316856 +0100 ++++ b/JSDL.cpp 2016-01-04 10:51:16.744255312 +0100 @@ -47,14 +47,14 @@ if (!globalSettings.batch) { if (SDL_Init(SDL_INIT_TIMER | SDL_INIT_VIDEO) == -1) { diff --git a/games-strategy/galaxyhack/files/galaxyhack-1.74-gentoo.patch b/games-strategy/galaxyhack/files/galaxyhack-1.74-gentoo.patch index a609a473fe7f..9e55c941bfeb 100644 --- a/games-strategy/galaxyhack/files/galaxyhack-1.74-gentoo.patch +++ b/games-strategy/galaxyhack/files/galaxyhack-1.74-gentoo.patch @@ -1,5 +1,5 @@ ---- Makefile.old 2009-02-11 22:21:26.000000000 +0100 -+++ Makefile 2009-02-11 22:20:58.000000000 +0100 +--- a/Makefile.old 2009-02-11 22:21:26.000000000 +0100 ++++ b/Makefile 2009-02-11 22:20:58.000000000 +0100 @@ -6,12 +6,11 @@ # James Gregory and Everton da Silva Marques # diff --git a/games-strategy/galaxyhack/galaxyhack-1.74.ebuild b/games-strategy/galaxyhack/galaxyhack-1.74-r1.ebuild similarity index 55% rename from games-strategy/galaxyhack/galaxyhack-1.74.ebuild rename to games-strategy/galaxyhack/galaxyhack-1.74-r1.ebuild index 68d0a57a06f8..aead3e7b9481 100644 --- a/games-strategy/galaxyhack/galaxyhack-1.74.ebuild +++ b/games-strategy/galaxyhack/galaxyhack-1.74-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils flag-o-matic games +EAPI=6 +inherit eutils flag-o-matic readme.gentoo-r1 DESCRIPTION="Multiplayer AI script based strategy game" HOMEPAGE="http://galaxyhack.sourceforge.net/" @@ -14,47 +14,55 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="media-libs/libsdl[video] +RDEPEND=" + media-libs/libsdl[video] media-libs/sdl-image[png] media-libs/sdl-mixer[mod,vorbis] - >=dev-libs/boost-1.34" -RDEPEND=${DEPEND} + >=dev-libs/boost-1.34 +" +RDEPEND="${DEPEND}" -S=${WORKDIR}/${PN}/src +S="${WORKDIR}/${PN}/src" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +Settings will default to those found in +/usr/share/galaxyhack/settings.dat +Per user settings can be specified by creating +~/.galaxyhack/settings.dat + +Additional user submitted fleets can be downloaded from +http://galaxyhack.sourceforge.net/viewfleets.php +" src_prepare() { + default edos2unix Makefile - epatch \ + eapply \ "${FILESDIR}"/${P}-destdirs.patch \ "${FILESDIR}"/${P}-boost.patch \ "${FILESDIR}"/${P}-gcc43.patch \ "${FILESDIR}"/${P}-boost-1.50.patch \ "${FILESDIR}"/${P}-format.patch \ "${FILESDIR}"/${P}-gentoo.patch - sed -i "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \ + sed -i "s:@GAMES_DATADIR@:/usr/share:" \ Main.cpp || die - sed -i "/Base data path/s:pwd:${GAMES_DATADIR}/${PN}:" \ + sed -i "/Base data path/s:pwd:/usr/share/${PN}:" \ ../settings.dat || die } src_install() { - dogamesbin "${PN}" + dobin "${PN}" cd .. - insinto "${GAMES_DATADIR}"/${PN} + insinto /usr/share/${PN} doins -r fleets gamedata graphics music standardpictures \ settings.dat dodoc readme.txt + readme.gentoo_create_doc doicon "${DISTDIR}"/${PN}.png make_desktop_entry ${PN} GalaxyHack - prepgamesdirs } pkg_postinst() { - games_pkg_postinst - elog "Settings will default to those found in" - elog "${GAMES_DATADIR}/galaxyhack/settings.dat" - elog "Per user settings can be specified by creating" - elog "~/.galaxyhack/settings.dat" - elog "Additional user submitted fleets can be downloaded from" - elog "http://galaxyhack.sourceforge.net/viewfleets.php" + readme.gentoo_print_elog } diff --git a/games-strategy/glob2/files/glob2-0.9.4.4-gcc44.patch b/games-strategy/glob2/files/glob2-0.9.4.4-gcc44.patch index 5ce62ea6e46c..8d2da78cee23 100644 --- a/games-strategy/glob2/files/glob2-0.9.4.4-gcc44.patch +++ b/games-strategy/glob2/files/glob2-0.9.4.4-gcc44.patch @@ -1,5 +1,5 @@ ---- libgag/include/StreamBackend.h.old -+++ libgag/include/StreamBackend.h +--- a/libgag/include/StreamBackend.h.old ++++ b/libgag/include/StreamBackend.h @@ -28,6 +28,9 @@ #ifdef putc #undef putc diff --git a/games-strategy/glob2/files/glob2-0.9.4.4-scons-blows.patch b/games-strategy/glob2/files/glob2-0.9.4.4-scons-blows.patch index b0fb92d47974..b3e6e86eb485 100644 --- a/games-strategy/glob2/files/glob2-0.9.4.4-scons-blows.patch +++ b/games-strategy/glob2/files/glob2-0.9.4.4-scons-blows.patch @@ -1,5 +1,5 @@ ---- SConstruct.orig -+++ SConstruct +--- a/SConstruct.orig ++++ b/SConstruct @@ -1,6 +1,7 @@ EnsureSConsVersion(0, 96, 92) import sys diff --git a/games-strategy/glob2/glob2-0.9.4.4-r1.ebuild b/games-strategy/glob2/glob2-0.9.4.4-r2.ebuild similarity index 65% rename from games-strategy/glob2/glob2-0.9.4.4-r1.ebuild rename to games-strategy/glob2/glob2-0.9.4.4-r2.ebuild index 2268ae605173..fe7cdc7b1729 100644 --- a/games-strategy/glob2/glob2-0.9.4.4-r1.ebuild +++ b/games-strategy/glob2/glob2-0.9.4.4-r2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils gnome2-utils scons-utils games +EAPI=6 +inherit desktop gnome2-utils scons-utils DESCRIPTION="Real Time Strategy (RTS) game involving a brave army of globs" HOMEPAGE="http://globulation2.org/" @@ -23,17 +23,16 @@ RDEPEND=" media-libs/sdl-ttf media-libs/speex virtual/glu - virtual/opengl" + virtual/opengl +" DEPEND="${RDEPEND}" -src_prepare() { - epatch "${FILESDIR}"/${P}-{gcc{44,49,6},scons-blows,underlinking}.patch -} +PATCHES=( "${FILESDIR}"/${P}-{gcc{44,49,6},scons-blows,underlinking}.patch ) src_configure() { myesconsargs=( - INSTALLDIR="${GAMES_DATADIR}"/${PN} - DATADIR="${GAMES_DATADIR}"/${PN} + INSTALLDIR=/usr/share/${PN} + DATADIR=/usr/share/${PN} ) escons data } @@ -43,23 +42,20 @@ src_compile() { } src_install() { - dogamesbin src/${PN} - insinto "${GAMES_DATADIR}"/${PN} + dobin src/${PN} + insinto /usr/share/${PN} doins -r campaigns data maps scripts - find "${D}/${GAMES_DATADIR}"/${PN} -name SConscript -exec rm -f '{}' + + find "${ED}"/usr/share/${PN} -name SConscript -exec rm -f '{}' + newicon -s 48 data/icons/glob2-icon-48x48.png ${PN}.png make_desktop_entry glob2 "Globulation 2" - dodoc README* - prepgamesdirs + einstalldocs } pkg_preinst() { - games_pkg_preinst gnome2_icon_savelist } pkg_postinst() { - games_pkg_postinst gnome2_icon_cache_update } diff --git a/games-strategy/knights-demo/knights-demo-1.32-r1.ebuild b/games-strategy/knights-demo/knights-demo-1.32-r2.ebuild similarity index 77% rename from games-strategy/knights-demo/knights-demo-1.32-r1.ebuild rename to games-strategy/knights-demo/knights-demo-1.32-r2.ebuild index b9d0fc04f438..d314a019ee7c 100644 --- a/games-strategy/knights-demo/knights-demo-1.32-r1.ebuild +++ b/games-strategy/knights-demo/knights-demo-1.32-r2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils unpacker games +EAPI=6 +inherit eutils unpacker DESCRIPTION="Anglo-Saxon medieval army battles and resource management" HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=knights" @@ -11,18 +11,19 @@ SRC_URI="mirror://gentoo/${P}.run" LICENSE="knights-demo" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="~amd64 ~x86" IUSE="" RESTRICT="strip" -RDEPEND="sys-libs/glibc +RDEPEND=" + sys-libs/glibc >=x11-libs/libX11-1.6.2[abi_x86_32(-)] >=x11-libs/libXau-1.0.7-r1[abi_x86_32(-)] >=x11-libs/libXdmcp-1.1.1-r1[abi_x86_32(-)] >=x11-libs/libXext-1.3.2[abi_x86_32(-)] - >=x11-libs/libXi-1.7.2[abi_x86_32(-)]" - -S=${WORKDIR} + >=x11-libs/libXi-1.7.2[abi_x86_32(-)] +" +S="${WORKDIR}" src_unpack() { unpack_makeself ${P}.run @@ -32,7 +33,7 @@ src_unpack() { } src_install() { - local dir=${GAMES_PREFIX_OPT}/${PN} + local dir=/opt/${PN} exeinto "${dir}" doexe bin/Linux/x86/${PN}{,.dynamic} @@ -42,8 +43,7 @@ src_install() { doins EULA icon.xpm README{,.licenses} # We don't support the dynamic version, even though we install it. - games_make_wrapper ${PN} ./${PN} "${dir}" "${dir}" + make_wrapper ${PN} ./${PN} "${dir}" "${dir}" newicon icon.xpm ${PN}.xpm make_desktop_entry ${PN} "Knights and Merchants (Demo)" ${PN} - prepgamesdirs } diff --git a/games-strategy/lgeneral/lgeneral-1.3.1-r1.ebuild b/games-strategy/lgeneral/lgeneral-1.3.1-r2.ebuild similarity index 70% rename from games-strategy/lgeneral/lgeneral-1.3.1-r1.ebuild rename to games-strategy/lgeneral/lgeneral-1.3.1-r2.ebuild index 2cbe4796f69b..bc431e1c2933 100644 --- a/games-strategy/lgeneral/lgeneral-1.3.1-r1.ebuild +++ b/games-strategy/lgeneral/lgeneral-1.3.1-r2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils autotools gnome2-utils games +EAPI=6 +inherit autotools desktop gnome2-utils MY_P="${P/_/}" MY_P="${MY_P/beta/beta-}" @@ -16,15 +16,19 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="nls" -RDEPEND="media-libs/libsdl[sound,video] +RDEPEND=" + media-libs/libsdl[sound,video] media-libs/sdl-mixer - nls? ( virtual/libintl )" + nls? ( virtual/libintl ) +" DEPEND="${RDEPEND} - sys-devel/gettext" + sys-devel/gettext +" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" src_prepare() { + default sed -i \ -e '/desktop_DATA/d' \ -e '/icon_DATA/d' \ @@ -38,26 +42,25 @@ src_prepare() { # Build a temporary lgc-pg that knows about ${WORKDIR}: cp -pPR "${S}" "${WORKDIR}"/tmp-build || die sed -i \ - -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \ + -e "s:@GENTOO_DATADIR@:/usr/share:" \ -e "s:@D@::" \ {lgc-pg,src}/misc.c || die cd "${WORKDIR}"/tmp-build || die sed -i \ - -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \ + -e "s:@GENTOO_DATADIR@:/usr/share:" \ -e "s:@D@:${D}:" \ {lgc-pg,src}/misc.c || die } src_configure() { - egamesconf \ - $(use_enable nls) + econf $(use_enable nls) # Build the temporary lgc-pg: cd "${WORKDIR}"/tmp-build || die - egamesconf \ + econf \ --disable-nls \ - --datadir="${D}/${GAMES_DATADIR}" + --datadir="${D}/usr/share" } src_compile() { @@ -70,26 +73,23 @@ src_compile() { src_install() { default - keepdir "${GAMES_DATADIR}"/${PN}/{ai_modules,music,terrain} + keepdir /usr/share/${PN}/{ai_modules,music,terrain} # Generate scenario data: - dodir "${GAMES_DATADIR}"/${PN}/gfx/{flags,units,terrain} #413901 + dodir /usr/share/${PN}/gfx/{flags,units,terrain} #413901 SDL_VIDEODRIVER=dummy "${WORKDIR}"/tmp-build/lgc-pg/lgc-pg --separate-bridges \ -s "${WORKDIR}"/pg-data \ - -d "${D}/${GAMES_DATADIR}"/${PN} || die + -d "${D}"/usr/share/${PN} || die doicon -s 48 lgeneral.png make_desktop_entry ${PN} LGeneral - prepgamesdirs } pkg_preinst() { - games_pkg_preinst gnome2_icon_savelist } pkg_postinst() { - games_pkg_postinst gnome2_icon_cache_update } diff --git a/games-strategy/lightyears/files/lightyears-1.4-gentoo.patch b/games-strategy/lightyears/files/lightyears-1.4-gentoo.patch index 063dbab3c1e8..325c4365ded4 100644 --- a/games-strategy/lightyears/files/lightyears-1.4-gentoo.patch +++ b/games-strategy/lightyears/files/lightyears-1.4-gentoo.patch @@ -1,5 +1,5 @@ ---- lightyears -+++ lightyears +--- a/lightyears ++++ b/lightyears @@ -1,7 +1,6 @@ #!/usr/bin/python diff --git a/games-strategy/lightyears/lightyears-1.4-r1.ebuild b/games-strategy/lightyears/lightyears-1.4-r1.ebuild deleted file mode 100644 index 2215ab7dc4a0..000000000000 --- a/games-strategy/lightyears/lightyears-1.4-r1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -inherit eutils python-single-r1 games - -DESCRIPTION="a single-player game with a science-fiction theme" -HOMEPAGE="http://www.jwhitham.org/20kly/" -SRC_URI="http://www.jwhitham.org/20kly/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="dev-python/pygame[${PYTHON_USEDEP}] - ${PYTHON_DEPS}" -RDEPEND=${DEPEND} -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -src_prepare() { - epatch "${FILESDIR}/${P}"-gentoo.patch - sed -i \ - -e "s:@GENTOO_LIBDIR@:$(games_get_libdir)/${PN}:" \ - -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ - ${PN} || die - python_fix_shebang . -} - -src_install() { - dogamesbin ${PN} - - insinto "$(games_get_libdir)/${PN}" - doins code/*.py - - dodoc README.txt - - insinto "${GAMES_DATADIR}/${PN}" - doins -r audio data manual - - python_optimize "${D}$(games_get_libdir)/${PN}" - - newicon data/32.png ${PN}.png - make_desktop_entry ${PN} "Light Years Into Space" - prepgamesdirs -} - -pkg_setup() { - python-single-r1_pkg_setup - games_pkg_setup -} diff --git a/games-strategy/lightyears/lightyears-1.4-r2.ebuild b/games-strategy/lightyears/lightyears-1.4-r2.ebuild new file mode 100644 index 000000000000..7e7344951fc2 --- /dev/null +++ b/games-strategy/lightyears/lightyears-1.4-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit desktop python-single-r1 + +DESCRIPTION="A single-player game with a science-fiction theme" +HOMEPAGE="http://www.jwhitham.org/20kly/" +SRC_URI="http://www.jwhitham.org/20kly/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +RDEPEND="${PYTHON_DEPS} + dev-python/pygame[${PYTHON_USEDEP}] +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eapply "${FILESDIR}/${P}"-gentoo.patch + sed -i \ + -e "s:@GENTOO_LIBDIR@:/usr/$(get_libdir)/${PN}:" \ + -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \ + ${PN} || die + python_fix_shebang . +} + +src_install() { + dobin ${PN} + + insinto /usr/"$(get_libdir)/${PN}" + doins code/*.py + + einstalldocs + + insinto "/usr/share/${PN}" + doins -r audio data manual + + python_optimize "${ED}/usr/$(get_libdir)/${PN}" + + newicon data/32.png ${PN}.png + make_desktop_entry ${PN} "Light Years Into Space" +} diff --git a/games-strategy/liquidwar/files/liquidwar-5.6.4-exec-stack.patch b/games-strategy/liquidwar/files/liquidwar-5.6.4-exec-stack.patch index 83e733b28a05..a1e93c9b738c 100644 --- a/games-strategy/liquidwar/files/liquidwar-5.6.4-exec-stack.patch +++ b/games-strategy/liquidwar/files/liquidwar-5.6.4-exec-stack.patch @@ -1,5 +1,5 @@ ---- src/glouglou.s -+++ src/glouglou.s +--- a/src/glouglou.s ++++ b/src/glouglou.s @@ -240,3 +240,6 @@ ret @@ -7,8 +7,8 @@ +#ifdef __ELF__ +.section .note.GNU-stack,"",%progbits +#endif ---- src/monster.s -+++ src/monster.s +--- a/src/monster.s ++++ b/src/monster.s @@ -972,3 +972,6 @@ ret # retour au c @@ -16,8 +16,8 @@ +#ifdef __ELF__ +.section .note.GNU-stack,"",%progbits +#endif ---- src/spread.s -+++ src/spread.s +--- a/src/spread.s ++++ b/src/spread.s @@ -957,3 +957,6 @@ diff --git a/games-strategy/liquidwar/files/liquidwar-5.6.4-ovflfix.patch b/games-strategy/liquidwar/files/liquidwar-5.6.4-ovflfix.patch index 446385624cfa..c092f02beabe 100644 --- a/games-strategy/liquidwar/files/liquidwar-5.6.4-ovflfix.patch +++ b/games-strategy/liquidwar/files/liquidwar-5.6.4-ovflfix.patch @@ -1,5 +1,5 @@ ---- src/wwwsrv.c.old 2010-10-26 14:16:31.000000000 +0200 -+++ src/wwwsrv.c 2010-10-26 14:17:35.000000000 +0200 +--- a/src/wwwsrv.c.old 2010-10-26 14:16:31.000000000 +0200 ++++ b/src/wwwsrv.c 2010-10-26 14:17:35.000000000 +0200 @@ -100,12 +100,12 @@ data->privacy = privacy; diff --git a/games-strategy/liquidwar/files/liquidwar-5.6.4-underlink.patch b/games-strategy/liquidwar/files/liquidwar-5.6.4-underlink.patch index 2bc53e0caccb..d80e349bf1b1 100644 --- a/games-strategy/liquidwar/files/liquidwar-5.6.4-underlink.patch +++ b/games-strategy/liquidwar/files/liquidwar-5.6.4-underlink.patch @@ -1,5 +1,5 @@ ---- src/Makefile.in.old 2011-06-22 07:45:05.756127862 +0200 -+++ src/Makefile.in 2011-06-22 07:46:00.681613957 +0200 +--- a/src/Makefile.in.old 2011-06-22 07:45:05.756127862 +0200 ++++ b/src/Makefile.in 2011-06-22 07:46:00.681613957 +0200 @@ -223,7 +223,7 @@ EXTERN_LIBS = `allegro-config --static $(ALLEGRO_LIBRARY)` $(EFENCE_LIBRARY) else diff --git a/games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild b/games-strategy/liquidwar/liquidwar-5.6.4-r2.ebuild similarity index 69% rename from games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild rename to games-strategy/liquidwar/liquidwar-5.6.4-r2.ebuild index bfbb51bdca17..8899b512aa19 100644 --- a/games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild +++ b/games-strategy/liquidwar/liquidwar-5.6.4-r2.ebuild @@ -1,30 +1,32 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils games +EAPI=6 +inherit desktop -DESCRIPTION="unique multiplayer wargame" +DESCRIPTION="Unique multiplayer wargame" HOMEPAGE="http://www.ufoot.org/liquidwar/" SRC_URI="https://savannah.nongnu.org/download/liquidwar/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="nls" +IUSE="" RESTRICT="test" RDEPEND=">=media-libs/allegro-4.2:0[X]" DEPEND="${RDEPEND}" src_prepare() { - epatch "${FILESDIR}"/${P}-exec-stack.patch \ + default + + eapply "${FILESDIR}"/${P}-exec-stack.patch \ "${FILESDIR}"/${P}-ovflfix.patch sed -i \ -e 's:/games::' \ -e '/^MANDIR/ s:=.*:= $(mandir)/man6:' \ -e '/^PIXDIR/ s:=.*:= /usr/share/pixmaps:' \ - -e '/^DESKTOPDIR/ s:=.*:= /usr/share/applnk/Games/:' \ + -e '/^DESKTOPDIR/ s:=.*:= /usr/share/applications/:' \ -e '/^INFODIR/ s/=.*/= $(infodir)/' \ -e '/^GAMEDIR/ s/exec_prefix/bindir/' \ -e '/install/s:-s ::' \ @@ -36,11 +38,11 @@ src_prepare() { -e '/^GAMEDIR/ s/$(exec_prefix)/@bindir@/' \ -e 's:/games::' src/Makefile.in \ || die "sed src/Makefile.in failed" - epatch "${FILESDIR}"/${P}-underlink.patch + eapply "${FILESDIR}"/${P}-underlink.patch } src_configure() { - egamesconf \ + econf \ --disable-doc-ps \ --disable-doc-pdf \ --disable-target-opt \ @@ -54,7 +56,9 @@ src_compile() { src_install() { emake DESTDIR="${D}" install_nolink - rm -f "${D}"/usr/share/doc/${PF}/COPYING - use nls || rm -f "${D}"/usr/share/doc/${PF}/README.* - prepgamesdirs + einstalldocs + rm -f "${ED}"/usr/share/doc/${PF}/COPYING + # Provided desktop file is completely obsolete + rm -f "${ED}"/usr/share/applications/liquidwar.desktop + make_desktop_entry ${PN} "Liquid War" /usr/share/pixmaps/${PN}.xpm } diff --git a/games-strategy/majesty-demo/majesty-demo-1.0.0.ebuild b/games-strategy/majesty-demo/majesty-demo-1.0.0-r1.ebuild similarity index 67% rename from games-strategy/majesty-demo/majesty-demo-1.0.0.ebuild rename to games-strategy/majesty-demo/majesty-demo-1.0.0-r1.ebuild index e39f1e1a7f97..7a9bb85b31a9 100644 --- a/games-strategy/majesty-demo/majesty-demo-1.0.0.ebuild +++ b/games-strategy/majesty-demo/majesty-demo-1.0.0-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils unpacker games +EAPI=6 +inherit eutils unpacker DESCRIPTION="Control your own kingdom in this simulation" HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=8&" @@ -14,30 +14,30 @@ KEYWORDS="~amd64 ~x86" IUSE="" RESTRICT="bindist strip" -RDEPEND="sys-libs/glibc +RDEPEND=" + sys-libs/glibc x11-libs/libX11[abi_x86_32(-)] x11-libs/libXext[abi_x86_32(-)] x11-libs/libXau[abi_x86_32(-)] - x11-libs/libXdmcp[abi_x86_32(-)]" + x11-libs/libXdmcp[abi_x86_32(-)] +" +DEPEND="" -S=${WORKDIR} +S="${WORKDIR}" -dir=${GAMES_PREFIX_OPT}/${PN} -Ddir=${D}/${dir} +dir="/opt/${PN}" +Ddir="${D}/${dir}" QA_PREBUILT="${dir:1}/maj_demo" src_install() { - dodoc README* + einstalldocs insinto "${dir}" exeinto "${dir}" doins -r data quests doins majesty.{bmp,xpm} majestysite.url newicon majesty.xpm majesty-demo.xpm # only installing the static version for now - if use x86 || use amd64; then - doexe bin/Linux/x86/maj_demo - fi - games_make_wrapper maj_demo ./maj_demo "${dir}" "${dir}" - prepgamesdirs + doexe bin/Linux/x86/maj_demo + make_wrapper maj_demo ./maj_demo "${dir}" "${dir}" make_desktop_entry maj_demo "Majesty (Demo)" } diff --git a/games-strategy/naev/naev-0.6.1.ebuild b/games-strategy/naev/naev-0.6.1-r1.ebuild similarity index 79% rename from games-strategy/naev/naev-0.6.1.ebuild rename to games-strategy/naev/naev-0.6.1-r1.ebuild index 35e6898d296b..c7932c3eb325 100644 --- a/games-strategy/naev/naev-0.6.1.ebuild +++ b/games-strategy/naev/naev-0.6.1-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit flag-o-matic gnome2-utils games +EAPI=6 +inherit flag-o-matic gnome2-utils DESCRIPTION="A 2D space trading and combat game, in a similar vein to Escape Velocity" HOMEPAGE="http://blog.naev.org/" @@ -14,26 +14,29 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="debug +mixer +openal" -RDEPEND="media-libs/libsdl2[X,sound,video] +RDEPEND=" + media-libs/libsdl2[X,sound,video] dev-libs/libzip dev-libs/libxml2 - >=media-libs/freetype-2 + >=media-libs/freetype-2:2 >=media-libs/libvorbis-1.2.1 - >=media-libs/libpng-1.2:0 + >=media-libs/libpng-1.2:0= virtual/glu virtual/opengl dev-lang/lua:0 mixer? ( media-libs/sdl2-mixer ) - openal? ( media-libs/openal )" + openal? ( media-libs/openal ) +" DEPEND="${RDEPEND} - virtual/pkgconfig" + virtual/pkgconfig +" src_unpack() { unpack ${P}.tar.bz2 } src_configure() { - egamesconf \ + econf \ --docdir=/usr/share/doc/${PF} \ --enable-lua=shared \ $(use_enable debug) \ @@ -52,8 +55,7 @@ src_install() { appdatadir=/usr/share/appdata \ Graphicsdir=/usr/share/applications \ install - - insinto "${GAMES_DATADIR}"/${PN} + insinto /usr/share/${PN} newins "${DISTDIR}"/ndata-${PV}.zip ndata local res @@ -62,17 +64,13 @@ src_install() { done rm -f "${D}"/usr/share/doc/${PF}/LICENSE - - prepgamesdirs } pkg_preinst() { - games_pkg_preinst gnome2_icon_savelist } pkg_postinst() { - games_pkg_postinst gnome2_icon_cache_update } diff --git a/games-strategy/netherearth/files/netherearth-0.52-freeglut.patch b/games-strategy/netherearth/files/netherearth-0.52-freeglut.patch index 0fc147f0b7aa..b61e1f139b04 100644 --- a/games-strategy/netherearth/files/netherearth-0.52-freeglut.patch +++ b/games-strategy/netherearth/files/netherearth-0.52-freeglut.patch @@ -1,5 +1,5 @@ ---- main.cpp -+++ main.cpp +--- a/main.cpp ++++ b/main.cpp @@ -8,6 +8,7 @@ #include diff --git a/games-strategy/netherearth/files/netherearth-0.52-ldflags.patch b/games-strategy/netherearth/files/netherearth-0.52-ldflags.patch index 6b7ed3a8989c..7d81f912764f 100644 --- a/games-strategy/netherearth/files/netherearth-0.52-ldflags.patch +++ b/games-strategy/netherearth/files/netherearth-0.52-ldflags.patch @@ -1,5 +1,5 @@ ---- Makefile.old 2010-10-12 09:30:19.000000000 +0200 -+++ Makefile 2010-10-12 09:30:38.000000000 +0200 +--- a/Makefile.old 2010-10-12 09:30:19.000000000 +0200 ++++ b/Makefile 2010-10-12 09:30:38.000000000 +0200 @@ -17,4 +17,4 @@ all: $(TARGET) diff --git a/games-strategy/netherearth/netherearth-0.52.ebuild b/games-strategy/netherearth/netherearth-0.52-r1.ebuild similarity index 73% rename from games-strategy/netherearth/netherearth-0.52.ebuild rename to games-strategy/netherearth/netherearth-0.52-r1.ebuild index 5fc80fe0afb0..e1aa7cabaaac 100644 --- a/games-strategy/netherearth/netherearth-0.52.ebuild +++ b/games-strategy/netherearth/netherearth-0.52-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils games +EAPI=6 +inherit desktop MY_PV="${PV/./}" DESCRIPTION="A remake of the SPECTRUM game Nether Earth" @@ -12,19 +12,22 @@ SRC_URI="http://www.braingames.getput.com/nether/sources.zip LICENSE="all-rights-reserved" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="~amd64 ~x86" IUSE="" RESTRICT="mirror bindist" -RDEPEND=">=media-libs/libsdl-1.2.6-r3 +RDEPEND=" + >=media-libs/libsdl-1.2.6-r3 >=media-libs/sdl-mixer-1.2.5-r1 - media-libs/freeglut" + media-libs/freeglut +" DEPEND="${RDEPEND} - app-arch/unzip" + app-arch/unzip +" -S=${WORKDIR}/sources +S="${WORKDIR}/sources" -data=../nether\ earth\ v${PV} +data="../nether earth v${PV}" src_unpack() { unzip -LL "${DISTDIR}/${PN}${MY_PV}.zip" >/dev/null || die @@ -32,19 +35,21 @@ src_unpack() { } src_prepare() { - DATA_DIR=${GAMES_DATADIR}/${PN} + default + + DATA_DIR=/usr/share/${PN} cp "${FILESDIR}/Makefile" . || die # Fix compilation errors/warnings - epatch "${FILESDIR}"/${P}-linux.patch + eapply "${FILESDIR}"/${P}-linux.patch - epatch "${FILESDIR}"/${P}-freeglut.patch \ + eapply "${FILESDIR}"/${P}-freeglut.patch \ "${FILESDIR}"/${P}-glibc-212.patch \ "${FILESDIR}"/${P}-ldflags.patch # Modify dirs and some fopen() permissions - epatch "${FILESDIR}/${P}-gentoo-paths.patch" + eapply "${FILESDIR}/${P}-gentoo-paths.patch" sed -i \ -e "s:models:${DATA_DIR}/models:" \ -e "s:textures:${DATA_DIR}/textures:" \ @@ -66,7 +71,7 @@ src_prepare() { } src_install() { - dogamesbin nether_earth + dobin nether_earth cd "${data}" @@ -76,5 +81,6 @@ src_install() { dodoc readme.txt - prepgamesdirs + newicon textures/nuclear.bmp ${PN}.bmp + make_desktop_entry nether_earth "Nether Earth" /usr/share/pixmaps/${PN}.bmp } diff --git a/games-strategy/outerspace/files/outerspace-0.5.68-setup.patch b/games-strategy/outerspace/files/outerspace-0.5.68-setup.patch index 202c53bc7ee1..c95852dca3dc 100644 --- a/games-strategy/outerspace/files/outerspace-0.5.68-setup.patch +++ b/games-strategy/outerspace/files/outerspace-0.5.68-setup.patch @@ -1,5 +1,5 @@ ---- setup.py -+++ setup.py +--- a/setup.py ++++ b/setup.py @@ -42,12 +42,7 @@ # collect data files @@ -42,8 +42,8 @@ - os.remove(path) - -shutil.rmtree("libsrvr", onerror = onerror) ---- osc.py -+++ osc.py +--- a/osc.py ++++ b/osc.py @@ -23,12 +23,36 @@ # tweak PYTHONPATH import sys diff --git a/games-strategy/outerspace/outerspace-0.5.68.ebuild b/games-strategy/outerspace/outerspace-0.5.68-r1.ebuild similarity index 65% rename from games-strategy/outerspace/outerspace-0.5.68.ebuild rename to games-strategy/outerspace/outerspace-0.5.68-r1.ebuild index 1fcc38fc07a5..7ac6c532fd49 100644 --- a/games-strategy/outerspace/outerspace-0.5.68.ebuild +++ b/games-strategy/outerspace/outerspace-0.5.68-r1.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 PYTHON_COMPAT=( python2_7 ) -inherit eutils gnome2-utils distutils-r1 games +inherit desktop gnome2-utils distutils-r1 -MY_PN=${PN/outerspace/Outer Space} -DESCRIPTION="on-line strategy game taking place in the dangerous universe" +MY_PN="${PN/outerspace/Outer Space}" +DESCRIPTION="On-line strategy game taking place in the dangerous universe" HOMEPAGE="http://www.ospace.net/" SRC_URI="mirror://sourceforge/ospace/Client/${PV}/Outer%20Space-${PV}.tar.gz -> ${P}.tar.gz mirror://sourceforge/ospace/Client/${PV}/outerspace_${PV}-0ubuntu1_all.deb" @@ -18,8 +18,9 @@ KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND=">=dev-python/pygame-1.7" +DEPEND="" -S=${WORKDIR}/${MY_PN}-${PV} +S="${WORKDIR}/${MY_PN}-${PV}" src_unpack() { default @@ -28,8 +29,8 @@ src_unpack() { python_install() { distutils-r1_python_install \ - --install-scripts="${GAMES_BINDIR}" \ - --install-data="${GAMES_DATADIR}/${PN}" \ + --install-scripts="/usr/bin" \ + --install-data="/usr/share/${PN}" \ --install-lib="$(python_get_sitedir)" # source tarball is missing files @@ -39,40 +40,31 @@ python_install() { } src_prepare() { + default + # fix setup script # rework python start script to avoid shell-wrapper script - epatch "${FILESDIR}"/${P}-setup.patch + eapply "${FILESDIR}"/${P}-setup.patch sed -i\ - -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ + -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \ osc.py || die "sed failed" distutils-r1_src_prepare } -src_compile() { - distutils-r1_src_compile -} - src_install() { distutils-r1_src_install - newicon -s 48 res/icon48.png ${PN}.png + newicon res/logo-login.png ${PN}.png make_desktop_entry "osc.py" "${MY_PN}" - prepgamesdirs } pkg_preinst() { - games_pkg_preinst gnome2_icon_savelist } pkg_postinst() { - games_pkg_postinst gnome2_icon_cache_update - - einfo - einfo "start the game via 'osc.py'" - einfo } pkg_postrm() { diff --git a/games-strategy/s25rttr/s25rttr-0.8.1-r2.ebuild b/games-strategy/s25rttr/s25rttr-0.8.1-r3.ebuild similarity index 73% rename from games-strategy/s25rttr/s25rttr-0.8.1-r2.ebuild rename to games-strategy/s25rttr/s25rttr-0.8.1-r3.ebuild index 52de4ccf0b7c..ac9ed2e6c5f6 100644 --- a/games-strategy/s25rttr/s25rttr-0.8.1-r2.ebuild +++ b/games-strategy/s25rttr/s25rttr-0.8.1-r3.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -inherit eutils cmake-utils gnome2-utils games +inherit eutils cmake-utils gnome2-utils readme.gentoo-r1 DESCRIPTION="Open Source remake of The Settlers II game (needs original game files)" HOMEPAGE="http://www.siedler25.org/" @@ -15,16 +15,19 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="debug" -RDEPEND="app-arch/bzip2 +RDEPEND=" + app-arch/bzip2 media-libs/libsamplerate media-libs/libsdl[X,sound,opengl,video] media-libs/libsndfile media-libs/sdl-mixer[vorbis] net-libs/miniupnpc virtual/libiconv - virtual/opengl" + virtual/opengl +" DEPEND="${RDEPEND} - sys-devel/gettext" + sys-devel/gettext +" PATCHES=( "${FILESDIR}"/${P}-cmake.patch @@ -36,9 +39,7 @@ PATCHES=( "${FILESDIR}"/${P}-gcc6.patch ) -src_prepare() { - cmake-utils_src_prepare -} +DOC_CONTENTS="Copy your Settlers2 game files into ~/.${PN}/S2" src_configure() { local arch @@ -54,11 +55,11 @@ src_configure() { -DCOMPILEFOR="linux" -DCOMPILEARCH="${arch}" -DCMAKE_SKIP_RPATH=YES - -DPREFIX="${GAMES_PREFIX}" - -DBINDIR="${GAMES_BINDIR}" - -DDATADIR="${GAMES_DATADIR}" - -DLIBDIR="$(games_get_libdir)/${PN}" - -DDRIVERDIR="$(games_get_libdir)/${PN}" + -DPREFIX="/usr/" + -DBINDIR="/usr/bin" + -DDATADIR="/usr/share" + -DLIBDIR="/usr/$(get_libdir)/${PN}" + -DDRIVERDIR="/usr/$(get_libdir)/${PN}" -DGAMEDIR="~/.${PN}/S2" -DBUILD_GLFW_DRIVER=OFF ) @@ -78,35 +79,32 @@ src_compile() { src_install() { cd "${CMAKE_BUILD_DIR}" || die - exeinto "$(games_get_libdir)"/${PN} + exeinto /usr/"$(get_libdir)"/${PN} doexe "${T}"/{sound-convert,s-c_resample} - exeinto "$(games_get_libdir)"/${PN}/video + exeinto /usr/"$(get_libdir)"/${PN}/video doexe driver/video/SDL/src/libvideoSDL.so - exeinto "$(games_get_libdir)"/${PN}/audio + exeinto /usr/"$(get_libdir)"/${PN}/audio doexe driver/audio/SDL/src/libaudioSDL.so - insinto "${GAMES_DATADIR}" + insinto /usr/share doins -r "${CMAKE_USE_DIR}"/RTTR - dosym ./LSTS/splash.bmp "${GAMES_DATADIR}"/RTTR/splash.bmp + dosym ./LSTS/splash.bmp /usr/share/RTTR/splash.bmp doicon -s 64 "${CMAKE_USE_DIR}"/debian/${PN}.png - dogamesbin src/s25client + dobin src/s25client make_desktop_entry "s25client" "Settlers RTTR" "${PN}" - dodoc RTTR/texte/{keyboardlayout.txt,readme.txt} - prepgamesdirs + dodoc RTTR/texte/{keyboardlayout.txt,readme.txt} + readme.gentoo_create_doc } pkg_preinst() { - games_pkg_preinst gnome2_icon_savelist } pkg_postinst() { - games_pkg_postinst - elog "Copy your Settlers2 game files into ~/.${PN}/S2" - gnome2_icon_cache_update + readme.gentoo_print_elog } pkg_postrm() { diff --git a/games-strategy/uqm/uqm-0.7.0-r3.ebuild b/games-strategy/uqm/uqm-0.7.0-r4.ebuild similarity index 77% rename from games-strategy/uqm/uqm-0.7.0-r3.ebuild rename to games-strategy/uqm/uqm-0.7.0-r4.ebuild index 0d0264e8f7a6..f04136716330 100644 --- a/games-strategy/uqm/uqm-0.7.0-r3.ebuild +++ b/games-strategy/uqm/uqm-0.7.0-r4.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils multilib toolchain-funcs games +EAPI=6 +inherit desktop toolchain-funcs DESCRIPTION="The Ur-Quan Masters: Port of Star Control 2" HOMEPAGE="http://sc2.sourceforge.net/" @@ -20,25 +20,30 @@ SLOT="0" KEYWORDS="~amd64 ~ppc64 ~x86" IUSE="music opengl remix voice" -RDEPEND="media-libs/libmikmod +RDEPEND=" + media-libs/libmikmod media-libs/libogg - >=media-libs/libpng-1.4:0 + >=media-libs/libpng-1.4:0= media-libs/libsdl[X,sound,joystick,video] media-libs/libvorbis media-libs/sdl-image[png] sys-libs/zlib - opengl? ( virtual/opengl )" + opengl? ( virtual/opengl ) +" DEPEND="${RDEPEND} - virtual/pkgconfig" + virtual/pkgconfig +" src_prepare() { + default + local myopengl use opengl \ && myopengl=opengl \ || myopengl=pure - epatch \ + eapply \ "${FILESDIR}"/${P}-tempdir.patch \ "${FILESDIR}"/${P}-warning.patch @@ -47,10 +52,10 @@ src_prepare() { CHOICE_graphics_VALUE='${myopengl}' CHOICE_sound_VALUE='mixsdl' CHOICE_accel_VALUE='plainc' - INPUT_install_prefix_VALUE='${GAMES_PREFIX}' + INPUT_install_prefix_VALUE='/usr/share' INPUT_install_bindir_VALUE='\$prefix/bin' INPUT_install_libdir_VALUE='\$prefix/lib' - INPUT_install_sharedir_VALUE='${GAMES_DATADIR}/' + INPUT_install_sharedir_VALUE='/usr/share/' EOF # Take out the read so we can be non-interactive. @@ -62,7 +67,7 @@ src_prepare() { -e "s/-O3//" build/unix/build.config || die sed -i \ - -e "s:@INSTALL_LIBDIR@:$(games_get_libdir)/:g" \ + -e "s:@INSTALL_LIBDIR@:/usr/$(get_libdir)/:g" \ build/unix/uqm-wrapper.in || die # respect CC @@ -79,15 +84,15 @@ src_install() { # Using the included install scripts seems quite painful. # This manual install is totally fragile but maybe they'll # use a sane build system for the next release. - newgamesbin uqm-wrapper uqm - exeinto "$(games_get_libdir)"/${PN} + newbin uqm-wrapper uqm + exeinto /usr/"$(get_libdir)"/${PN} doexe uqm - insinto "${GAMES_DATADIR}"/${PN}/content/packages + insinto /usr/share/${PN}/content/packages doins "${DISTDIR}"/${P}-content.uqm - echo ${P} > "${D}${GAMES_DATADIR}"/${PN}/content/version || die + echo ${P} > "${ED}"/usr/share/${PN}/content/version || die - insinto "${GAMES_DATADIR}"/${PN}/content/addons + insinto /usr/share/${PN}/content/addons if use music; then doins "${DISTDIR}"/${P}-3domusic.uqm fi @@ -97,7 +102,7 @@ src_install() { fi if use remix; then - insinto "${GAMES_DATADIR}"/${PN}/content/addons + insinto /usr/share/${PN}/content/addons doins "${DISTDIR}"/${PN}-remix-disc{1,2,3,4}.uqm fi @@ -107,5 +112,4 @@ src_install() { docinto devel/netplay dodoc doc/devel/netplay/* make_desktop_entry uqm "The Ur-Quan Masters" - prepgamesdirs } diff --git a/games-util/Manifest.gz b/games-util/Manifest.gz index a7234f64f817..d8efd58ea947 100644 Binary files a/games-util/Manifest.gz and b/games-util/Manifest.gz differ diff --git a/games-util/dfarc/dfarc-3.12.ebuild b/games-util/dfarc/dfarc-3.12-r1.ebuild similarity index 58% rename from games-util/dfarc/dfarc-3.12.ebuild rename to games-util/dfarc/dfarc-3.12-r1.ebuild index b290c3a959d1..c996a7d3172d 100644 --- a/games-util/dfarc/dfarc-3.12.ebuild +++ b/games-util/dfarc/dfarc-3.12-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 WX_GTK_VER="3.0" -inherit eutils gnome2-utils fdo-mime wxwidgets games +inherit eutils gnome2-utils wxwidgets xdg DESCRIPTION="Frontend and .dmod installer for GNU FreeDink" HOMEPAGE="http://www.freedink.org/" @@ -17,16 +17,16 @@ IUSE="nls" RDEPEND=" app-arch/bzip2 x11-misc/xdg-utils - x11-libs/wxGTK:${WX_GTK_VER}[X]" + x11-libs/wxGTK:${WX_GTK_VER}[X] +" DEPEND="${RDEPEND} - nls? ( >=dev-util/intltool-0.31 )" + nls? ( >=dev-util/intltool-0.31 ) +" -src_prepare() { - epatch "${FILESDIR}"/${P}-nowindres.patch -} +PATCHES=( "${FILESDIR}"/${P}-nowindres.patch ) src_configure() { - egamesconf \ + econf \ $(use_enable nls) \ --disable-desktopfiles } @@ -34,23 +34,19 @@ src_configure() { src_install() { default dodoc TRANSLATIONS.txt - prepgamesdirs } pkg_preinst() { - games_pkg_preinst + xdg_pkg_preinst gnome2_icon_savelist } pkg_postinst() { - games_pkg_postinst + xdg_pkg_postinst gnome2_icon_cache_update - fdo-mime_desktop_database_update - fdo-mime_mime_database_update } pkg_postrm() { + xdg_pkg_postrm gnome2_icon_cache_update - fdo-mime_desktop_database_update - fdo-mime_mime_database_update } diff --git a/games-util/dfarc/files/dfarc-3.12-nowindres.patch b/games-util/dfarc/files/dfarc-3.12-nowindres.patch index 78b71096973c..142658ccb001 100644 --- a/games-util/dfarc/files/dfarc-3.12-nowindres.patch +++ b/games-util/dfarc/files/dfarc-3.12-nowindres.patch @@ -1,5 +1,5 @@ ---- src/Makefile.in.orig 2016-04-05 12:49:17.997412757 -0400 -+++ src/Makefile.in 2016-04-05 12:50:42.058496766 -0400 +--- a/src/Makefile.in.orig 2016-04-05 12:49:17.997412757 -0400 ++++ b/src/Makefile.in 2016-04-05 12:50:42.058496766 -0400 @@ -100,7 +100,6 @@ Package.$(OBJEXT) RecursiveDelete.$(OBJEXT) Tar.$(OBJEXT) \ DFArcFrame_Base.$(OBJEXT) Options_Base.$(OBJEXT) \ diff --git a/games-util/uglygs/files/0_rc11-uglygs.conf.patch b/games-util/uglygs/files/0_rc11-uglygs.conf.patch index 6ee918c70088..f85c6a3c3198 100644 --- a/games-util/uglygs/files/0_rc11-uglygs.conf.patch +++ b/games-util/uglygs/files/0_rc11-uglygs.conf.patch @@ -1,5 +1,5 @@ ---- uglygs.conf.orig 2003-06-30 11:16:57.000000000 -0400 -+++ uglygs.conf 2003-06-30 11:22:50.000000000 -0400 +--- a/uglygs.conf.orig 2003-06-30 11:16:57.000000000 -0400 ++++ b/uglygs.conf 2003-06-30 11:22:50.000000000 -0400 @@ -12,22 +12,23 @@ $runmode = "loop"; # Run mode, Run as a loop or as a cron Executable diff --git a/games-util/uglygs/files/0_rc11-uglygs.pl.patch b/games-util/uglygs/files/0_rc11-uglygs.pl.patch index 8c7f7943c978..61758e621a9a 100644 --- a/games-util/uglygs/files/0_rc11-uglygs.pl.patch +++ b/games-util/uglygs/files/0_rc11-uglygs.pl.patch @@ -1,5 +1,5 @@ ---- uglygs.pl.orig 2003-06-30 11:37:59.000000000 -0400 -+++ uglygs.pl 2003-06-30 11:38:30.000000000 -0400 +--- a/uglygs.pl.orig 2003-06-30 11:37:59.000000000 -0400 ++++ b/uglygs.pl 2003-06-30 11:38:30.000000000 -0400 @@ -8,7 +8,8 @@ ########## Contact uglygs@uglypunk.com ########## ######################################################################################################################### @@ -127,5 +127,5 @@ while($serverline = ){ my @data = split(/ /,$serverline); if ($data[0] eq "