summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-02-18 00:36:30 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-02-18 00:36:30 +0000
commit334109519e037e581eb44fa3c588963fb2ce4f8f (patch)
tree4e1be4216505dfc6401d1e6062b57c54d15aef2e /games-emulation
parentStable amd64 x86 (diff)
downloadhistorical-334109519e037e581eb44fa3c588963fb2ce4f8f.tar.gz
historical-334109519e037e581eb44fa3c588963fb2ce4f8f.tar.bz2
historical-334109519e037e581eb44fa3c588963fb2ce4f8f.zip
version bump wrt #452298
Package-Manager: portage-2.2.0_alpha162/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/yabause/ChangeLog11
-rw-r--r--games-emulation/yabause/Manifest22
-rw-r--r--games-emulation/yabause/files/yabause-0.9.12-RWX.patch22
-rw-r--r--games-emulation/yabause/files/yabause-0.9.12-cmake.patch60
-rw-r--r--games-emulation/yabause/metadata.xml3
-rw-r--r--games-emulation/yabause/yabause-0.9.12.ebuild64
6 files changed, 178 insertions, 4 deletions
diff --git a/games-emulation/yabause/ChangeLog b/games-emulation/yabause/ChangeLog
index 44f886f2e91f..26ad041e0bbd 100644
--- a/games-emulation/yabause/ChangeLog
+++ b/games-emulation/yabause/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-emulation/yabause
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/yabause/ChangeLog,v 1.35 2012/10/10 15:18:12 ranger Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/yabause/ChangeLog,v 1.36 2013/02/18 00:36:27 hasufell Exp $
+
+*yabause-0.9.12 (18 Feb 2013)
+
+ 18 Feb 2013; Julian Ospald <hasufell@gentoo.org> +yabause-0.9.12.ebuild,
+ +files/yabause-0.9.12-RWX.patch, +files/yabause-0.9.12-cmake.patch,
+ metadata.xml:
+ version bump wrt #452298
10 Oct 2012; Brent Baude <ranger@gentoo.org> yabause-0.9.10.ebuild:
Marking yabause-0.9.10 ppc for bug 435688
diff --git a/games-emulation/yabause/Manifest b/games-emulation/yabause/Manifest
index df52a4129068..a2254edcec0b 100644
--- a/games-emulation/yabause/Manifest
+++ b/games-emulation/yabause/Manifest
@@ -1,4 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX yabause-0.9.12-RWX.patch 578 SHA256 83e9ea88685571f198fd458bfa2ba813fea7b086f79d552f921ca5c7dc9cc004 SHA512 6ab8ab98f2e57492d17d7f2f9184e8d3500efef2b6039e608a67aebc1739d1d0b1e007cbaa9b508c3b3a8ca6e9aae0a06edd6fc2e5ca77f816f4fe9fa0f69ba3 WHIRLPOOL ba2251efdca28435fdd19ff0fb2ddd542f17d8b34293ff518c7db94abca7b06e7ffd90c33978c18498e3469584593e3ba550089b40d5b33b21405dd6f12681ae
+AUX yabause-0.9.12-cmake.patch 2126 SHA256 02b01ddd521b595650efb0ba42b0df04d973bfb9ea42133fdfe6849c1727e50e SHA512 ccd548c7b5e36f18e6773c2711963936ae6214aeded9e7493061d5777fba412cfdabfdc001fd6d6abda3707ba695090526916e91d666ace23844daba631125cb WHIRLPOOL a030276c2bafe4580ddf9a136cb05d8405cfa4bc1a56626178c4ea38069907ea53bc9770246667208b5eea60da2661c6cc5cb5d434a6ac7a36dfee5ef273133b
DIST yabause-0.9.10.tar.gz 1376089 SHA256 2f15ea32d4d1226fd1bebf6b107ae9faa71fe230608f01a5b0105c2b2faa78be SHA512 8719d9060de9b899bcda88ace4436b680dc88e061da66be007cacef53e15740ec743c9fb3a0ad7c76c4b628d12ea7d03fc9a4bf51eb3ade2777cfb40389819c5 WHIRLPOOL 09327f899cf616d354545d507481e6a1a1692c74a875a4bab314e7ede782cc6af76fbd512d95204979437fd1325c7fa90b868e2751566178f7d9d472997644c4
+DIST yabause-0.9.12.tar.gz 2199145 SHA256 f45c9649c379e1e790856f8dfa37d93be5638e8f697319b241951316f817bfb1 SHA512 2059f1d2c4a1d0074b35d0ce6bfe8c944543cb6b759c8679ba33045c23d9d90049f90b3f3cde5dde6c62f2e3fcdfad8ba27d6cb5d8ac7d16399ff23797779043 WHIRLPOOL 0585ae4ac19e2d019512d09a2d930a9c6501ac8b0711b526f4a10ca14f600e9f697080fcc376b77d86b3fc858178ae87553a2631bfd7fd819d9453bb71ccc453
EBUILD yabause-0.9.10.ebuild 1046 SHA256 b69dcca8eb974cabde2dff2226858211b3528c5e1921929943e5bc20c7b08950 SHA512 34d5e4d48de1da2d4a6be125fb44f1b4ed15b34c50caab923f8b20061055697f0731e6339f9f15c510255b69a5d20ef07b00f31cfa1210f27758fd2f6ce6cb17 WHIRLPOOL 05d8d442637a61fa3f9f3eedc1f281b42e6efc73dcceda1a1786e3e8410b3e2b913ca1518f4c6e17e3487072865187d19e9037c57c3e2baf78b5cdbc0a821891
-MISC ChangeLog 4418 SHA256 8cbf0b8eabd70b8b34eff40f5fd6010a5db8283f9555d436ff0023ac4515ec22 SHA512 0871ac29383013168687b5b9771f48c97aaee0be0d265c125488905de44518282e7d6e6338b8ccdfec5afa0bbd64b81e62e3f34b0bb3f4c29c959626b2147058 WHIRLPOOL 47605d9663cb57921393dc6983318e6ee3e4301b7f28092f3cbba4aeb973a033b69b99efe40fb307f02e534d10f29961dca2b5519eb81a67957e67ec6855d6e0
-MISC metadata.xml 159 SHA256 a222ada7640e6dfb21d27151813829e91a72a6878d809dfddaa41581455f6b69 SHA512 6352e00c52c5aea882fb49482fa13058b44892b9f0d348747a104a92bac4317beebdab189dada073ab9c87fbd9a4d276e725884741fc86bcb6f5b1857c031974 WHIRLPOOL abfa1ff25d21dc915422368c253795602590b470ca5cf3f099bf8675e2684baccac5e3d145391adac1fc5313f2e1d54bf9d8f21704e1b99fe22dec46f3f5acf5
+EBUILD yabause-0.9.12.ebuild 1391 SHA256 d983c14b8a92aba9b2fa61de714c65cc7de0182bb70fc3daefdc0301a1c2d0c1 SHA512 f3ea26a93ff642fb2982d090a3cff9f1993644522a38a2a1193f9366ab018bcb0b0376c7e02682e2bb7709422fe77bb3846fa7d3b6b1d1bd2247d4c45579c64a WHIRLPOOL 8edb1b72e1b197f9c5fe10c631081ba9e40c206db4fff867cdf2c0b18c1e96b1b15c77c8f88b8a3e0ec38e65ec0a7cd47e8262e65c1c7562f49ee5d987006ee7
+MISC ChangeLog 4640 SHA256 55e321b09e2f441c28778a050f9eb61ff43016a98bcd5343b55e55e410cee125 SHA512 602987b9e9a4b4aeb6c60c514a9e72a1f5288d6ff2351ef784c30071b79250dc634e0e4bc99c73473b6192eeb6125ad82cd4cbaa2c3e952c5b2913c4e427dda2 WHIRLPOOL e5b7b163cab03640b1d3e084324a5ba4237d7a11343072f63f2846556ca475cc879a15703c4d1461291ea5bb8a27a12b827dafedbe4feb20332b91c611301a9f
+MISC metadata.xml 228 SHA256 28d4cd6df4293744b19b380197cb87c8fcdf946050fc8bf6e56eb8f2b1c9a90d SHA512 68d7b04e03707ae7427d804c8e75ff147b5af5035176fd67eb0cb290a56d8eec4f7431f9f90084ed95d2469df64b00ce7ca42abd417d345d517bb0d8127281b9 WHIRLPOOL 8e582602b6d9159b61bfcc7c76e70adca281aae6dd8062d3c3ee2a58cc0a5248a4cf0b134490620855bf52511c1eb7deca7a6d8148b390f2e0cb48aa5551fc24
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRIXeMAAoJEFpvPKfnPDWzrf4H+wdafqvlet4wIF1scLtykQpU
+mU/CWdXM/ngBOhfMTSFDAsMt62qFWK1eciBMMVIu5nBO7+1fx/dUStp5gTk6yEUI
+aCzD+KIPfcn8VtOdZojweRH27q21d+qPDLGW1JTkR+cLrgD9cNsvsJN1Gv+Nc6Ra
+0/T0/6kh+S0JGY+cAJEqUQwGfpFaKjtnGdQYFjGRIICEB31AOPbrYMWvKctWCHhN
+HHJzfAbf91xETzbaZF4TvFROY6YFdL1KBpvWrDMns8JfRYqTVkZOztzUJxclox9B
+8oOK634NujSkiVdeyYVkuijajiEn8U8T4BLbK9C6qULVLN4I8uDUJq/bxr/9YhE=
+=SGmc
+-----END PGP SIGNATURE-----
diff --git a/games-emulation/yabause/files/yabause-0.9.12-RWX.patch b/games-emulation/yabause/files/yabause-0.9.12-RWX.patch
new file mode 100644
index 000000000000..1a8d3a66db16
--- /dev/null
+++ b/games-emulation/yabause/files/yabause-0.9.12-RWX.patch
@@ -0,0 +1,22 @@
+http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
+
+--- src/sh2_dynarec/linkage_x64.s
++++ src/sh2_dynarec/linkage_x64.s
+@@ -747,3 +747,7 @@
+ ret
+ /* Set breakpoint here for debugging */
+ .size breakpoint, .-breakpoint
++
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/sh2_dynarec/linkage_x86.s
++++ src/sh2_dynarec/linkage_x86.s
+@@ -743,3 +743,7 @@
+ ret
+ /* Set breakpoint here for debugging */
+ .size breakpoint, .-breakpoint
++
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
diff --git a/games-emulation/yabause/files/yabause-0.9.12-cmake.patch b/games-emulation/yabause/files/yabause-0.9.12-cmake.patch
new file mode 100644
index 000000000000..0ed719a70abc
--- /dev/null
+++ b/games-emulation/yabause/files/yabause-0.9.12-cmake.patch
@@ -0,0 +1,60 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Mon Feb 18 00:04:44 UTC 2013
+Subject: build system
+
+ make bindir translation dir modifiable
+
+--- yabause-0.9.12/src/gtk/CMakeLists.txt
++++ yabause-0.9.12/src/gtk/CMakeLists.txt
+@@ -59,7 +59,10 @@
+ yab_port_success(yabause-gtk)
+ configure_file(yabause.desktop.in ${YAB_PORT_NAME}.desktop)
+
+-install(TARGETS yabause-gtk DESTINATION "bin")
++# paths
++set(BINDIR "bin" CACHE STRING "dir to binary")
++
++install(TARGETS yabause-gtk DESTINATION ${BINDIR})
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${YAB_PORT_NAME}.desktop DESTINATION "share/applications")
+ install(FILES "doc/yabause.1" DESTINATION "${YAB_MAN_DIR}/man1" RENAME "${YAB_PORT_NAME}.1")
+ install(FILES "yabause.png" DESTINATION "share/pixmaps")
+--- yabause-0.9.12/src/qt/CMakeLists.txt
++++ yabause-0.9.12/src/qt/CMakeLists.txt
+@@ -184,6 +184,9 @@
+ yab_port_success(yabause-qt)
+ configure_file(yabause.desktop.in ${YAB_PORT_NAME}.desktop)
+
++# paths
++set(BINDIR "bin" CACHE STRING "dir to binary")
++
+ if (WIN32)
+ install(TARGETS yabause-qt DESTINATION ".")
+ if (GLUT_FOUND)
+@@ -208,8 +211,8 @@
+ install(FILES ${Mingw_Path}/mingwm10.dll DESTINATION ".")
+ endif ()
+ else ()
+- install(TARGETS yabause-qt DESTINATION "bin")
++ install(TARGETS yabause-qt DESTINATION ${BINDIR})
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${YAB_PORT_NAME}.desktop DESTINATION "share/applications")
+ install(FILES "doc/yabause.1" DESTINATION "${YAB_MAN_DIR}/man1" RENAME "${YAB_PORT_NAME}.1")
+ install(FILES "resources/icons/yabause.png" DESTINATION "share/pixmaps")
+-endif ()
+\ No newline at end of file
++endif ()
+--- yabause-0.9.12/l10n/CMakeLists.txt
++++ yabause-0.9.12/l10n/CMakeLists.txt
+@@ -2,9 +2,12 @@
+
+ set(LANGS de es fr it lt pt pt_BR sv)
+
++# paths
++set(TRANSDIR "share/yabause/yts" CACHE STRING "dir to translation files")
++
+ if (UNIX AND NOT APPLE)
+ foreach(LANG ${LANGS})
+- install(FILES "yabause_${LANG}.yts" DESTINATION "share/yabause/yts" RENAME "${LANG}.yts")
++ install(FILES "yabause_${LANG}.yts" DESTINATION ${TRANSDIR} RENAME "${LANG}.yts")
+ endforeach()
+ elseif (WIN32)
+ foreach(LANG ${LANGS})
diff --git a/games-emulation/yabause/metadata.xml b/games-emulation/yabause/metadata.xml
index cad5a2aa1773..cba51a60909e 100644
--- a/games-emulation/yabause/metadata.xml
+++ b/games-emulation/yabause/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>games</herd>
+ <use>
+ <flag name="qt4">Use qt4 gui instead of gtk+</flag>
+ </use>
</pkgmetadata>
diff --git a/games-emulation/yabause/yabause-0.9.12.ebuild b/games-emulation/yabause/yabause-0.9.12.ebuild
new file mode 100644
index 000000000000..56130a02f794
--- /dev/null
+++ b/games-emulation/yabause/yabause-0.9.12.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/yabause/yabause-0.9.12.ebuild,v 1.1 2013/02/18 00:36:27 hasufell Exp $
+
+EAPI=5
+inherit eutils cmake-utils games
+
+DESCRIPTION="A Sega Saturn emulator"
+HOMEPAGE="http://yabause.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="openal opengl qt4 sdl"
+
+RDEPEND="
+ openal? ( media-libs/openal )
+ opengl? (
+ media-libs/freeglut
+ virtual/glu
+ virtual/opengl
+ )
+ qt4? (
+ x11-libs/qt-core:4
+ x11-libs/qt-gui:4
+ opengl? ( x11-libs/qt-opengl:4 )
+ )
+ !qt4? (
+ dev-libs/glib:2
+ x11-libs/gtk+:2
+ x11-libs/gtkglext
+ )
+ sdl? ( media-libs/libsdl[opengl?,video] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-RWX.patch \
+ "${FILESDIR}"/${P}-cmake.patch
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBINDIR="${GAMES_BINDIR}"
+ -DTRANSDIR="${GAMES_DATADIR}"/${PN}/yts
+ -DYAB_OPTIMIZATION=""
+ $(cmake-utils_use sdl YAB_WANT_SDL)
+ $(cmake-utils_use openal YAB_WANT_OPENAL)
+ $(cmake-utils_use opengl YAB_WANT_OPENGL)
+ -DYAB_PORTS=$(usex qt4 "qt" "gtk")
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc AUTHORS ChangeLog GOALS README README.LIN
+ prepgamesdirs
+}