Browse Source

Sync with portage [Thu May 3 08:23:25 MSK 2018].

tags/1132
root 3 years ago
parent
commit
1f42462ec5
100 changed files with 679 additions and 1238 deletions
  1. BIN
      Manifest.files.gz
  2. BIN
      app-antivirus/Manifest.gz
  3. +1
    -1
      app-antivirus/clamav/clamav-0.100.0.ebuild
  4. BIN
      app-arch/Manifest.gz
  5. +2
    -7
      app-arch/cfv/cfv-1.18.3-r1.ebuild
  6. BIN
      app-vim/Manifest.gz
  7. +1
    -1
      app-vim/vimpress/vimpress-2.1.5.ebuild
  8. BIN
      dev-libs/Manifest.gz
  9. +1
    -1
      dev-libs/json-c/json-c-0.13.1-r1.ebuild
  10. +1
    -1
      dev-libs/libmspack/libmspack-0.6_alpha.ebuild
  11. BIN
      dev-lisp/Manifest.gz
  12. +0
    -1
      dev-lisp/clozurecl/Manifest
  13. +0
    -91
      dev-lisp/clozurecl/clozurecl-1.10.ebuild
  14. BIN
      games-strategy/Manifest.gz
  15. +20
    -22
      games-strategy/freesynd/freesynd-0.7.1-r1.ebuild
  16. +8
    -8
      games-strategy/galaxyhack/files/galaxyhack-1.74-boost-1.50.patch
  17. +2
    -2
      games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch
  18. +2
    -2
      games-strategy/galaxyhack/files/galaxyhack-1.74-format.patch
  19. +2
    -2
      games-strategy/galaxyhack/files/galaxyhack-1.74-gentoo.patch
  20. +28
    -20
      games-strategy/galaxyhack/galaxyhack-1.74-r1.ebuild
  21. +2
    -2
      games-strategy/glob2/files/glob2-0.9.4.4-gcc44.patch
  22. +2
    -2
      games-strategy/glob2/files/glob2-0.9.4.4-scons-blows.patch
  23. +12
    -16
      games-strategy/glob2/glob2-0.9.4.4-r2.ebuild
  24. +11
    -11
      games-strategy/knights-demo/knights-demo-1.32-r2.ebuild
  25. +19
    -19
      games-strategy/lgeneral/lgeneral-1.3.1-r2.ebuild
  26. +2
    -2
      games-strategy/lightyears/files/lightyears-1.4-gentoo.patch
  27. +0
    -52
      games-strategy/lightyears/lightyears-1.4-r1.ebuild
  28. +50
    -0
      games-strategy/lightyears/lightyears-1.4-r2.ebuild
  29. +6
    -6
      games-strategy/liquidwar/files/liquidwar-5.6.4-exec-stack.patch
  30. +2
    -2
      games-strategy/liquidwar/files/liquidwar-5.6.4-ovflfix.patch
  31. +2
    -2
      games-strategy/liquidwar/files/liquidwar-5.6.4-underlink.patch
  32. +16
    -12
      games-strategy/liquidwar/liquidwar-5.6.4-r2.ebuild
  33. +14
    -14
      games-strategy/majesty-demo/majesty-demo-1.0.0-r1.ebuild
  34. +13
    -15
      games-strategy/naev/naev-0.6.1-r1.ebuild
  35. +2
    -2
      games-strategy/netherearth/files/netherearth-0.52-freeglut.patch
  36. +2
    -2
      games-strategy/netherearth/files/netherearth-0.52-ldflags.patch
  37. +21
    -15
      games-strategy/netherearth/netherearth-0.52-r1.ebuild
  38. +4
    -4
      games-strategy/outerspace/files/outerspace-0.5.68-setup.patch
  39. +14
    -22
      games-strategy/outerspace/outerspace-0.5.68-r1.ebuild
  40. +23
    -25
      games-strategy/s25rttr/s25rttr-0.8.1-r3.ebuild
  41. +22
    -18
      games-strategy/uqm/uqm-0.7.0-r4.ebuild
  42. BIN
      games-util/Manifest.gz
  43. +12
    -16
      games-util/dfarc/dfarc-3.12-r1.ebuild
  44. +2
    -2
      games-util/dfarc/files/dfarc-3.12-nowindres.patch
  45. +2
    -2
      games-util/uglygs/files/0_rc11-uglygs.conf.patch
  46. +4
    -4
      games-util/uglygs/files/0_rc11-uglygs.pl.patch
  47. +0
    -0
      games-util/uglygs/servers.cfg
  48. +55
    -0
      games-util/uglygs/uglygs-0_rc11-r1.ebuild
  49. +0
    -62
      games-util/uglygs/uglygs-0_rc11.ebuild
  50. BIN
      media-gfx/Manifest.gz
  51. +0
    -1
      media-gfx/digikam/Manifest
  52. +0
    -174
      media-gfx/digikam/digikam-5.7.0-r3.ebuild
  53. +0
    -43
      media-gfx/digikam/files/digikam-5.7.0-kcalcore-1.patch
  54. +0
    -78
      media-gfx/digikam/files/digikam-5.7.0-kcalcore-2.patch
  55. +0
    -27
      media-gfx/digikam/files/digikam-5.7.0-kreadconfig5.patch
  56. +0
    -57
      media-gfx/digikam/files/digikam-5.7.0-mariadb-10.2-1.patch
  57. +0
    -116
      media-gfx/digikam/files/digikam-5.7.0-mariadb-10.2-2.patch
  58. +0
    -31
      media-gfx/digikam/files/digikam-5.7.0-qt-5.9.3.patch
  59. BIN
      media-plugins/Manifest.gz
  60. +0
    -1
      media-plugins/kipi-plugins/Manifest
  61. +0
    -81
      media-plugins/kipi-plugins/kipi-plugins-5.7.0.ebuild
  62. BIN
      metadata/Manifest.gz
  63. +1
    -1
      metadata/dtd/timestamp.chk
  64. BIN
      metadata/glsa/Manifest.files.gz
  65. +50
    -0
      metadata/glsa/glsa-201805-01.xml
  66. +52
    -0
      metadata/glsa/glsa-201805-02.xml
  67. +72
    -0
      metadata/glsa/glsa-201805-03.xml
  68. +1
    -1
      metadata/glsa/timestamp.chk
  69. +1
    -1
      metadata/glsa/timestamp.commit
  70. BIN
      metadata/md5-cache/Manifest.gz
  71. BIN
      metadata/md5-cache/app-antivirus/Manifest.gz
  72. +2
    -2
      metadata/md5-cache/app-antivirus/clamav-0.100.0
  73. BIN
      metadata/md5-cache/app-arch/Manifest.gz
  74. +2
    -2
      metadata/md5-cache/app-arch/cfv-1.18.3-r1
  75. BIN
      metadata/md5-cache/app-vim/Manifest.gz
  76. +2
    -2
      metadata/md5-cache/app-vim/vimpress-2.1.5
  77. BIN
      metadata/md5-cache/dev-libs/Manifest.gz
  78. +2
    -2
      metadata/md5-cache/dev-libs/json-c-0.13.1-r1
  79. +2
    -2
      metadata/md5-cache/dev-libs/libmspack-0.6_alpha
  80. BIN
      metadata/md5-cache/dev-lisp/Manifest.gz
  81. +0
    -13
      metadata/md5-cache/dev-lisp/clozurecl-1.10
  82. BIN
      metadata/md5-cache/games-strategy/Manifest.gz
  83. +0
    -13
      metadata/md5-cache/games-strategy/freesynd-0.7.1
  84. +13
    -0
      metadata/md5-cache/games-strategy/freesynd-0.7.1-r1
  85. +0
    -12
      metadata/md5-cache/games-strategy/galaxyhack-1.74
  86. +10
    -0
      metadata/md5-cache/games-strategy/galaxyhack-1.74-r1
  87. +0
    -12
      metadata/md5-cache/games-strategy/glob2-0.9.4.4-r1
  88. +12
    -0
      metadata/md5-cache/games-strategy/glob2-0.9.4.4-r2
  89. +0
    -12
      metadata/md5-cache/games-strategy/knights-demo-1.32-r1
  90. +12
    -0
      metadata/md5-cache/games-strategy/knights-demo-1.32-r2
  91. +0
    -13
      metadata/md5-cache/games-strategy/lgeneral-1.3.1-r1
  92. +13
    -0
      metadata/md5-cache/games-strategy/lgeneral-1.3.1-r2
  93. +0
    -14
      metadata/md5-cache/games-strategy/lightyears-1.4-r1
  94. +12
    -0
      metadata/md5-cache/games-strategy/lightyears-1.4-r2
  95. +0
    -14
      metadata/md5-cache/games-strategy/liquidwar-5.6.4-r1
  96. +13
    -0
      metadata/md5-cache/games-strategy/liquidwar-5.6.4-r2
  97. +0
    -12
      metadata/md5-cache/games-strategy/majesty-demo-1.0.0
  98. +12
    -0
      metadata/md5-cache/games-strategy/majesty-demo-1.0.0-r1
  99. +0
    -13
      metadata/md5-cache/games-strategy/naev-0.6.1
  100. +13
    -0
      metadata/md5-cache/games-strategy/naev-0.6.1-r1

