Skip to content

Commit

Permalink
games-emulation/mednaffe: Version bump
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.31, Repoman-2.3.9
  • Loading branch information
pacho2 committed Apr 29, 2018
1 parent 3f631ac commit 35f55f9
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions games-emulation/mednaffe/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST mednaffe-0.8.7.tar.gz 304300 BLAKE2B 80a57f2afbea0e33ec547f16088b678fd9a319a124bbebe71fe7848497e1276ae77c0fb47718324d8549dbb69709685f46c970dedf982f48ac095f1923b42dbd SHA512 3495ecd3b87f19ab65d8760ea8adfa830c4dc9fe959f2e2f349216b36f58d9623c9cfd0c7e40fe5e8b7b90846fe85d9808c2a5885f36d5d8b16659b25cf8a3a1
DIST mednaffe-0.8.zip 311381 BLAKE2B cffa364f58c83dfed85141ed6e740b0e31b76524e8a336b332d79884f745e8d918cfd78658ded4c377b384ccb7dbb921aa883ff3bb0a0d413a2bb00365f0f4a0 SHA512 54747318da956616af2fedba5d9760629d0064140b4aa2bd652208c4fda8cb24dec60d869d6999aaa371d837adcaf0c6761f843277c999c33d98cfdd07bf3776
47 changes: 47 additions & 0 deletions games-emulation/mednaffe/mednaffe-0.8.7.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit autotools flag-o-matic gnome2-utils

DESCRIPTION="A front-end (GUI) for mednafen emulator"
HOMEPAGE="https://github.com/AmatCoder/mednaffe"
SRC_URI="https://github.com/AmatCoder/mednaffe/releases/download/${PV}/${P}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="
>=dev-libs/glib-2.32:2
games-emulation/mednafen[debugger]
>=x11-libs/gtk+-3.4:3
"
DEPEND="${RDEPEND}
app-arch/unzip
virtual/pkgconfig
"

src_prepare() {
default
append-cflags -Wl,-export-dynamic
sed -i -e 's:$(datadir):/usr/share:' share/Makefile.am || die
eautoreconf
}

src_configure() {
econf --enable-gtk3
}

pkg_preinst() {
gnome2_icon_savelist
}

pkg_postinst() {
gnome2_icon_cache_update
}

pkg_postrm() {
gnome2_icon_cache_update
}

0 comments on commit 35f55f9

Please sign in to comment.