summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2016-06-29 14:41:26 -0500
committerWilliam Hubbs <williamh@gentoo.org>2016-06-29 15:05:08 -0500
commit5edb412a63031c0372093d5e5fb038e5da4f52f1 (patch)
tree8f5315aeb1959115507994facdaffbcb7f462f54 /games-emulation/dosbox/dosbox-0.74_p20160629.ebuild
parentdev-php/xhprof: Version bump to upstream VCS snapshot (diff)
downloadgentoo-5edb412a63031c0372093d5e5fb038e5da4f52f1.tar.gz
gentoo-5edb412a63031c0372093d5e5fb038e5da4f52f1.tar.bz2
gentoo-5edb412a63031c0372093d5e5fb038e5da4f52f1.zip
games-emulation/dosbox: [qa]: create a snapshot release to fix multiple bugs
This snapshot release fixes the following bugs: https://bugs.gentoo.org/show_bug.cgi?id=449060 https://bugs.gentoo.org/show_bug.cgi?id=586650 https://bugs.gentoo.org/show_bug.cgi?id=587382 Package-Manager: portage-2.2.28
Diffstat (limited to 'games-emulation/dosbox/dosbox-0.74_p20160629.ebuild')
-rw-r--r--games-emulation/dosbox/dosbox-0.74_p20160629.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/games-emulation/dosbox/dosbox-0.74_p20160629.ebuild b/games-emulation/dosbox/dosbox-0.74_p20160629.ebuild
new file mode 100644
index 000000000000..f638a1e98fbb
--- /dev/null
+++ b/games-emulation/dosbox/dosbox-0.74_p20160629.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools eutils
+
+PATCH=3989
+DESCRIPTION="DOS emulator"
+HOMEPAGE="http://dosbox.sourceforge.net/"
+SRC_URI="mirror://gentoo/dosbox-code-0-${PATCH}-dosbox-trunk.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
+IUSE="alsa debug hardened opengl"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+ opengl? ( virtual/glu virtual/opengl )
+ debug? ( sys-libs/ncurses:0 )
+ media-libs/libpng:0
+ media-libs/libsdl[joystick,video,X]
+ media-libs/sdl-net
+ media-libs/sdl-sound"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}/${PN}-code-0-${PATCH}-dosbox-trunk
+
+PATCHES=(
+"${FILESDIR}"/dosbox-0.74-gcc46.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable alsa alsa-midi) \
+ $(use_enable !hardened dynamic-core) \
+ $(use_enable !hardened dynamic-x86) \
+ $(use_enable debug) \
+ $(use_enable opengl)
+}
+
+src_install() {
+ default
+ make_desktop_entry dosbox DOSBox /usr/share/pixmaps/dosbox.ico
+ doicon src/dosbox.ico
+}