BIN
Manifest.files.gz View File


BIN
app-antivirus/Manifest.gz View File


+ 1
- 1
app-antivirus/clamav/clamav-0.100.0.ebuild View File

@@ -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 )


BIN
app-arch/Manifest.gz View File


+ 2
- 7
app-arch/cfv/cfv-1.18.3-r1.ebuild View File

@@ -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}



BIN
app-vim/Manifest.gz View File


+ 1
- 1
app-vim/vimpress/vimpress-2.1.5.ebuild View File

@@ -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"


BIN
dev-libs/Manifest.gz View File


dev-libs/json-c/json-c-0.13.1.ebuild → dev-libs/json-c/json-c-0.13.1-r1.ebuild View File

@@ -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"


+ 1
- 1
dev-libs/libmspack/libmspack-0.6_alpha.ebuild View File

@@ -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=""


BIN
dev-lisp/Manifest.gz View File


+ 0
- 1
dev-lisp/clozurecl/Manifest View File

@@ -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


+ 0
- 91
dev-lisp/clozurecl/clozurecl-1.10.ebuild View File

@@ -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
}

BIN
games-strategy/Manifest.gz View File


games-strategy/freesynd/freesynd-0.7.1.ebuild → games-strategy/freesynd/freesynd-0.7.1-r1.ebuild View File

