diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-04-05 09:45:42 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-04-05 10:13:22 +0200 |
commit | 8a8c63fbbc27a22427e85cba56bde2767463cd8e (patch) | |
tree | fcf09914b0d401f3265a0760e2eadd57900912ac /games-emulation/mgba | |
parent | games-emulation/mgba: Bump to version 0.6.2 (diff) | |
download | gentoo-8a8c63fbbc27a22427e85cba56bde2767463cd8e.tar.gz gentoo-8a8c63fbbc27a22427e85cba56bde2767463cd8e.tar.bz2 gentoo-8a8c63fbbc27a22427e85cba56bde2767463cd8e.zip |
games-emulation/mgba: Removed old.
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'games-emulation/mgba')
-rw-r--r-- | games-emulation/mgba/Manifest | 1 | ||||
-rw-r--r-- | games-emulation/mgba/mgba-0.5.2.ebuild | 104 |
2 files changed, 0 insertions, 105 deletions
diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 4401b767b8b4..cc5e09137ce5 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.1.tar.gz 7437240 BLAKE2B d00ed8a517b6e82f477537702d757bd9d86d007ee7bea022b67751b0423a2f386706e410c5e41b984ae8e7e66efabbf41356b846fdcba438cb5a64c89bc2379c SHA512 fb4d2bd490afa052c32d263e4d7b65ff83ccdcad01f5df6572d73c81de3c4e0c268b102ac36cff4a85ab20fc190d2f1a4959a3058e559a528be5e49c4808ce57 DIST mgba-0.6.2.tar.gz 7441969 BLAKE2B f807a3a26667f50cbf3b87ac6e7887ec7fb99516895e1168855fafee417025a1d1e5605ca3f87a171fde563fd69878d5d164e068247643401c2696164d7460c1 SHA512 8afe4fb331f4163f4cd96cc73a51136bdb9008178b74c0ecb827c1f06dee79eba3cf753e1c35657972d8593ab97d294c15287ebf2c5ffa6a135527d5611d3574 diff --git a/games-emulation/mgba/mgba-0.5.2.ebuild b/games-emulation/mgba/mgba-0.5.2.ebuild deleted file mode 100644 index be3429d13af3..000000000000 --- a/games-emulation/mgba/mgba-0.5.2.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit fdo-mime gnome2-utils cmake-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="ffmpeg imagemagick opengl qt5 +sdl" -REQUIRED_USE="|| ( qt5 sdl ) - qt5? ( opengl )" - -RDEPEND=" - 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} - >=dev-util/cmake-3.2.2" - -PATCHES=( - "${FILESDIR}/${P}-imagemagick7.patch" -) - -src_prepare() { - cmake-utils_src_prepare - - # Get rid of any bundled stuff we don't want - for pkg in libpng lzma zlib ; do - rm -r "${S}"/src/third-party/${pkg} || die - done -} - -src_configure() { - local mycmakeargs=( - -DBUILD_GL="$(usex opengl)" - -DBUILD_QT="$(usex qt5)" - -DBUILD_SDL="$(usex sdl)" - -DUSE_FFMPEG="$(usex ffmpeg)" - -DUSE_MAGICK="$(usex imagemagick)" - -DUSE_EPOXY=OFF - -DUSE_LIBZIP=OFF - -DUSE_LZMA=OFF - -DUSE_MINIZIP=ON - -DM_CORE_GB=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 - fdo-mime_desktop_database_update - gnome2_icon_cache_update - fi -} - -pkg_postrm() { - if use qt5 ; then - fdo-mime_desktop_database_update - gnome2_icon_cache_update - fi -} |