diff options
author | David Seifert <soap@gentoo.org> | 2017-12-20 22:30:18 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-12-21 02:40:02 +0100 |
commit | 9680aff97f91af46ced5d779cfbe72969c7c9219 (patch) | |
tree | 803596a3e4fe90d602296f075a3a35dabd8587cc /games-emulation | |
parent | games-emulation/mekanix: Remove old (diff) | |
download | gentoo-9680aff97f91af46ced5d779cfbe72969c7c9219.tar.gz gentoo-9680aff97f91af46ced5d779cfbe72969c7c9219.tar.bz2 gentoo-9680aff97f91af46ced5d779cfbe72969c7c9219.zip |
games-emulation/mgba: Remove old
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/mgba/Manifest | 1 | ||||
-rw-r--r-- | games-emulation/mgba/mgba-0.6.0.ebuild | 115 |
2 files changed, 0 insertions, 116 deletions
diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 2072993bc5f4..ffc901065356 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,3 +1,2 @@ DIST mgba-0.5.2.tar.gz 5343635 BLAKE2B 2e33e504da09b2cf9863c216f9569f155c85a9ba68209eac72ab849cc816d793a794fe92f2a9ed06065673de92b98ddb9ae0f8624ebb413aac6ecf639523c086 SHA512 8d3ef901bae9b503f8d5afff63c23be9af4b519f86cc6f3656c51374756107e4852bc0472cb7393cb04c8f0ff2f134367a81e32a5ff3dab8ae0c6cbd7d3858da -DIST mgba-0.6.0.tar.gz 7434157 BLAKE2B 804bf56f22c75b02490508f1c2d0409e4ce5679f7cf4d225ba48c2fd1852d88fb4c4eaa3b2ee21f8ed459d64fd60f3ad3a4ed21683a4aaabdf55378c4166b2d2 SHA512 24a9c75370465246e467f03498994e2f142bed18435658aa75ee8dc7ad9f8fa649b476b7846c0f3c4be474ca1d3b7c36e34af05b4088fa3a7a11e3edb0074308 DIST mgba-0.6.1.tar.gz 7437240 BLAKE2B d00ed8a517b6e82f477537702d757bd9d86d007ee7bea022b67751b0423a2f386706e410c5e41b984ae8e7e66efabbf41356b846fdcba438cb5a64c89bc2379c SHA512 fb4d2bd490afa052c32d263e4d7b65ff83ccdcad01f5df6572d73c81de3c4e0c268b102ac36cff4a85ab20fc190d2f1a4959a3058e559a528be5e49c4808ce57 diff --git a/games-emulation/mgba/mgba-0.6.0.ebuild b/games-emulation/mgba/mgba-0.6.0.ebuild deleted file mode 100644 index 0df5f259babc..000000000000 --- a/games-emulation/mgba/mgba-0.6.0.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils gnome2-utils xdg-utils - -DESCRIPTION="A new Game Boy Advance emulator written in C." -HOMEPAGE="https://mgba.io" -SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug ffmpeg imagemagick opengl qt5 +sdl" -REQUIRED_USE="|| ( qt5 sdl ) - qt5? ( opengl )" - -RDEPEND=" - dev-db/sqlite:3 - media-libs/libpng:0= - sys-libs/zlib[minizip] - ffmpeg? ( virtual/ffmpeg ) - imagemagick? ( media-gfx/imagemagick:= ) - opengl? ( virtual/opengl ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtwidgets:5 - opengl? ( dev-qt/qtopengl:5 ) - ) - sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) -" -DEPEND="${RDEPEND}" - -src_prepare() { - cmake-utils_src_prepare - - # Get rid of any bundled stuff we don't want - for pkg in libpng lzma sqlite3 zlib ; do - rm -r "${S}"/src/third-party/${pkg} || die - done -} - -src_configure() { - local mycmakeargs=( - -DBUILD_GL="$(usex opengl)" - -DBUILD_GLES=OFF - -DBUILD_PYTHON=OFF - -DBUILD_QT="$(usex qt5)" - -DBUILD_SDL="$(usex sdl)" - -DBUILD_SHARED=ON - # test suite fails to build (0.6.0) - -DBUILD_SUITE=OFF - -DBUILD_TEST=OFF - -DM_CORE_GB=ON - -DM_CORE_GBA=ON - -DUSE_DEBUGGERS="$(usex debug)" - -DUSE_EDITLINE="$(usex debug)" - -DUSE_EPOXY=OFF - -DUSE_FFMPEG="$(usex ffmpeg)" - -DUSE_GDB_STUB="$(usex debug)" - -DUSE_LIBZIP=OFF - -DUSE_LZMA=OFF - -DUSE_MAGICK="$(usex imagemagick)" - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - # build fails with sqlite being disabled (0.6.0) - -DUSE_SQLITE3=ON - -DUSE_ZLIB=ON - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - if use qt5 ; then - for size in 16 24 32 48 64 96 128 256; do - newicon -s ${size} res/${PN}-${size}.png ${PN}.png - done - doman doc/${PN}-qt.6 - domenu res/${PN}-qt.desktop - dobin ../${P}_build/qt/${PN}-qt - fi - if use sdl ; then - doman doc/${PN}.6 - newbin ../${P}_build/sdl/${PN} ${PN}-sdl - fi - - dolib.so ../${P}_build/lib${PN}.so* -} - -pkg_preinst() { - if use qt5 ; then - gnome2_icon_savelist - fi -} - -pkg_postinst() { - if use qt5 ; then - xdg_desktop_database_update - gnome2_icon_cache_update - fi -} - -pkg_postrm() { - if use qt5 ; then - xdg_desktop_database_update - gnome2_icon_cache_update - fi -} |