@@ -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() {

+ 8
- 8
games-strategy/galaxyhack/files/galaxyhack-1.74-boost-1.50.patch View File

@@ -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) {


+ 2
- 2
games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch View File

@@ -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";


+ 2
- 2
games-strategy/galaxyhack/files/galaxyhack-1.74-format.patch View File

@@ -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) {


+ 2
- 2
games-strategy/galaxyhack/files/galaxyhack-1.74-gentoo.patch View File

@@ -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 <evertonsm@yahoo.com.br>
#


games-strategy/galaxyhack/galaxyhack-1.74.ebuild → games-strategy/galaxyhack/galaxyhack-1.74-r1.ebuild View File

@@ -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
}

+ 2
- 2
games-strategy/glob2/files/glob2-0.9.4.4-gcc44.patch View File

@@ -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


+ 2
- 2
games-strategy/glob2/files/glob2-0.9.4.4-scons-blows.patch View File

@@ -1,5 +1,5 @@
--- SConstruct.orig
+++ SConstruct
--- a/SConstruct.orig
+++ b/SConstruct
@@ -1,6 +1,7 @@
EnsureSConsVersion(0, 96, 92)
import sys


games-strategy/glob2/glob2-0.9.4.4-r1.ebuild → games-strategy/glob2/glob2-0.9.4.4-r2.ebuild View File

@@ -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
}


games-strategy/knights-demo/knights-demo-1.32-r1.ebuild → games-strategy/knights-demo/knights-demo-1.32-r2.ebuild View File

@@ -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
}

games-strategy/lgeneral/lgeneral-1.3.1-r1.ebuild → games-strategy/lgeneral/lgeneral-1.3.1-r2.ebuild View File

@@ -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
}


+ 2
- 2
games-strategy/lightyears/files/lightyears-1.4-gentoo.patch View File

