mirror of
https://github.com/gryf/gryf-overlay.git
synced 2025-12-18 20:10:22 +01:00
Added experimental build for vice 3.3
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
DIST vice-3.1.tar.gz 30714226 SHA256 3eb8159633816095006dec36c5c3edd055a87fd8bda193a1194a6801685d1240 SHA512 bc02a3597a17dadb37c487e6942192c0e9dc1a7d4e440fbf0dc8a165dbb2dee60ddf157697a020d2780ddef56a0a67802768d5c6d117b9cf5cdc124de45bc579 WHIRLPOOL ff5f8591b3c9b66b739fc7403606d3a30a3b87740826ea5e05d518eedcde83fe5ff78fdb4ad606ad6eefe1c2419f3e6141b5a4c792c5b9082209f7a8f68053dc
|
DIST vice-3.3.tar.gz 22742913 BLAKE2B 1469b0e49183969cbbfe227881032ecb6fefb0924e7d6c5e78ac8e9dfc8483470ab4ef13623537baed15f5fee4c4c12373cb0ccd582c0b2750602c4baf4db95a SHA512 702942e33b6e3d7e29ca6ed483242319ed5f6be26831def88a282cf7dce25d4c34dbf3651fcf8b583492fcb280ce5f4304c6eda3712088a73db24772c7a2bb3a
|
||||||
EBUILD vice-3.1.ebuild 4029 SHA256 34969221affee2fb3f567f1aeedc0081a932bbc6a0313b48b2bce794d32a8391 SHA512 8d2db528cc0ae6192569e618a08414049168f6c888adaa3a852684059b6da03ccd3212885ecd9ed675bd184e96cf7b4564b92e7c3d8911090ddde738277bf268 WHIRLPOOL 638087d6e1fb7b9cf1c9d0e1d6616128d2bfdf28228043144411f15d3af46c4aab85960c5d3257c7c2a63d2c552b5ac0f19ba3bea45774443a6ec6d6d842e544
|
EBUILD vice-3.3.ebuild 3852 BLAKE2B 88752843ef1621be06af0cc37e3598eddba34a3b89a4a4b04f62e414305bdddc24daf40f392f2434c60f0038a6a1b482aff43405995bca97464cd2fccb7bcf11 SHA512 1d9f3dbb67c1c69a6b45c3c78e9efa15b4807dd9ad3025510a07e4c384efcb494fb6ab76927fe1ed10bd4f2d5c3f065bdd4ea9abc4acf1ef6276e198086e2d73
|
||||||
|
|||||||
159
app-emulation/vice/vice-3.3.ebuild
Normal file
159
app-emulation/vice/vice-3.3.ebuild
Normal file
@@ -0,0 +1,159 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# experimental ebuild for vice3.3. use at your own risk.
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit autotools flag-o-matic toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Versatile Commodore 8-bit Emulator"
|
||||||
|
HOMEPAGE="http://vice-emu.sourceforge.net/"
|
||||||
|
SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="alsa ethernet ffmpeg fullscreen +gtk3 ipv6 lame libav nls oss png pulseaudio sdl +sdlsound threads vte Xaw3d zlib"
|
||||||
|
|
||||||
|
# upstream says gtk3 and sdl2 shouldn't be exposed yet.
|
||||||
|
REQUIRED_USE="?? ( gtk3 sdl )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
media-libs/giflib
|
||||||
|
virtual/jpeg:0
|
||||||
|
virtual/opengl
|
||||||
|
alsa? ( media-libs/alsa-lib )
|
||||||
|
ethernet? (
|
||||||
|
>=net-libs/libpcap-0.9.8
|
||||||
|
>=net-libs/libnet-1.1.2.1:1.1
|
||||||
|
)
|
||||||
|
ffmpeg? (
|
||||||
|
libav? ( media-video/libav:= )
|
||||||
|
!libav? ( media-video/ffmpeg:= )
|
||||||
|
)
|
||||||
|
gtk3? (
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
x11-libs/pango
|
||||||
|
vte? ( x11-libs/vte:2.91 )
|
||||||
|
)
|
||||||
|
lame? ( media-sound/lame )
|
||||||
|
nls? ( virtual/libintl )
|
||||||
|
png? ( media-libs/libpng:0= )
|
||||||
|
pulseaudio? ( media-sound/pulseaudio )
|
||||||
|
sdl? ( media-libs/libsdl[joystick,video] )
|
||||||
|
!sdl? (
|
||||||
|
sys-libs/readline:0=
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXext
|
||||||
|
fullscreen? (
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-libs/libXxf86vm
|
||||||
|
)
|
||||||
|
!gtk3? (
|
||||||
|
x11-libs/libXmu
|
||||||
|
x11-libs/libXpm
|
||||||
|
x11-libs/libXt
|
||||||
|
x11-libs/libXv
|
||||||
|
Xaw3d? ( x11-libs/libXaw3d )
|
||||||
|
!Xaw3d? ( x11-libs/libXaw )
|
||||||
|
)
|
||||||
|
)
|
||||||
|
sdlsound? ( media-libs/libsdl[sound] )
|
||||||
|
zlib? ( sys-libs/zlib )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-lang/xa64
|
||||||
|
media-libs/fontconfig
|
||||||
|
x11-apps/bdftopcf
|
||||||
|
x11-apps/mkfontdir
|
||||||
|
x11-base/xorg-proto
|
||||||
|
virtual/pkgconfig
|
||||||
|
nls? ( sys-devel/gettext )
|
||||||
|
!gtk3? ( !sdl? (
|
||||||
|
x11-libs/libICE
|
||||||
|
x11-libs/libSM
|
||||||
|
) )
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
sed -i \
|
||||||
|
-e 's/building//' \
|
||||||
|
doc/Makefile.am || die
|
||||||
|
sed -i \
|
||||||
|
-e "/^docdir =/s:=.*:=/usr/share/doc/${PF}:" \
|
||||||
|
doc/Makefile.am \
|
||||||
|
doc/readmes/Makefile.am || die
|
||||||
|
sed -i \
|
||||||
|
-e "/^docdir =/s:=.*:=/usr/share/doc/${PF}/html:" \
|
||||||
|
doc/html/Makefile.am || die
|
||||||
|
sed -i \
|
||||||
|
-e "s:/usr/local/lib/VICE:/usr/$(get_libdir)/${PN}:" \
|
||||||
|
man/vice.1 \
|
||||||
|
$(grep -rl --exclude="*texi" /usr/local/lib doc) || die
|
||||||
|
sed -i \
|
||||||
|
-e "/VICEDIR=/s:=.*:=\"/usr/$(get_libdir)/${PN}\";:" \
|
||||||
|
configure.ac || die
|
||||||
|
sed -i \
|
||||||
|
-e "s:\(#define LIBDIR \).*:\1\"/usr/$(get_libdir)/${PN}\":" \
|
||||||
|
-e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
|
||||||
|
src/arch/gtk3/archdep_unix.h \
|
||||||
|
src/arch/sdl/archdep_unix.h || die
|
||||||
|
rm -rf src/lib/{libffmpeg,liblame} || die
|
||||||
|
sed -i \
|
||||||
|
-e '/SUBDIRS/s/libffmpeg//;' \
|
||||||
|
-e '/SUBDIRS/s/liblame//;' \
|
||||||
|
src/lib/Makefile.am || die
|
||||||
|
AT_NO_RECURSIVE=1 eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local gui_arg=() snd_arg=()
|
||||||
|
|
||||||
|
snd_arg+=( $(use_with alsa) )
|
||||||
|
snd_arg+=( $(use_with oss) )
|
||||||
|
snd_arg+=( $(use_with pulseaudio pulse) )
|
||||||
|
snd_arg+=( $(use_with sdlsound) )
|
||||||
|
|
||||||
|
gui_arg+=( $(use_enable sdl sdlui) )
|
||||||
|
# The gtk UI code has raw calls to XOpenDisplay and
|
||||||
|
# is missing -lX11 if vte doesn't pull it in.
|
||||||
|
#if use gtk2 || use gtk3 ; then
|
||||||
|
if use gtk3 ; then
|
||||||
|
use vte || append-libs -lX11
|
||||||
|
fi
|
||||||
|
gui_arg+=( $(use_enable gtk3 gnomeui3) )
|
||||||
|
gui_arg+=( $(use_enable Xaw3d xaw3d) )
|
||||||
|
|
||||||
|
# --with-readline is forced to avoid using the embedded copy
|
||||||
|
# don't try to actually run fc-cache (bug #280976)
|
||||||
|
FCCACHE=/bin/true \
|
||||||
|
PKG_CONFIG=$(tc-getPKG_CONFIG) \
|
||||||
|
econf \
|
||||||
|
--enable-parsid \
|
||||||
|
--with-resid \
|
||||||
|
--with-readline \
|
||||||
|
--without-arts \
|
||||||
|
--without-midas \
|
||||||
|
$(use_enable ethernet) \
|
||||||
|
$(use_enable ffmpeg) \
|
||||||
|
$(use_enable ffmpeg external-ffmpeg) \
|
||||||
|
$(use_enable fullscreen) \
|
||||||
|
$(use_enable ipv6) \
|
||||||
|
$(use_enable lame) \
|
||||||
|
$(use_enable nls) \
|
||||||
|
$(use_enable vte) \
|
||||||
|
$(use_with png) \
|
||||||
|
$(use_with threads uithreads) \
|
||||||
|
$(use_with zlib) \
|
||||||
|
"${gui_arg[@]}" \
|
||||||
|
"${snd_arg[@]}" \
|
||||||
|
--disable-option-checking
|
||||||
|
# --disable-option-checking has to be last
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
dodoc FEEDBACK
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user