summaryrefslogtreecommitdiff
path: root/games-emulation
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/dosbox-x/Manifest2
-rw-r--r--games-emulation/dosbox-x/dosbox-x-9999.ebuild23
2 files changed, 11 insertions, 14 deletions
diff --git a/games-emulation/dosbox-x/Manifest b/games-emulation/dosbox-x/Manifest
index 4a7eba9..d77a479 100644
--- a/games-emulation/dosbox-x/Manifest
+++ b/games-emulation/dosbox-x/Manifest
@@ -1 +1 @@
-EBUILD dosbox-x-9999.ebuild 1607 BLAKE2B 76cb67c329872ba6d33f0bbbaaad8c276ee7abb6e1564325ff12b74e3f80dfd98c2053d1b19f8cb92acc159e8c6a5aee3d418178b1773c0a7313b8baa283fb4b SHA512 56646d09b03d10f3df20fd1514efd4307e87eeae569640d106f3f36bb4367ea2cb1ceb0721bd827591039965b534b0a9aaead1863dd17d0e26a355d259d29a07
+EBUILD dosbox-x-9999.ebuild 1596 BLAKE2B 1dfb19cd28ba07d22642a828650605fa21a9d9222ae8b8fba01f1c95b8c586d486ade3f95cef296f1577bdf4fc0ad578df6c76b9a5a3e511fc86bfb751e41a11 SHA512 290fb88787ab0133375006dbc0cc6c437e38852cb0aa2ccf32f496ce470c5649a6cea3cc604a60a4bf90e548d9ffd00624a3a21a8c2fd338071376877932f223
diff --git a/games-emulation/dosbox-x/dosbox-x-9999.ebuild b/games-emulation/dosbox-x/dosbox-x-9999.ebuild
index 46d4e49..abb5de8 100644
--- a/games-emulation/dosbox-x/dosbox-x-9999.ebuild
+++ b/games-emulation/dosbox-x/dosbox-x-9999.ebuild
@@ -5,14 +5,15 @@ EAPI=6
inherit autotools flag-o-matic git-r3
-DESCRIPTION="x86 emulator with builtin DOS, with patches with more features"
+DESCRIPTION="A fork of DOSBox, retaining compatibility with the wide base of DOS games and DOS gaming DOSBox was designed for."
HOMEPAGE="http://dosbox-x.com/"
EGIT_REPO_URI="https://github.com/joncampbell123/dosbox-x.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
-IUSE="alsa debug glide hardened ffmpeg opengl"
+IUSE="alsa debug hardened ffmpeg opengl"
+#IUSE="alsa debug glide hardened ffmpeg opengl"
DEPEND="alsa? ( media-libs/alsa-lib )
ffmpeg? ( media-video/ffmpeg )
@@ -22,26 +23,26 @@ DEPEND="alsa? ( media-libs/alsa-lib )
media-libs/libsdl[joystick,video,X]
media-libs/sdl-net
media-libs/sdl-sound"
-# glide? ( media-libs/openglide )
-
+# glide? ( media-libs/openglide )
RDEPEND=${DEPEND}
if [[ ${PV} = 9999 ]]; then
S=${WORKDIR}/dosbox-x-9999
fi
-src_compile() {
- # Stolen from https://aur.archlinux.org/packages/dosbox-x-git/
+src_prepare() {
+ # Stolen from <https://aur.archlinux.org/packages/dosbox-x-git/>.
sed -i 's/CODEC_FLAG2_FAST/AV_CODEC_FLAG2_FAST/g' src/hardware/hardware.cpp
- ./autogen.sh || exit 1
+ eautoreconf
chmod +x vs2015/sdl/build-scripts/strip_fPIC.sh
+ default
+}
+src_compile() {
# Prefer to compile against the internal copy of SDL 1.x
- echo Compiling our internal SDL 1.x
(cd vs2015/sdl && ./build-dosbox.sh) || exit 1
- echo Compiling DOSBox-X
chmod +x configure
econf \
$(use_enable alsa alsa-midi) \
@@ -52,7 +53,3 @@ src_compile() {
$(use_enable opengl)
emake
}
-
-# src_install() {
-# make DESTDIR="$D" install
-# }