@@ -1,5 +1,5 @@
--- lightyears
+++ lightyears
--- a/lightyears
+++ b/lightyears
@@ -1,7 +1,6 @@
#!/usr/bin/python


+ 0
- 52
games-strategy/lightyears/lightyears-1.4-r1.ebuild View File

@@ -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
}

+ 50
- 0
games-strategy/lightyears/lightyears-1.4-r2.ebuild View File

@@ -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"
}

+ 6
- 6
games-strategy/liquidwar/files/liquidwar-5.6.4-exec-stack.patch View File

@@ -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 @@


+ 2
- 2
games-strategy/liquidwar/files/liquidwar-5.6.4-ovflfix.patch View File

@@ -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;


+ 2
- 2
games-strategy/liquidwar/files/liquidwar-5.6.4-underlink.patch View File

@@ -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


games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild → games-strategy/liquidwar/liquidwar-5.6.4-r2.ebuild View File

@@ -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
}

games-strategy/majesty-demo/majesty-demo-1.0.0.ebuild → games-strategy/majesty-demo/majesty-demo-1.0.0-r1.ebuild View File

@@ -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)"
}

games-strategy/naev/naev-0.6.1.ebuild → games-strategy/naev/naev-0.6.1-r1.ebuild View File

@@ -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
}


+ 2
- 2
games-strategy/netherearth/files/netherearth-0.52-freeglut.patch View File

@@ -1,5 +1,5 @@
--- main.cpp
+++ main.cpp
--- a/main.cpp
+++ b/main.cpp
@@ -8,6 +8,7 @@
#include <stdio.h>


+ 2
- 2
games-strategy/netherearth/files/netherearth-0.52-ldflags.patch View File

@@ -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)


games-strategy/netherearth/netherearth-0.52.ebuild → games-strategy/netherearth/netherearth-0.52-r1.ebuild View File

@@ -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
}

+ 4
- 4
games-strategy/outerspace/files/outerspace-0.5.68-setup.patch View File

@@ -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


games-strategy/outerspace/outerspace-0.5.68.ebuild → games-strategy/outerspace/outerspace-0.5.68-r1.ebuild View File

@@ -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() {

games-strategy/s25rttr/s25rttr-0.8.1-r2.ebuild → games-strategy/s25rttr/s25rttr-0.8.1-r3.ebuild View File

@@ -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() {

games-strategy/uqm/uqm-0.7.0-r3.ebuild → games-strategy/uqm/uqm-0.7.0-r4.ebuild View File

@@ -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
}

BIN
games-util/Manifest.gz View File


games-util/dfarc/dfarc-3.12.ebuild → games-util/dfarc/dfarc-3.12-r1.ebuild View File

@@ -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
}

+ 2
- 2
games-util/dfarc/files/dfarc-3.12-nowindres.patch View File

@@ -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) \


+ 2
- 2
games-util/uglygs/files/0_rc11-uglygs.conf.patch View File

@@ -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


+ 4
- 4
games-util/uglygs/files/0_rc11-uglygs.pl.patch View File

