diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-05-13 16:04:39 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-05-13 16:04:39 +0000 |
commit | 2939da90ac3630cc1a927aca5f9b7c14f982ee3c (patch) | |
tree | 22829e497b65f6520d56399d643692ab044b96fd /games-arcade | |
parent | New upstream version 2.1.4, cleanup old files (diff) | |
download | gentoo-2-2939da90ac3630cc1a927aca5f9b7c14f982ee3c.tar.gz gentoo-2-2939da90ac3630cc1a927aca5f9b7c14f982ee3c.tar.bz2 gentoo-2-2939da90ac3630cc1a927aca5f9b7c14f982ee3c.zip |
old
(Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-arcade')
9 files changed, 8 insertions, 507 deletions
diff --git a/games-arcade/performous/ChangeLog b/games-arcade/performous/ChangeLog index 797eeb9f9803..07dd1e54f9b5 100644 --- a/games-arcade/performous/ChangeLog +++ b/games-arcade/performous/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-arcade/performous # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/performous/ChangeLog,v 1.20 2015/05/13 09:28:12 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/performous/ChangeLog,v 1.21 2015/05/13 16:04:39 mr_bones_ Exp $ + + 13 May 2015; Michael Sterrett <mr_bones_@gentoo.org> + -files/performous-0.7.0-cmake.patch, -files/performous-0.7.0-desktop.patch, + -files/performous-0.7.0-freetype.patch, -files/performous-0.7.0-gentoo.patch, + -files/performous-0.7.0-libav.patch, -files/performous-0.7.0-linguas.patch, + -performous-0.7.0-r1.ebuild, -performous-0.7.0.ebuild: + old 13 May 2015; Agostino Sarubbo <ago@gentoo.org> performous-1.0.ebuild: Stable for x86, wrt bug #548292 diff --git a/games-arcade/performous/files/performous-0.7.0-cmake.patch b/games-arcade/performous/files/performous-0.7.0-cmake.patch deleted file mode 100644 index 4c6f47b634af..000000000000 --- a/games-arcade/performous/files/performous-0.7.0-cmake.patch +++ /dev/null @@ -1,155 +0,0 @@ -From: Julian Ospald <hasufell@gentoo.org> -Date: Thu Jan 24 13:13:50 UTC 2013 -Subject: build system - - - fix opencv module to prefer pkg-config results - - fix some module and macro names and try to use - system modules as much as possible (ALSA Boost Gettext Jpeg Png Tiff Z) - ---- cmake/Modules/FindOpenCV.cmake -+++ cmake/Modules/FindOpenCV.cmake -@@ -57,13 +57,21 @@ - include(FindPkgConfig) - if(PKG_CONFIG_FOUND) - pkg_check_modules(OPENCV_PKGCONF opencv) -- set(OpenCV_DIR ${OPENCV_PKGCONF_PREFIX}) -- if(EXISTS "${OpenCV_DIR}") -- set(OpenCV_configScript_DIR "${OpenCV_DIR}/share/opencv") -- if(EXISTS "${OpenCV_configScript_DIR}") -- set(OpenCV_configScript "${OpenCV_configScript_DIR}/OpenCVConfig.cmake") -- endif(EXISTS "${OpenCV_configScript_DIR}") -- endif(EXISTS "${OpenCV_DIR}") -+ # prefer pkg-config values -+ if(OPENCV_PKGCONF_FOUND) -+ set(OpenCV_LIBS ${OPENCV_PKGCONF_LDFLAGS}) -+ set(OpenCV_FOUND true) -+ set(OpenCV_INCLUDE_DIR ${OPENCV_PKGCONF_INCLUDE_DIRS}) -+ set(OpenCV_VERSION ${OPENCV_PKGCONF_VERSION}) -+ else(OPENCV_PKGCONF_FOUND) -+ set(OpenCV_DIR ${OPENCV_PKGCONF_PREFIX}) -+ if(EXISTS "${OpenCV_DIR}") -+ set(OpenCV_configScript_DIR "${OpenCV_DIR}/share/opencv") -+ if(EXISTS "${OpenCV_configScript_DIR}") -+ set(OpenCV_configScript "${OpenCV_configScript_DIR}/OpenCVConfig.cmake") -+ endif(EXISTS "${OpenCV_configScript_DIR}") -+ endif(EXISTS "${OpenCV_DIR}") -+ endif(OPENCV_PKGCONF_FOUND) - endif(PKG_CONFIG_FOUND) - endif(NOT WIN32) - endif(NOT EXISTS "${OpenCV_DIR}") -@@ -72,7 +80,7 @@ - ##==================================================== - ## Find OpenCV libraries - ##---------------------------------------------------- --if(EXISTS "${OpenCV_DIR}") -+if(EXISTS "${OpenCV_DIR}" AND NOT OpenCV_FOUND) - - #When its possible to use the Config script use it. - if(EXISTS "${OpenCV_configScript}") -@@ -257,9 +265,9 @@ - endif(${OpenCV_VERSION} VERSION_GREATER 2.1.0) - - --else(EXISTS "${OpenCV_DIR}") -+else(EXISTS "${OpenCV_DIR}" AND NOT OpenCV_FOUND) - set(ERR_MSG "Please specify OpenCV directory using OpenCV_DIR env. variable") --endif(EXISTS "${OpenCV_DIR}") -+endif(EXISTS "${OpenCV_DIR}" AND NOT OpenCV_FOUND) - ##==================================================== - - ##==================================================== ---- CMakeLists.txt -+++ CMakeLists.txt -@@ -33,7 +33,7 @@ - - #need to put here do setting LOCALE_DIR variable - find_package(Gettext) --if(Gettext_FOUND) -+if(GETTEXT_FOUND) - if(NOT LOCALE_DIR) - if(WIN32) - SET(LOCALE_DIR "bin/locale") -@@ -55,7 +55,7 @@ - message(STATUS "Cannot find msgfmt to convert language file. Translation won't be enabled") - endif() - endif(NOT LOCALE_DIR) --endif(Gettext_FOUND) -+endif(GETTEXT_FOUND) - add_subdirectory(themes) - add_subdirectory(data) - add_subdirectory(game) ---- game/CMakeLists.txt -+++ game/CMakeLists.txt -@@ -71,7 +71,7 @@ - list(APPEND LIBS ${Boost_LIBRARIES}) - - # Find all the libs that don't require extra parameters --foreach(lib ${OUR_LIBS} SDL PangoCairo LibRSVG LibXML++ GLEW AVFormat SWScale OpenGL Z Jpeg Png PortAudio) -+foreach(lib ${OUR_LIBS} SDL PangoCairo LibRSVG LibXML++ GLEW AVFormat SWScale OpenGL ZLIB JPEG PNG PortAudio) - find_package(${lib} REQUIRED) - include_directories(${${lib}_INCLUDE_DIRS}) - list(APPEND LIBS ${${lib}_LIBRARIES}) -@@ -79,7 +79,7 @@ - endforeach(lib) - - find_package(Gettext) --if(Gettext_FOUND) -+if(GETTEXT_FOUND) - include_directories(${Gettext_INCLUDE_DIRS}) - list(APPEND LIBS ${Gettext_LIBRARIES}) - add_definitions("-DUSE_GETTEXT") ---- tools/CMakeLists.txt -+++ tools/CMakeLists.txt -@@ -6,7 +6,7 @@ - include_directories(${Boost_INCLUDE_DIRS}) - - # Find all the libs that don't require extra parameters --foreach(lib LibXML++ Magick++ Z Jpeg Tiff Png Freetype Z) -+foreach(lib LibXML++ Magick++ ZLIB JPEG TIFF PNG Freetype ZLIB) - find_package(${lib}) - if (${lib}_FOUND) - include_directories(${${lib}_INCLUDE_DIRS}) -@@ -24,13 +24,13 @@ - if (LibXML++_FOUND) - if (Boost_FOUND) - if (Magick++_FOUND) -- if (Z_FOUND) -+ if (ZLIB_FOUND) - add_executable(ss_extract ss_extract.cpp pak.cpp ipu_conv.cpp ss_cover.cpp) -- target_link_libraries(ss_extract ${LibXML++_LIBRARIES} ${Boost_LIBRARIES} ${Magick++_LIBRARIES} ${Z_LIBRARIES} ${Jpeg_LIBRARIES} ${Tiff_LIBRARIES} ${Png_LIBRARIES} ${Freetype_LIBRARY} ${Magick++_LIBRARIES}) -+ target_link_libraries(ss_extract ${LibXML++_LIBRARIES} ${Boost_LIBRARIES} ${Magick++_LIBRARIES} ${ZLIB_LIBRARIES} ${JPEG_LIBRARIES} ${TIFF_LIBRARIES} ${PNG_LIBRARIES} ${Freetype_LIBRARY} ${Magick++_LIBRARIES}) - set(targets ${targets} ss_extract) -- else (Z_FOUND) -+ else (ZLIB_FOUND) - message("No zlib found, not building ss_extract") -- endif (Z_FOUND) -+ endif (ZLIB_FOUND) - else (Magick++_FOUND) - message("No Magick++ found, not building ss_extract") - endif (Magick++_FOUND) -@@ -40,7 +40,7 @@ - - if (Magick++_FOUND) - add_executable(ss_cover_conv cover_conv.cpp pak.cpp ss_cover.cpp) -- target_link_libraries(ss_cover_conv ${Magick++_LIBRARIES} ${LibXML++_LIBRARIES} ${Z_LIBRARIES} ${Jpeg_LIBRARIES} ${Tiff_LIBRARIES} ${Png_LIBRARIES} ${Freetype_LIBRARY} ${Magick++_LIBRARIES}) -+ target_link_libraries(ss_cover_conv ${Magick++_LIBRARIES} ${LibXML++_LIBRARIES} ${ZLIB_LIBRARIES} ${JPEG_LIBRARIES} ${TIFF_LIBRARIES} ${PNG_LIBRARIES} ${Freetype_LIBRARY} ${Magick++_LIBRARIES}) - set(targets ${targets} ss_cover_conv) - else (Magick++_FOUND) - message("No Magick++ found, not building ss_cover_conv") -@@ -58,13 +58,13 @@ - target_link_libraries(ss_archive_extract ${Boost_LIBRARIES}) - set(targets ${targets} ss_archive_extract) - -- if (Z_FOUND) -+ if (ZLIB_FOUND) - add_executable(itg_pck itg_pck.cc) -- target_link_libraries(itg_pck ${Boost_LIBRARIES} ${Z_LIBRARIES}) -+ target_link_libraries(itg_pck ${Boost_LIBRARIES} ${ZLIB_LIBRARIES}) - set(targets ${targets} itg_pck) - - add_executable(ss_chc_decode ss_chc_decode.cpp) -- target_link_libraries(ss_chc_decode ${Boost_LIBRARIES} ${Z_LIBRARIES}) -+ target_link_libraries(ss_chc_decode ${Boost_LIBRARIES} ${ZLIB_LIBRARIES}) - set(targets ${targets} ss_chc_decode) - endif() - endif (Boost_FOUND) diff --git a/games-arcade/performous/files/performous-0.7.0-desktop.patch b/games-arcade/performous/files/performous-0.7.0-desktop.patch deleted file mode 100644 index 615af5f0a348..000000000000 --- a/games-arcade/performous/files/performous-0.7.0-desktop.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- ./data/performous.desktop.orig 2012-11-15 12:31:30.686153241 -0500 -+++ ./data/performous.desktop 2012-11-15 12:32:00.460142521 -0500 -@@ -1,5 +1,4 @@ - [Desktop Entry] --Encoding=UTF-8 - Name=Performous - Comment=A karaoke game - Comment[de]=Ein Karaoke Spiel -@@ -10,7 +9,7 @@ - Comment[ro]=Un joc de tip karaoke - Comment[se]=Ett karaoke-spel - Exec=performous --Icon=performous.xpm -+Icon=performous - Terminal=false - Type=Application --Categories=Application;Game;ArcadeGame; -+Categories=Game;ArcadeGame; diff --git a/games-arcade/performous/files/performous-0.7.0-freetype.patch b/games-arcade/performous/files/performous-0.7.0-freetype.patch deleted file mode 100644 index c50a2101652a..000000000000 --- a/games-arcade/performous/files/performous-0.7.0-freetype.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- cmake/Modules/FindCairo.cmake.old 2014-07-14 14:46:07.262806432 +0200 -+++ cmake/Modules/FindCairo.cmake 2014-07-14 14:46:45.890461688 +0200 -@@ -8,7 +8,6 @@ - include(LibFindMacros) - - # Dependencies --libfind_package(Cairo Freetype) - - # Use pkg-config to get hints about paths - libfind_pkg_check_modules(Cairo_PKGCONF cairo) -@@ -28,7 +27,7 @@ - - # Set the include dir variables and the libraries and let libfind_process do the rest. - # NOTE: Singular variables for this library, plural for libraries this this lib depends on. --set(Cairo_PROCESS_INCLUDES Cairo_INCLUDE_DIR Freetype_INCLUDE_DIRS) --set(Cairo_PROCESS_LIBS Cairo_LIBRARY Freetype_LIBRARIES) -+set(Cairo_PROCESS_INCLUDES Cairo_INCLUDE_DIR) -+set(Cairo_PROCESS_LIBS Cairo_LIBRARY) - libfind_process(Cairo) - ---- cmake/Modules/FindPango.cmake.old 2014-07-14 14:46:13.754748551 +0200 -+++ cmake/Modules/FindPango.cmake 2014-07-14 14:47:06.270279853 +0200 -@@ -8,7 +8,6 @@ - include(LibFindMacros) - - # Dependencies --libfind_package(Pango Freetype) - libfind_package(Pango Glib) - libfind_package(Pango GObject) - -@@ -30,7 +29,7 @@ - - # Set the include dir variables and the libraries and let libfind_process do the rest. - # NOTE: Singular variables for this library, plural for libraries this this lib depends on. --set(Pango_PROCESS_INCLUDES Pango_INCLUDE_DIR Freetype_INCLUDE_DIRS Glib_INCLUDE_DIRS) --set(Pango_PROCESS_LIBS Pango_LIBRARY Freetype_LIBRARIES Glib_LIBRARIES GObject_LIBRARIES) -+set(Pango_PROCESS_INCLUDES Pango_INCLUDE_DIR Glib_INCLUDE_DIRS) -+set(Pango_PROCESS_LIBS Pango_LIBRARY Glib_LIBRARIES GObject_LIBRARIES) - libfind_process(Pango) - diff --git a/games-arcade/performous/files/performous-0.7.0-gentoo.patch b/games-arcade/performous/files/performous-0.7.0-gentoo.patch deleted file mode 100644 index e9a6fe316b95..000000000000 --- a/games-arcade/performous/files/performous-0.7.0-gentoo.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- game/CMakeLists.txt.old 2012-02-20 13:19:35.219635192 +0100 -+++ game/CMakeLists.txt 2012-02-20 13:20:06.025469808 +0100 -@@ -149,5 +149,5 @@ - configure_file("${CMAKE_CURRENT_SOURCE_DIR}/config.cmake.hh" "${CMAKE_CURRENT_BINARY_DIR}/config.hh" @ONLY) - include_directories("${CMAKE_CURRENT_BINARY_DIR}") - --install(TARGETS performous DESTINATION bin) -+install(TARGETS performous DESTINATION @GENTOO_BINDIR@) - ---- game/fs.cc.old 2012-02-20 20:09:48.171892171 +0100 -+++ game/fs.cc 2012-02-20 20:16:14.197400202 +0100 -@@ -195,6 +195,7 @@ - if (root) config_list.push_back(std::string(root) + "/" SHARED_DATA_DIR + configFile.string()); - fs::path exec = plugin::execname(); - if (!exec.empty()) config_list.push_back(exec.parent_path().string() + "/../" SHARED_DATA_DIR + configFile.string()); -+ config_list.push_back(SHARED_DATA_DIR + configFile.string()); - ConfigList::const_iterator it = std::find_if(config_list.begin(), config_list.end(), static_cast<bool(&)(fs::path const&)>(fs::exists)); - if (it == config_list.end()) { - throw std::runtime_error("Could not find default config file " + configFile.string()); ---- game/fs.cc.old 2012-02-20 20:49:35.610728056 +0100 -+++ game/fs.cc 2012-02-20 20:57:03.117084432 +0100 -@@ -167,6 +167,7 @@ - - // Adding relative path from executable - dirs.push_back(plugin::execname().parent_path().parent_path() / shareDir); -+ dirs.push_back(shareDir); - #ifndef _WIN32 - // Adding XDG_DATA_DIRS - { diff --git a/games-arcade/performous/files/performous-0.7.0-libav.patch b/games-arcade/performous/files/performous-0.7.0-libav.patch deleted file mode 100644 index b598dc0a488a..000000000000 --- a/games-arcade/performous/files/performous-0.7.0-libav.patch +++ /dev/null @@ -1,41 +0,0 @@ -diff -urN Performous-0.6.1-Source.old/cmake/Modules/FindAVUtil.cmake Performous-0.6.1-Source/cmake/Modules/FindAVUtil.cmake ---- Performous-0.6.1-Source.old/cmake/Modules/FindAVUtil.cmake 2012-05-16 13:44:26.112930173 +0200 -+++ Performous-0.6.1-Source/cmake/Modules/FindAVUtil.cmake 2012-05-16 13:56:10.229914635 +0200 -@@ -25,9 +25,15 @@ - if(EXISTS "${AVUtil_INCLUDE_DIR}/${suffix}avutil.h") - set(AVUtil_INCLUDE "${suffix}avutil.h") - endif(EXISTS "${AVUtil_INCLUDE_DIR}/${suffix}avutil.h") -+ if(EXISTS "${AVUtil_INCLUDE_DIR}/${suffix}mathematics.h") -+ set(AVUtilMath_INCLUDE "${suffix}mathematics.h") -+ endif(EXISTS "${AVUtil_INCLUDE_DIR}/${suffix}mathematics.h") - endif(NOT AVUtil_INCLUDE) - endforeach(suffix) - -+ if(NOT AVUtilMath_INCLUDE) -+ message(FATAL_ERROR "Found mathematics.h include dir, but not the header file. Perhaps you need to clear CMake cache?") -+ endif(NOT AVUtilMath_INCLUDE) - if(NOT AVUtil_INCLUDE) - message(FATAL_ERROR "Found avutil.h include dir, but not the header file. Perhaps you need to clear CMake cache?") - endif(NOT AVUtil_INCLUDE) -diff -urN Performous-0.6.1-Source.old/game/config.cmake.hh Performous-0.6.1-Source/game/config.cmake.hh ---- Performous-0.6.1-Source.old/game/config.cmake.hh 2012-05-16 13:44:26.103930173 +0200 -+++ Performous-0.6.1-Source/game/config.cmake.hh 2012-05-16 13:59:24.552910345 +0200 -@@ -15,6 +15,7 @@ - #define AVCODEC_INCLUDE <@AVCodec_INCLUDE@> - #define AVFORMAT_INCLUDE <@AVFormat_INCLUDE@> - #define SWSCALE_INCLUDE <@SWScale_INCLUDE@> -+#define AVUTILMATH_INCLUDE <@AVUtilMath_INCLUDE@> - - #endif - -diff -urN Performous-0.6.1-Source.old/game/ffmpeg.cc Performous-0.6.1-Source/game/ffmpeg.cc ---- Performous-0.6.1-Source.old/game/ffmpeg.cc 2012-05-16 13:44:26.101930173 +0200 -+++ Performous-0.6.1-Source/game/ffmpeg.cc 2012-05-16 14:00:38.278908717 +0200 -@@ -10,6 +10,7 @@ - #include AVCODEC_INCLUDE - #include AVFORMAT_INCLUDE - #include SWSCALE_INCLUDE -+#include AVUTILMATH_INCLUDE - } - - // #define USE_FFMPEG_CRASH_RECOVERY diff --git a/games-arcade/performous/files/performous-0.7.0-linguas.patch b/games-arcade/performous/files/performous-0.7.0-linguas.patch deleted file mode 100644 index 21836766d878..000000000000 --- a/games-arcade/performous/files/performous-0.7.0-linguas.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- lang/CMakeLists.txt -+++ lang/CMakeLists.txt -@@ -7,5 +7,11 @@ - set(mofile ${CMAKE_CURRENT_BINARY_DIR}/${language}.mo) - add_custom_command(OUTPUT ${mofile} COMMAND ${Msgfmt_BIN} -v "${pofile}" -o ${mofile} MAIN_DEPENDENCY ${pofile} COMMENT "Building ${language} locale" VERBATIM) - add_custom_target(locale_${language} ALL DEPENDS ${mofile}) # Make sure the mofiles are always built -- install(FILES ${mofile} DESTINATION ${LOCALE_DIR}/${language}/LC_MESSAGES RENAME ${CMAKE_PROJECT_NAME}.mo) - endforeach(language) -+foreach(language $ENV{LINGUAS}) -+ set(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${language}.po) -+ if (EXISTS ${pofile}) -+ set(mofile ${CMAKE_CURRENT_BINARY_DIR}/${language}.mo) -+ install(FILES ${mofile} DESTINATION ${LOCALE_DIR}/${language}/LC_MESSAGES RENAME ${CMAKE_PROJECT_NAME}.mo) -+ endif() -+endforeach(language) diff --git a/games-arcade/performous/performous-0.7.0-r1.ebuild b/games-arcade/performous/performous-0.7.0-r1.ebuild deleted file mode 100644 index 04738daaaa37..000000000000 --- a/games-arcade/performous/performous-0.7.0-r1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/performous/performous-0.7.0-r1.ebuild,v 1.3 2014/07/14 12:54:24 tupone Exp $ - -EAPI=5 - -CMAKE_REMOVE_MODULES="yes" -CMAKE_REMOVE_MODULES_LIST="FindALSA FindBoost FindFreetype FindGettext FindJpeg FindPng FindTiff FindZ" -inherit eutils base cmake-utils games - -MY_PN=Performous -MY_P=${MY_PN}-${PV} -SONGS_PN=ultrastar-songs - -DESCRIPTION="SingStar GPL clone" -HOMEPAGE="http://sourceforge.net/projects/performous/" -SRC_URI="mirror://sourceforge/performous/${P}.tar.bz2 - songs? ( - mirror://sourceforge/performous/${SONGS_PN}-restricted-3.zip - mirror://sourceforge/performous/${SONGS_PN}-jc-1.zip - mirror://sourceforge/performous/${SONGS_PN}-libre-3.zip - mirror://sourceforge/performous/${SONGS_PN}-shearer-1.zip - )" - -LICENSE="GPL-2 - songs? ( - CC-BY-NC-SA-2.5 - CC-BY-NC-ND-2.5 - )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="midi songs tools webcam" - -RDEPEND="dev-cpp/glibmm - dev-cpp/libxmlpp - media-libs/portaudio - dev-libs/boost[threads(+)] - dev-libs/glib - dev-libs/libxml2 - gnome-base/librsvg - media-gfx/imagemagick - virtual/jpeg - media-libs/libpng:0 - media-libs/libsdl[joystick,video] - virtual/ffmpeg - virtual/opengl - virtual/glu - sys-libs/zlib - virtual/libintl - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/pango - midi? ( media-libs/portmidi ) - webcam? ( media-libs/opencv )" -DEPEND="${RDEPEND} - media-libs/glew - sys-apps/help2man - sys-devel/gettext" - -PATCHES=( - "${FILESDIR}"/${P}-libav.patch - "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/${P}-linguas.patch - "${FILESDIR}"/${P}-desktop.patch - "${FILESDIR}"/${P}-cmake.patch - "${FILESDIR}"/${P}-freetype.patch -) - -src_prepare() { - base_src_prepare - sed -i \ - -e "s:@GENTOO_BINDIR@:${GAMES_BINDIR}:" \ - game/CMakeLists.txt \ - || die - - strip-linguas -u lang -} - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_enable tools TOOLS) - $(usex midi "" "-DNO_PORTMIDI=ON") - $(usex webcam "" "-DNO_WEBCAM=ON") - -DCMAKE_VERBOSE_MAKEFILE=TRUE - -DSHARE_INSTALL="${GAMES_DATADIR}"/${PN} - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - cmake-utils_src_install - if use songs ; then - insinto "${GAMES_DATADIR}"/${PN} - doins -r "${WORKDIR}/songs" - fi - dodoc docs/{Authors,DeveloperReadme,instruments,TODO}.txt - prepgamesdirs -} diff --git a/games-arcade/performous/performous-0.7.0.ebuild b/games-arcade/performous/performous-0.7.0.ebuild deleted file mode 100644 index 14f708decfd3..000000000000 --- a/games-arcade/performous/performous-0.7.0.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/performous/performous-0.7.0.ebuild,v 1.4 2013/02/07 22:06:19 ulm Exp $ - -EAPI=3 -inherit eutils flag-o-matic base cmake-utils games - -MY_PN=Performous -MY_P=${MY_PN}-${PV} -SONGS_PN=ultrastar-songs - -DESCRIPTION="SingStar GPL clone" -HOMEPAGE="http://sourceforge.net/projects/performous/" -SRC_URI="mirror://sourceforge/performous/${P}.tar.bz2 - songs? ( - mirror://sourceforge/performous/${SONGS_PN}-restricted-3.zip - mirror://sourceforge/performous/${SONGS_PN}-jc-1.zip - mirror://sourceforge/performous/${SONGS_PN}-libre-3.zip - mirror://sourceforge/performous/${SONGS_PN}-shearer-1.zip - )" - -LICENSE="GPL-2 - songs? ( - CC-BY-NC-SA-2.5 - CC-BY-NC-ND-2.5 - )" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="songs tools" - -RDEPEND="dev-cpp/glibmm - dev-cpp/libxmlpp - media-libs/portaudio - >=dev-libs/boost-1.36 - dev-libs/glib - dev-libs/libxml2 - gnome-base/librsvg - media-gfx/imagemagick - virtual/jpeg - media-libs/libpng:0 - media-libs/libsdl[joystick,video] - virtual/ffmpeg - virtual/opengl - virtual/glu - sys-libs/zlib - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/pango" -DEPEND="${RDEPEND} - media-libs/glew - sys-apps/help2man" - -PATCHES=( - "${FILESDIR}"/${P}-libav.patch - "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/${P}-linguas.patch - "${FILESDIR}"/${P}-desktop.patch -) - -src_prepare() { - base_src_prepare - sed -i \ - -e "s:@GENTOO_BINDIR@:${GAMES_BINDIR}:" \ - game/CMakeLists.txt \ - || die - - strip-linguas -u lang - - # how do I hate boost? Let me count the ways... - local boost_ver=$(best_version ">=dev-libs/boost-1.36") - - boost_ver=${boost_ver/*boost-/} - boost_ver=${boost_ver%.*} - boost_ver=${boost_ver/./_} - - einfo "Using boost version ${boost_ver}" - append-cxxflags \ - -I/usr/include/boost-${boost_ver} - append-ldflags \ - -L/usr/$(get_libdir)/boost-${boost_ver} - export BOOST_INCLUDEDIR="/usr/include/boost-${boost_ver}" - export BOOST_LIBRARYDIR="/usr/$(get_libdir)/boost-${boost_ver}" -} - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_enable tools TOOLS) - -DCMAKE_VERBOSE_MAKEFILE=TRUE - -DSHARE_INSTALL="${GAMES_DATADIR}"/${PN} - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - cmake-utils_src_install - if use songs ; then - insinto "${GAMES_DATADIR}"/${PN} - doins -r "${WORKDIR}/songs" || die - fi - dodoc docs/{Authors,DeveloperReadme,instruments,TODO}.txt - prepgamesdirs -} |