summaryrefslogtreecommitdiff
path: root/games-engines/scummvm-tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-engines/scummvm-tools
reinit the tree, so we can have metadata
Diffstat (limited to 'games-engines/scummvm-tools')
-rw-r--r--games-engines/scummvm-tools/Manifest7
-rw-r--r--games-engines/scummvm-tools/files/scummvm-tools-1.8.0-binprefix.patch11
-rw-r--r--games-engines/scummvm-tools/metadata.xml11
-rw-r--r--games-engines/scummvm-tools/scummvm-tools-1.8.0-r1.ebuild58
-rw-r--r--games-engines/scummvm-tools/scummvm-tools-1.8.0.ebuild57
5 files changed, 144 insertions, 0 deletions
diff --git a/games-engines/scummvm-tools/Manifest b/games-engines/scummvm-tools/Manifest
new file mode 100644
index 000000000000..81f5f1ec931c
--- /dev/null
+++ b/games-engines/scummvm-tools/Manifest
@@ -0,0 +1,7 @@
+AUX scummvm-tools-1.8.0-binprefix.patch 539 SHA256 23d256f53d9fcf9a1989c03bbac5470673215a9f22c1ffd4ed787b9b5f22a511 SHA512 4d2f06dcc3092dd5abab218b68c83dfc2353810b56e3a1d41fab1c7eb20b008ed2e54af486c4c4f2ecbd383ef0afa6f333ed90c694ed3b1733393a6f2ef6fbe3 WHIRLPOOL aa9f690f96c808796a4ae808e50756b9de1fc220077bbfc7ba74c0e7c6a16432105d58787eec4878084889c3717f3538bd81fc6c15b925eb95c23b9a1cd138d5
+DIST scummvm-tools-1.8.0.tar.xz 864048 SHA256 2c14050cee3fb8e178cb9ff16a4412ab584001757b4824c75b24240eb2d98bdd SHA512 eed0aa0cceef59c42aabe94fe382a4494085c479d310cb624131746a1cbacc37d4a43603a5321167eb5fd4d9d8235fc794bdca5a3417fc4d224213e5409347ed WHIRLPOOL a16fd22cda96b1c633a5c0b70cbfc9393ece6ac4da8f52393e2041cafe2091fb1b57f006ec507f320f69a172c3e522faed521047379ba2c154541070173a348a
+EBUILD scummvm-tools-1.8.0-r1.ebuild 1304 SHA256 03697fae9d8b882841c0df7f1b26ffe9826862a3a07db2f7956e05dca9b71d4d SHA512 42ff6659c2505d40df6b107958e138d3e346402b1bbed325a10a30bb5041091096a07e78114fdb8ac597b76aa5a9fda3f01b76350d1416565185738bc18c4cf1 WHIRLPOOL 01f3e59127d882d9d1c0271ab258c69640e0b03e8f27de8101979da884357bfc27d967a756065d30a22734f5b78e895de15a608ab4815cffd2d5c3044016aa8f
+EBUILD scummvm-tools-1.8.0.ebuild 1398 SHA256 c9ab2f8740e6e6321731d696f7ba7fcfef3932933b771a5f4d345a8fa8dc82fd SHA512 4612400c76570ad9ef2b7ab40ac8500227f8f98e902bd5bb946205a61c73ee49642f0ec35df57c7686a59c60b241457eaa6c3692b2d67c9fc8aac393c097a3a5 WHIRLPOOL fb413f5545973b5e6ae4ab3c175522d29d29874cf55271a85316b6ac4a762c0708695ffcc39e0113b86f923b3d0bbaba7ccced4992a79bbeac52e1c0b583bc90
+MISC ChangeLog 4871 SHA256 85a83c2a9f883f9f240fc9f7c29d05008a6877b878b9e049883a0ef1026cb17d SHA512 17c6344199679829e5ecfe69c49b5a2df146411cb6808f389ffdfde9f24535dfd67c9e4380ecccfad22258061e2131bc97dbefa03e48c1608acfef478221d9f8 WHIRLPOOL a4810012ee70a2126b5ff9a0293209023aa0831d89147b3f6e3ca397324676f420b925fab532121500184e0f601bd44eb95c778024b8d98bd91a445caf561193
+MISC ChangeLog-2015 8845 SHA256 e2ce2de21699a2cfeafc5f20a4693c7b9e8a439180972b80414a7a9857d45439 SHA512 731b0a48b2a6f472b432c3a6436868e23071da3b73608e46b69e1e1647471e5c7e1bc8cf73a931c943271e32e195c6a24d2af3c2054450b184edf32f2726579b WHIRLPOOL 41d94dded0998fe79eb82e12a55eb76a6461b0cd5d76bd69d2f477d9bc8a010e17976eed7c0d585094dd19305e30a488df48d39172201c3d6f44e4f01fec11e6
+MISC metadata.xml 330 SHA256 0d5c67cb9a53d3220c7278b788f0cb6098e2e2da9fbe32dab98b52bf2e7d3bd6 SHA512 4541c93daab84bd6d0764adccf44bb4986ba02303e731b5b9a7a8060bb88a32c1cef91e2b2910e15915b67cf3ea2b5f31b4e637909d1d0b7c3b627f1134206dc WHIRLPOOL 9f36f51c4682de84bedf3b7757f32ca434702738412ae588f0232a505740d5110d72c13442e4753fbb8f804563c47be02e2f61247c0933895f76e468b3abe0db
diff --git a/games-engines/scummvm-tools/files/scummvm-tools-1.8.0-binprefix.patch b/games-engines/scummvm-tools/files/scummvm-tools-1.8.0-binprefix.patch
new file mode 100644
index 000000000000..604db075395c
--- /dev/null
+++ b/games-engines/scummvm-tools/files/scummvm-tools-1.8.0-binprefix.patch
@@ -0,0 +1,11 @@
+--- scummvm-tools-1.7.0.orig/Makefile.common
++++ scummvm-tools-1.7.0/Makefile.common
+@@ -312,7 +312,7 @@
+ install: $(TARGETS)
+ $(INSTALL) -p -m 0755 -d $(DESTDIR)$(BINDIR)
+ $(INSTALL) -p -m 0755 -d $(DESTDIR)$(DATADIR)/scummvm-tools
+- for i in $^ ; do $(INSTALL) -p -m 0755 $$i $(DESTDIR)$(BINDIR) ; done
++ for i in $^ ; do $(INSTALL) -p -m 0755 $$i $(DESTDIR)$(BINDIR)/$(EXEPREFIX)$$i ; done
+ $(INSTALL) -m 0755 -d $(DESTDIR)$(DATADIR)/scummvm-tools
+ $(INSTALL) -p -m 0644 $(srcdir)/gui/media/*.* $(DESTDIR)$(DATADIR)/scummvm-tools
+
diff --git a/games-engines/scummvm-tools/metadata.xml b/games-engines/scummvm-tools/metadata.xml
new file mode 100644
index 000000000000..801e2cc48963
--- /dev/null
+++ b/games-engines/scummvm-tools/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">scummvm</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-engines/scummvm-tools/scummvm-tools-1.8.0-r1.ebuild b/games-engines/scummvm-tools/scummvm-tools-1.8.0-r1.ebuild
new file mode 100644
index 000000000000..114768f9f886
--- /dev/null
+++ b/games-engines/scummvm-tools/scummvm-tools-1.8.0-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+WX_GTK_VER=3.0
+inherit wxwidgets eutils flag-o-matic
+
+DESCRIPTION="utilities for the SCUMM game engine"
+HOMEPAGE="http://scummvm.sourceforge.net/"
+SRC_URI="http://scummvm.org/frs/scummvm-tools/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd"
+IUSE="flac iconv mad png vorbis"
+RESTRICT="test" # some tests require external files
+
+RDEPEND=">=dev-libs/boost-1.32
+ sys-libs/zlib
+ x11-libs/wxGTK:${WX_GTK_VER}
+ flac? ( media-libs/flac )
+ iconv? ( virtual/libiconv media-libs/freetype:2 )
+ mad? ( media-libs/libmad )
+ png? ( media-libs/libpng:0 )
+ vorbis? ( media-libs/libvorbis )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${P}-binprefix.patch"
+)
+
+src_prepare() {
+ default
+
+ need-wxwidgets unicode
+ rm -rf *.bat dists/win32 || die
+ sed -ri -e '/^(CC|CXX)\b/d' Makefile || die
+}
+
+src_configure() {
+ # Not an autoconf script
+ ./configure \
+ --disable-tremor \
+ --enable-verbose-build \
+ --mandir=/usr/share/man \
+ $(use_enable flac) \
+ $(use_enable iconv) \
+ $(use_enable iconv freetype) \
+ $(use_enable mad) \
+ $(use_enable png) \
+ $(use_enable vorbis) || die
+}
+
+src_install() {
+ EXEPREFIX="${PN}-" default
+}
diff --git a/games-engines/scummvm-tools/scummvm-tools-1.8.0.ebuild b/games-engines/scummvm-tools/scummvm-tools-1.8.0.ebuild
new file mode 100644
index 000000000000..5b6030e11965
--- /dev/null
+++ b/games-engines/scummvm-tools/scummvm-tools-1.8.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+WX_GTK_VER=3.0
+inherit wxwidgets eutils flag-o-matic games
+
+DESCRIPTION="utilities for the SCUMM game engine"
+HOMEPAGE="http://scummvm.sourceforge.net/"
+SRC_URI="http://scummvm.org/frs/scummvm-tools/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc64 x86 ~x86-fbsd"
+IUSE="flac iconv mad png vorbis"
+RESTRICT="test" # some tests require external files
+
+RDEPEND="png? ( media-libs/libpng:0 )
+ mad? ( media-libs/libmad )
+ flac? ( media-libs/flac )
+ vorbis? ( media-libs/libvorbis )
+ iconv? ( virtual/libiconv media-libs/freetype:2 )
+ sys-libs/zlib
+ >=dev-libs/boost-1.32
+ x11-libs/wxGTK:${WX_GTK_VER}"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig"
+
+src_prepare() {
+ need-wxwidgets unicode
+ rm -rf *.bat dists/win32
+ sed -ri -e '/^(CC|CXX)\b/d' Makefile || die
+ epatch "${FILESDIR}/${P}-binprefix.patch"
+}
+
+src_configure() {
+ # Not an autoconf script
+ ./configure \
+ --enable-verbose-build \
+ --mandir=/usr/share/man \
+ --prefix="${GAMES_PREFIX}" \
+ --libdir="${GAMES_PREFIX}/lib" \
+ --datadir="${GAMES_DATADIR}" \
+ --disable-tremor \
+ $(use_enable flac) \
+ $(use_enable iconv) \
+ $(use_enable iconv freetype) \
+ $(use_enable mad) \
+ $(use_enable png) \
+ $(use_enable vorbis) || die
+}
+
+src_install() {
+ EXEPREFIX="${PN}-" default
+ prepgamesdirs
+}