@@ -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 = <QSTAT>){
my @data = split(/ /,$serverline);
if ($data[0] eq "<!--" and $data[1] eq "gamedetails"){
--- uglygs.pl.orig 2003-06-30 13:56:01.000000000 -0400
+++ uglygs.pl 2003-06-30 13:59:17.000000000 -0400
--- a/uglygs.pl.orig 2003-06-30 13:56:01.000000000 -0400
+++ b/uglygs.pl 2003-06-30 13:59:17.000000000 -0400

+ 0
- 0
games-util/uglygs/servers.cfg View File


+ 55
- 0
games-util/uglygs/uglygs-0_rc11-r1.ebuild View File

@@ -0,0 +1,55 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

MY_P="${P/0_/}"
DESCRIPTION="Quickly searches the network for game servers"
HOMEPAGE="http://uglygs.uglypunk.com/"
SRC_URI="ftp://ftp.uglypunk.com/uglygs/current/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~alpha ~hppa ~x86"
IUSE=""

DEPEND="net-analyzer/rrdtool[graph]
dev-lang/perl"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${MY_P}"

src_prepare() {
default
eapply "${FILESDIR}"/${PV}-uglygs.conf.patch
sed -i \
-e "s:GENTOO_DIR:/usr/$(get_libdir)/${PN}:" uglygs.conf || die
eapply "${FILESDIR}"/${PV}-uglygs.pl.patch
sed -i \
-e "s:GENTOO_DIR:/etc:" uglygs.pl || die
sed -i \
-e "s/strndup/${PN}_strndup/" qstat/qstat.c || die
}

src_compile() {
emake -C qstat CFLAGS="${CFLAGS}"
}

src_install() {
insinto /etc
doins uglygs.conf qstat/qstat.cfg

dobin uglygs.pl

insinto /usr/"$(get_libdir)"/${PN}
doins -r data templates tmp
insinto /usr/"$(get_libdir)"/${PN}/images
doins -r images/{avp2,bds,default.gif,hls,j2s,mhs,q3s,rws,sf2s,uns,vcs}
dosym bds /usr/"$(get_libdir)"/${PN}/images/bdl
keepdir /usr/"$(get_libdir)"/${PN}/tmp

exeinto /usr/"$(get_libdir)"/${PN}
doexe qstat/qstat

einstalldocs
}

+ 0
- 62
games-util/uglygs/uglygs-0_rc11.ebuild View File

@@ -1,62 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
inherit eutils games

MY_P=${P/0_/}
DESCRIPTION="quickly searches the network for game servers"
HOMEPAGE="http://uglygs.uglypunk.com/"
SRC_URI="ftp://ftp.uglypunk.com/uglygs/current/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~hppa ~x86"
IUSE=""

DEPEND="net-analyzer/rrdtool[graph]
dev-lang/perl"
RDEPEND=${DEPEND}

S=${WORKDIR}/${MY_P}

src_prepare() {
epatch "${FILESDIR}"/${PV}-uglygs.conf.patch
sed -i \
-e "s:GENTOO_DIR:$(games_get_libdir)/${PN}:" uglygs.conf || die
epatch "${FILESDIR}"/${PV}-uglygs.pl.patch
sed -i \
-e "s:GENTOO_DIR:${GAMES_SYSCONFDIR}:" uglygs.pl || die
sed -i \
-e "s/strndup/${PN}_strndup/" qstat/qstat.c || die
}

src_compile() {
emake -C qstat CFLAGS="${CFLAGS}"
}

src_install() {
insinto "${GAMES_SYSCONFDIR}"
doins uglygs.conf qstat/qstat.cfg

dogamesbin uglygs.pl

insinto "$(games_get_libdir)"/${PN}
doins -r data templates tmp
insinto "$(games_get_libdir)"/${PN}/images
doins -r images/{avp2,bds,default.gif,hls,j2s,mhs,q3s,rws,sf2s,uns,vcs}
dosym bds "$(games_get_libdir)"/${PN}/images/bdl
keepdir "$(games_get_libdir)"/${PN}/tmp

exeinto "$(games_get_libdir)"/${PN}
doexe qstat/qstat

dodoc CHANGES README

prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst
elog "Dont forget to setup ${GAMES_SYSCONFDIR}/uglygs.conf and ${GAMES_SYSCONFDIR}/qstat.cfg"
}

BIN
media-gfx/Manifest.gz View File


+ 0
- 1
media-gfx/digikam/Manifest View File

@@ -1,2 +1 @@
DIST digikam-5.7.0.tar.xz 123315064 BLAKE2B 0879b25e674e39d204038ab629dec36757ae034e3dd7e9a0a3700f9703272c4a972a21c1db5a42c6c294247a1226b1cb9a8b980bb90cdcc12e0cd752459273ef SHA512 626c9854311c637b994325237f171adce3dba39159fb336dfe95f1de287e2d08a3aaddd611eea87e8018047d331aff252b555c382cfbe1d8e14413c51a3849f4
DIST digikam-5.9.0.tar.xz 132931184 BLAKE2B cfbcbae8471c9c00bdf846d13bbc1ce3fbbd2ee4cc86500d011f9e15c1a21d7799638f94708794e8bc36a200df455667f9df8fcefdc38aaa00060630807d11cb SHA512 f6134a957dcd11343e34f0bc90f5560a28ed205c47d2ffd76a5418a4c63f76706045e9179c47f1448304b59081051b524f7a6847c3c1dcee4673047ce5d90e63

+ 0
- 174
media-gfx/digikam/digikam-5.7.0-r3.ebuild View File

@@ -1,174 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

if [[ ${KDE_BUILD_TYPE} != live ]]; then
KDE_HANDBOOK="true"
KDE_TEST="true"
fi
CMAKE_MAKEFILE_GENERATOR="emake"
KDE_APPS_MINIMAL="17.12.0"
inherit kde5 toolchain-funcs

DESCRIPTION="Digital photo management application"
HOMEPAGE="https://www.digikam.org/"

LICENSE="GPL-2"
IUSE="addressbook calendar gphoto2 jpeg2k +kipi +lensfun marble mediaplayer semantic-desktop mysql opengl openmp +panorama scanner X"

if [[ ${KDE_BUILD_TYPE} != live ]]; then
KEYWORDS="amd64 x86"
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}
SRC_BRANCH=stable
[[ ${PV} =~ beta[0-9]$ ]] && SRC_BRANCH=unstable
SRC_URI="mirror://kde/${SRC_BRANCH}/digikam/${MY_P}.tar.xz"
S="${WORKDIR}/${MY_P}/core"
fi

COMMON_DEPEND="
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kio)
$(add_frameworks_dep knotifications)
$(add_frameworks_dep knotifyconfig)
$(add_frameworks_dep kservice)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kwindowsystem)
$(add_frameworks_dep kxmlgui)
$(add_frameworks_dep solid)
$(add_qt_dep qtconcurrent)
$(add_qt_dep qtdbus)
$(add_qt_dep qtgui '-gles2')
$(add_qt_dep qtprintsupport)
$(add_qt_dep qtsql 'mysql?')
$(add_qt_dep qtwebkit)
$(add_qt_dep qtwidgets)
$(add_qt_dep qtxml)
dev-libs/expat
>=media-gfx/exiv2-0.26:=
media-libs/lcms:2
media-libs/liblqr
media-libs/libpng:0=
media-libs/opencv:=[-qt4(-)]
|| ( <media-libs/opencv-3.0.0 >=media-libs/opencv-3.1.0 )
media-libs/tiff:0
virtual/jpeg:0
addressbook? (
$(add_kdeapps_dep akonadi-contacts)
$(add_kdeapps_dep kcontacts)
)
calendar? ( $(add_kdeapps_dep kcalcore) )
gphoto2? ( media-libs/libgphoto2:= )
jpeg2k? ( media-libs/jasper:= )
kipi? ( $(add_kdeapps_dep libkipi '' '16.03.80') )
lensfun? ( media-libs/lensfun )
marble? (
$(add_frameworks_dep kbookmarks)
$(add_kdeapps_dep marble)
$(add_qt_dep qtconcurrent)
$(add_qt_dep qtnetwork)
)
mediaplayer? ( media-libs/qtav[opengl] )
mysql? ( virtual/mysql[server] )
opengl? (
$(add_qt_dep qtopengl)
virtual/opengl
)
panorama? ( $(add_frameworks_dep threadweaver) )
scanner? ( $(add_kdeapps_dep libksane) )
semantic-desktop? ( $(add_frameworks_dep kfilemetadata) )
X? (
$(add_qt_dep qtx11extras)
x11-libs/libX11
)
"
DEPEND="${COMMON_DEPEND}
dev-cpp/eigen:3
dev-libs/boost[threads]
sys-devel/gettext
panorama? (
sys-devel/bison
sys-devel/flex
)
"
RDEPEND="${COMMON_DEPEND}
media-plugins/kipi-plugins:5
panorama? ( media-gfx/hugin )
!media-gfx/digikam:4
"

