diff options
-rw-r--r-- | games-emulation/yabause/Manifest | 1 | ||||
-rw-r--r-- | games-emulation/yabause/files/yabause-0.9.14-RWX.patch | 24 | ||||
-rw-r--r-- | games-emulation/yabause/files/yabause-0.9.14-cmake.patch | 51 | ||||
-rw-r--r-- | games-emulation/yabause/metadata.xml | 3 | ||||
-rw-r--r-- | games-emulation/yabause/yabause-0.9.14.ebuild | 73 |
5 files changed, 0 insertions, 152 deletions
diff --git a/games-emulation/yabause/Manifest b/games-emulation/yabause/Manifest index 8ed7ece13ec2..a6ca4ffbdf51 100644 --- a/games-emulation/yabause/Manifest +++ b/games-emulation/yabause/Manifest @@ -1,2 +1 @@ -DIST yabause-0.9.14.tar.gz 1662762 BLAKE2B 83f3bcdf8d513a87ed596171cfc1768cdb1cd2f3329766b92ef2e94f176fbafe16ac4970c5515e5d12537b20bd6473b209b1ec6090a07d6d1521b7d2094957ed SHA512 8b14d9146cf12d104fcf43369cd949f1f47e7891a54241914f6141facf871bcc158f4e80a8c5b61fdeefe6f1b8d425ff301ba653df134a030c323c9e3ccf3a58 DIST yabause-0.9.15.tar.gz 2481650 BLAKE2B c211f4372c1cb3c8dc757d60b2106898a637c6852c19856d3cb619fed4a04788d70c132ff78be4382e67c7ce368b8939c039d057c4597e27e4349c7caa01950d SHA512 f7e992e3326e68aca1c0ce6dd0d382eea00cd3e47492c045d17526909356198448c533b00568af3ab311307e6b3d47a28708a8c0ff74e5b6c98d62da8c01a3c7 diff --git a/games-emulation/yabause/files/yabause-0.9.14-RWX.patch b/games-emulation/yabause/files/yabause-0.9.14-RWX.patch deleted file mode 100644 index 8022be90f852..000000000000 --- a/games-emulation/yabause/files/yabause-0.9.14-RWX.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- yabause-0.9.13.orig/src/sh2_dynarec/linkage_x64.s -+++ yabause-0.9.13/src/sh2_dynarec/linkage_x64.s -@@ -747,3 +747,11 @@ - ret - /* Set breakpoint here for debugging */ - .size breakpoint, .-breakpoint -+ -+#if defined(__linux__) && defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif -+ -+#if defined(__linux__) && defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif ---- yabause-0.9.13.orig/src/sh2_dynarec/linkage_x86.s -+++ yabause-0.9.13/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.14-cmake.patch b/games-emulation/yabause/files/yabause-0.9.14-cmake.patch deleted file mode 100644 index a126c010bb7a..000000000000 --- a/games-emulation/yabause/files/yabause-0.9.14-cmake.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- yabause-0.9.13.orig/l10n/CMakeLists.txt -+++ yabause-0.9.13/l10n/CMakeLists.txt -@@ -2,9 +2,12 @@ - - set(LANGS de es fr it lt nl 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}) ---- yabause-0.9.13.orig/src/gtk/CMakeLists.txt -+++ yabause-0.9.13/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.13.orig/src/qt/CMakeLists.txt -+++ yabause-0.9.13/src/qt/CMakeLists.txt -@@ -237,6 +237,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) -@@ -277,7 +280,7 @@ - endif() - 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") diff --git a/games-emulation/yabause/metadata.xml b/games-emulation/yabause/metadata.xml index 518c975f9d26..10b6034ed44a 100644 --- a/games-emulation/yabause/metadata.xml +++ b/games-emulation/yabause/metadata.xml @@ -5,9 +5,6 @@ <email>games@gentoo.org</email> <name>Gentoo Games Project</name> </maintainer> - <use> - <flag name="pic">disable optimized assembly code that is not PIC friendly</flag> - </use> <upstream> <remote-id type="sourceforge">yabause</remote-id> </upstream> diff --git a/games-emulation/yabause/yabause-0.9.14.ebuild b/games-emulation/yabause/yabause-0.9.14.ebuild deleted file mode 100644 index b13959e8a4a0..000000000000 --- a/games-emulation/yabause/yabause-0.9.14.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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 ~x86" -IUSE="openal opengl pic qt5 sdl" - -# x11-libs/libXrandr is an automagic dep -# qt5 over qt4 and libsdl2 over libsdl is -# also done automatically. Send patches -# upstream to make the choices explicit. -RDEPEND=" - x11-libs/libXrandr - openal? ( media-libs/openal ) - opengl? ( - media-libs/freeglut - virtual/glu - virtual/opengl - ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtwidgets:5 - opengl? ( dev-qt/qtopengl:5 ) - ) - !qt5? ( - dev-libs/glib:2 - x11-libs/gtk+:2 - x11-libs/gtkglext - ) - sdl? ( media-libs/libsdl2[opengl?,video] )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${P}-RWX.patch - "${FILESDIR}"/${P}-cmake.patch -) - -src_prepare() { - cmake-utils_src_prepare -} - -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) - $(cmake-utils_use !pic SH2_DYNAREC) - -DYAB_PORTS=$(usex qt5 "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 -} |