summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-01-18 00:59:41 +0000
committerTim Harder <radhermit@gentoo.org>2013-01-18 00:59:41 +0000
commit2d3b312060e74ec568027642d0e1fb516fd93d01 (patch)
tree27e0a5a015521f62046a6d36e3b2bb90f47b4dac
parentVersion bump. Update to EAPI 5 and add subslot, add doc and test use flags, a... (diff)
downloadhistorical-2d3b312060e74ec568027642d0e1fb516fd93d01.tar.gz
historical-2d3b312060e74ec568027642d0e1fb516fd93d01.tar.bz2
historical-2d3b312060e74ec568027642d0e1fb516fd93d01.zip
Version bump (fixes bug #443270).
Package-Manager: portage-2.2.0_alpha154/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
-rw-r--r--games-emulation/vbam/ChangeLog10
-rw-r--r--games-emulation/vbam/Manifest19
-rw-r--r--games-emulation/vbam/files/vbam-1.8.0.1149-desktop.patch48
-rw-r--r--games-emulation/vbam/vbam-1.8.0.1149.ebuild107
4 files changed, 174 insertions, 10 deletions
diff --git a/games-emulation/vbam/ChangeLog b/games-emulation/vbam/ChangeLog
index 2d31a96aa090..b23ae0fc8366 100644
--- a/games-emulation/vbam/ChangeLog
+++ b/games-emulation/vbam/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-emulation/vbam
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/vbam/ChangeLog,v 1.15 2012/09/09 22:11:28 radhermit Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/vbam/ChangeLog,v 1.16 2013/01/18 00:59:36 radhermit Exp $
+
+*vbam-1.8.0.1149 (18 Jan 2013)
+
+ 18 Jan 2013; Tim Harder <radhermit@gentoo.org> +vbam-1.8.0.1149.ebuild,
+ +files/vbam-1.8.0.1149-desktop.patch:
+ Version bump (fixes bug #443270).
09 Sep 2012; Tim Harder <radhermit@gentoo.org> -vbam-1.8.0.1009-r1.ebuild,
-files/vbam-1.8.0.1009-desktop.patch, -files/vbam-1.8.0.1009-no-nls.patch:
diff --git a/games-emulation/vbam/Manifest b/games-emulation/vbam/Manifest
index 23b020998f93..c5f06cedb696 100644
--- a/games-emulation/vbam/Manifest
+++ b/games-emulation/vbam/Manifest
@@ -3,19 +3,22 @@ Hash: SHA256
AUX vbam-1.8.0.1009-zlib-1.2.6.patch 1253 SHA256 08ba1b0b123b30e31e1f336ca118972679481ba5a9e54db706c90fae60905548 SHA512 4e7f1470ac88dfc6b2bc03213eb2236f688ce9d4caa7a195c0ac41e5f636982074033816a55e56ac6da1b766e1285e3cbbde97a4960be6a56c8c20bd5904165f WHIRLPOOL 8131cc267f3987b2a348a04e4d48b8a498ec3e3e99de7b80e9063165663c205cb4763c1b69d204de5ac26345b576d4fb4548775e765432d43ae3aa96b3b7bfa5
AUX vbam-1.8.0.1090-ffmpeg.patch 311 SHA256 cd215c049289a394203af417205a9535768c6875f6e151142ce101e0f79964db SHA512 3c56b3a7db579b535afe965399ece427de2ba5e62863e3c9a3392e39ce30cc3fdf80508040cc6194f42a406a641836a838af263d750678604788a4a6c7b2ca95 WHIRLPOOL be3995b509b7eae3cba6bc006c81c3ecc4816eb69b2bbfa694941eb64046e1b3b4da91b868037ac8b5442f1fe60fb048cb4cd0f079bd86d8eb02fa3516ee05ee
+AUX vbam-1.8.0.1149-desktop.patch 1400 SHA256 97643063490c76bc796a02c3062a0ba3aa5f1a1a7f6023b12d0cf0558c5a0947 SHA512 dc493ced382090b6b98487229e7d13332c626c2787afeeb4c4849773e87851778b6d1724610b3b345ee8e5fce9550cff3242851a35e3f98e2b76d7f4b8f3d2be WHIRLPOOL 9e4607e22145c7de0e9bd9b16d8210ba4cdb1d1ba972851a48e25de3a494f02d7a92a7cff0900b9f4f7328f2f073ab9f04a99f7b7f9b25cf871cab07a1604610
DIST vbam-1.8.0.1090.tar.xz 823216 SHA256 998df784fb80188c0cd02502856881fcbfb81e40799504fcef2022f22a1af5c4 SHA512 2ea033161621d8f9e21c369f9b27ab164bd87a331f28293c8bb2fec440766aaaffc2c17ac18009b8a004eec19057dbd786073733d85a728cf1624ad3e9a44ff2 WHIRLPOOL abe1d73005d338e7057d160974b8e42a43a13253d5866a80820f9248c68778765568e12afbbd996a4ce440cdbb3ddb79d88d4a045ae2753b1994c674a7b56a82
+DIST vbam-1.8.0.1149.tar.xz 824980 SHA256 7eb2c29a416faca9c7ab28cb953c276e76c51b6b45bd5ae83f7f9a32b8c6d252 SHA512 aaf2262780ee723077002c43ca317c81a85bf2350067aa504ad578d1280765f65baac9a8428e595b0c746db1bd37ce29f9bb1758aaef300e7d52b4da45652e46 WHIRLPOOL bc230cb7a485f198a8b3ca050b85b1e167a3b313edf36753c016c8e44a2a10a99a3163c649eb48ffbdb5747fbff35909e30aebd537bcb38c1a72ad0d783e969b
EBUILD vbam-1.8.0.1090.ebuild 1966 SHA256 c635dc0e3855768a161aea82bfc6709f543b9cdcd2590d962bead4d9e7c3de22 SHA512 d81b01892c6deb556df00716f3493ad0a2fff9733a651b1aec8115409f519bbca057462ba90dfcaca7ef5bd3cefa5840c21c70720baf768a26f14f205c572740 WHIRLPOOL 843f2f7c9a48165b9720e197de68b214f4ba834b9558a8205c37891c67ed8de21b824e767bf4e411182cd3d99e7c477da389e6efa3fe75703728a3370e849c4a
+EBUILD vbam-1.8.0.1149.ebuild 2612 SHA256 3879c746e1b771ddc688b24ce6bdcd7619c6b17e041a1f51e9d883e649a7f524 SHA512 c72c17d0a5564118b8a56906cff7c7756824b4142d8ed5109eb8c29de4dd8adcc7275ec1cdcfcaa06ec3f9988f00115bbbf0775798a6d35404613a40be2d8bf5 WHIRLPOOL d79ba631222d4ea100ee0013e5854914d6349ffae3083c6ed78148c1aa8295eeb02074d979278e98bc456b06f149f4f99e9f34d67c1609181edf3bfb70987231
EBUILD vbam-9999.ebuild 2149 SHA256 b253b444a323288b6c3a1e2024c3c89dec8536cc54b2267fa31e6a6babab193d SHA512 40ebe8b48942dc40bacadc65ef03a6213052c84ec3f8b82018bc76a8fc809346c78fa581d3deeb152fb71178d7d8da640cb759a0c0bd0b5e047a49cca7ae3862 WHIRLPOOL f773bbbce2290aec551e54959206c73ad5ef9b5f1d744f0f50d580e69ade8987dc2811ec0d5e6bf9426ad2e552841b6a107812feb5055a2929911b1f31bff175
-MISC ChangeLog 2986 SHA256 09d009b40b395714fd8f30964b3e049d59fa089288df9f3c556e1ceaf118cc82 SHA512 4e6659eccf37ad54b27b36cf50ad338c3b39496d9166817ee40b315a3581da90e2d48035b561d01ba6642dc69e3eaf5bb65319bfa44f2408929902a82bb6109e WHIRLPOOL c72506b272fc66c2a0fc5892137322e48e299676441e6ea1613976a6f2da5235fc66118641b5750d3f8f4fa477064a3261a667dbd41b70910ac0b96e7ac0f15e
+MISC ChangeLog 3169 SHA256 2207d86c4457e70bbbf2d5ba0aae45d7461063385788290a09971225ee0101de SHA512 01f2da01a0d5463a2b8be4a59b6fa697bbd66cea7a43729f0146303957e191da2edcccdcbe4f223498b229b4ab232b5769addfe5236bc1daa3532ff6a04ef717 WHIRLPOOL ec6815e5a7fd08cfb16c079c2eea384a809d8dc96d9272b77e5e3b2649d8f12b40beab4b74c6fe5ff969636b0642765bec508f5000acc49f7d06a85860236d4b
MISC metadata.xml 331 SHA256 d6054d5a8bdfb747166a4b83c1f7db04be3898899323aa316cbef1ab7a6b7daa SHA512 6fad448db04e5a8cf3880de3a34638a7a5791ac3d847318def2163e2cf91637d99eb4adfc2acc8351c62965b8ea95f4f86b1b5d372691565ffbc553250ee1cbd WHIRLPOOL 603a7f5c7378302173ba3758eb57b67489cca71a71af4d15319bfb145b2b332508e7759f44fe6382dccb850a60d1f9e21d43ebf1507e47d61b33c5a21dd809da
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQTRQWAAoJEEqz6FtPBkyjj8sH/13vqpORJmOiFBdz+yvXVsdE
-wQI7OVoIkUf7Uy5cwmHqZeQJxRYcb/TqGfwhu/oesC6R/3TPti6jMhi64/THNeG2
-kwVDypfuU6NK8g0ibMNZyzipTQ+wogHVR0odxJ+LoF7YEVHQCYxIIsCvcjI+5TY1
-KObwQRl5W3/0WfoWsnGRuplwbe9JwuJe0iyr1WlGkroQabkpnJD0PRBJ9cp7/hWO
-HqjEEShrA646QPCwoSv/VFmW8ffoQ4mM3jGDlRsiFSk7h3DL8OF1S2Ont9ijCanI
-qKpUh2sGIoatuLtbW6Z7pVML1VHE2HYsl1tI8bwJj5GAqvfXgyevOHW5J/S/t54=
-=WKeE
+iQEcBAEBCAAGBQJQ+J58AAoJEEqz6FtPBkyj/DwH/i5dM0rNFpG/OJkKyB0WCnOo
+6PSg4dl53XV8Nwq51nfnNItm7sNDlikRYnl/wdpHzxTDTUZQxCn9FtPBJGzwacBT
+iRB2r2KVzzdd0mpzxKE2PyhCPG5mLN+WeJE/QTuYRhNRi3SaNAWDp2lSsTkiapqZ
+OvQpNdJgazTTV7HFFq0M9pN7bdCp7u1H2weq/Y/K5jQ/JlUAeTcd+tieG1WGRL9/
+sk7/KEYmhEYQJDCb+8MteXqwKlGTSU+RPLDI0BSvvXTLO/9V/mDpDf1QJuJsmie8
+2st5nek1Afdjs0PKtjvbX92ESGOj0yseZ/OxPofG3xLOgBfB4A7ziQlsvlKsi0k=
+=6LOj
-----END PGP SIGNATURE-----
diff --git a/games-emulation/vbam/files/vbam-1.8.0.1149-desktop.patch b/games-emulation/vbam/files/vbam-1.8.0.1149-desktop.patch
new file mode 100644
index 000000000000..7aa78a1e2b74
--- /dev/null
+++ b/games-emulation/vbam/files/vbam-1.8.0.1149-desktop.patch
@@ -0,0 +1,48 @@
+--- vbam-1.8.0.1149/src/gtk/gvbam.desktop
++++ vbam-1.8.0.1149/src/gtk/gvbam.desktop
+@@ -1,11 +1,11 @@
+-[Desktop Entry]
+-Version=1.0
+-Encoding=UTF-8
+-Type=Application
+-Name=VBA-M
+-GenericName=GameBoy Advance Emulator
+-Comment=Nindendo GameBoy Advance Emulator
+-Exec=gvbam
+-Icon=vbam
+-Categories=Application;Game;Emulator;GTK
+-MimeType=application/x-gameboy-rom;application/x-gameboy-advance-rom;application/x-dmg-rom;application/x-agb-rom;application/x-gb-rom;application/x-gba-rom
++[Desktop Entry]
++Version=1.0
++Encoding=UTF-8
++Type=Application
++Name=VBA-M
++GenericName=GameBoy Advance Emulator
++Comment=Nindendo GameBoy Advance Emulator
++Exec=gvbam
++Icon=vbam
++Categories=Game;Emulator;GTK;
++MimeType=application/x-gameboy-rom;application/x-gameboy-advance-rom;application/x-dmg-rom;application/x-agb-rom;application/x-gb-rom;application/x-gba-rom;
+--- vbam-1.8.0.1149/src/wx/wxvbam.desktop
++++ vbam-1.8.0.1149/src/wx/wxvbam.desktop
+@@ -1,10 +1,10 @@
+-[Desktop Entry]
+-Version=1.0
+-Encoding=UTF-8
+-Type=Application
+-Name=VBA-M
+-GenericName=GameBoy Advance Emulator
+-Comment=Nindendo GameBoy Advance Emulator
+-Exec=wxvbam
+-Icon=vbam
+-Categories=Application;Game;Emulator
++[Desktop Entry]
++Version=1.0
++Encoding=UTF-8
++Type=Application
++Name=VBA-M
++GenericName=GameBoy Advance Emulator
++Comment=Nindendo GameBoy Advance Emulator
++Exec=wxvbam
++Icon=vbam
++Categories=Game;Emulator;
diff --git a/games-emulation/vbam/vbam-1.8.0.1149.ebuild b/games-emulation/vbam/vbam-1.8.0.1149.ebuild
new file mode 100644
index 000000000000..e02384805b44
--- /dev/null
+++ b/games-emulation/vbam/vbam-1.8.0.1149.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/vbam/vbam-1.8.0.1149.ebuild,v 1.1 2013/01/18 00:59:36 radhermit Exp $
+
+EAPI=4
+WX_GTK_VER="2.8"
+
+inherit eutils cmake-utils wxwidgets games
+
+ESVN_REPO_URI="https://vbam.svn.sourceforge.net/svnroot/vbam/trunk"
+
+DESCRIPTION="Game Boy, GBC, and GBA emulator forked from VisualBoyAdvance"
+HOMEPAGE="http://vba-m.ngemu.com"
+SRC_URI="http://dev.gentoo.org/~radhermit/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cairo ffmpeg gtk link lirc nls openal +sdl wxwidgets"
+REQUIRED_USE="|| ( sdl gtk wxwidgets )"
+
+RDEPEND=">=media-libs/libpng-1.4
+ media-libs/libsdl[joystick]
+ link? ( media-libs/libsfml )
+ sys-libs/zlib
+ virtual/glu
+ virtual/opengl
+ ffmpeg? ( virtual/ffmpeg )
+ gtk? ( >=dev-cpp/glibmm-2.4.0:2
+ >=dev-cpp/gtkmm-2.4.0:2.4
+ >=dev-cpp/gtkglextmm-1.2.0 )
+ lirc? ( app-misc/lirc )
+ nls? ( virtual/libintl )
+ wxwidgets? (
+ cairo? ( x11-libs/cairo )
+ openal? ( media-libs/openal )
+ x11-libs/wxGTK:2.8[X,opengl]
+ )"
+DEPEND="${RDEPEND}
+ x86? ( || ( dev-lang/nasm dev-lang/yasm ) )
+ nls? ( sys-devel/gettext )
+ app-arch/xz-utils
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-desktop.patch
+
+ # Fix issue with zlib-1.2.5.1 macros (bug #383179)
+ sed -i '1i#define OF(x) x' src/common/memgzio.c || die
+
+ sed -i "s:\(DESTINATION\) bin:\1 ${GAMES_BINDIR}:" \
+ CMakeLists.txt src/wx/CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_enable cairo CAIRO)
+ $(cmake-utils_use_enable ffmpeg FFMPEG)
+ $(cmake-utils_use_enable gtk GTK)
+ $(cmake-utils_use_enable link LINK)
+ $(cmake-utils_use_enable lirc LIRC)
+ $(cmake-utils_use_enable nls NLS)
+ $(cmake-utils_use_enable openal OPENAL)
+ $(cmake-utils_use_enable sdl SDL)
+ $(cmake-utils_use_enable wxwidgets WX)
+ $(cmake-utils_use_enable x86 ASM_CORE)
+ $(cmake-utils_use_enable x86 ASM_SCALERS)
+ -DCMAKE_SKIP_RPATH=ON
+ -DDATA_INSTALL_DIR=share/games/${PN}
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if use sdl ; then
+ dodoc doc/ReadMe.SDL.txt || die
+ doman debian/vbam.1 || die
+ fi
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ if use gtk || use wxwidgets ; then
+ gnome2_icon_savelist
+ fi
+}
+
+pkg_postinst() {
+ if use gtk || use wxwidgets ; then
+ gnome2_icon_cache_update
+ fi
+ use gtk && fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ if use gtk || use wxwidgets ; then
+ gnome2_icon_cache_update
+ fi
+ use gtk && fdo-mime_desktop_database_update
+}