RESTRICT=test
# bug 366505

PATCHES=(
"${FILESDIR}"/${P}-qt-5.9.3.patch
"${FILESDIR}"/${P}-mariadb-10.2-{1,2}.patch
"${FILESDIR}"/${P}-kreadconfig5.patch
"${FILESDIR}"/${P}-kcalcore-{1,2}.patch
)

pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
kde5_pkg_pretend
}

pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
kde5_pkg_setup
}

# FIXME: Unbundle libraw (libs/rawengine/libraw)
src_prepare() {
if [[ ${KDE_BUILD_TYPE} != live ]]; then
# prepare the translations
mv "${WORKDIR}/${MY_P}/po" po || die
find po -name "*.po" -and -not -name "digikam.po" -delete || die
echo "set_property(GLOBAL PROPERTY ALLOW_DUPLICATE_CUSTOM_TARGETS 1)" >> CMakeLists.txt || die
echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt || die
echo "add_subdirectory( po )" >> CMakeLists.txt || die

if use handbook; then
# subdirs need to be preserved b/c relative paths...
# doc-translated is, in fact, broken, and ignored
mv "${WORKDIR}/${MY_P}/doc/${PN}" doc-default || die
echo "find_package(KF5DocTools REQUIRED)" >> CMakeLists.txt || die
echo "add_subdirectory( doc-default )" >> CMakeLists.txt || die
fi
fi

if ! use marble; then
punt_bogus_dep Qt5 Network
fi

kde5_src_prepare
}

src_configure() {
local mycmakeargs=(
-DENABLE_APPSTYLES=ON
-DENABLE_AKONADICONTACTSUPPORT=$(usex addressbook)
-DENABLE_MEDIAPLAYER=$(usex mediaplayer)
-DENABLE_MYSQLSUPPORT=$(usex mysql)
-DENABLE_OPENCV3=$(has_version ">=media-libs/opencv-3" && echo yes || echo no)
$(cmake-utils_use_find_package calendar KF5CalendarCore)
$(cmake-utils_use_find_package gphoto2 Gphoto2)
$(cmake-utils_use_find_package jpeg2k Jasper)
$(cmake-utils_use_find_package kipi KF5Kipi)
$(cmake-utils_use_find_package lensfun LensFun)
$(cmake-utils_use_find_package marble Marble)
$(cmake-utils_use_find_package mediaplayer QtAV)
$(cmake-utils_use_find_package opengl OpenGL)
$(cmake-utils_use_find_package openmp OpenMP)
$(cmake-utils_use_find_package panorama KF5ThreadWeaver)
$(cmake-utils_use_find_package scanner KF5Sane)
$(cmake-utils_use_find_package semantic-desktop KF5FileMetaData)
$(cmake-utils_use_find_package X X11)
)

kde5_src_configure
}

+ 0
- 43
media-gfx/digikam/files/digikam-5.7.0-kcalcore-1.patch View File

@@ -1,44 +0,0 @@
From 12ab7af4618f10d39d4a977e00a0e68a3aac9bd2 Mon Sep 17 00:00:00 2001
From: Simon Frei <freisim93@gmail.com>
Date: Wed, 13 Sep 2017 15:43:49 +0200
Subject: calendar: Adjust to new KCalCore API (fixes CI)

---
utilities/assistants/calendar/print/calsettings.cpp | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/utilities/assistants/calendar/print/calsettings.cpp b/utilities/assistants/calendar/print/calsettings.cpp
index b0bed5a..46e995d 100644
--- a/utilities/assistants/calendar/print/calsettings.cpp
+++ b/utilities/assistants/calendar/print/calsettings.cpp
@@ -31,12 +31,17 @@
#include "digikam_debug.h"
#include "calsystem.h"
-// KCalCore includes
#ifdef HAVE_KCALENDAR
+ // KCalCore includes
+
# include <kcalcore/icalformat.h>
# include <kcalcore/filestorage.h>
# include <kcalcore/memorycalendar.h>
+
+ // Qt includes
+
+# include <QTimeZone>
#endif // HAVE_KCALENDAR
namespace Digikam
@@ -290,7 +295,7 @@ void CalSettings::loadSpecial(const QUrl& url, const QColor& color)
return;
}
- KCalCore::MemoryCalendar::Ptr memCal(new KCalCore::MemoryCalendar(QString::fromLatin1("UTC")));
+ KCalCore::MemoryCalendar::Ptr memCal(new KCalCore::MemoryCalendar(QTimeZone(0)));
KCalCore::FileStorage::Ptr fileStorage(new KCalCore::FileStorage(memCal, url.toLocalFile(), new KCalCore::ICalFormat));