blob: a8d35299c2e30db84c66db7dccaaa1e5eb3c2ca6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
include $(TOPDIR)/rules.mk
PKG_NAME:=vice
PKG_VERSION:=3.10
PKG_RELEASE:=2
PKG_SOURCE:=vice-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/vice-emu/releases
PKG_HASH:=8e5bac18cbcb9f192380ad3ef881f8790f5b75c41d7b3da65d831985d864d6d1
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_BUILD_DEPENDS:=xa/host
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/vice
SECTION:=games
CATEGORY:=Games
TITLE:=Versatile Commodore Emulator (SDL2)
URL:=https://vice-emu.sourceforge.io/
DEPENDS:=+libsdl2 +libsdl2-image +libpng +zlib +libstdcpp +alsa-lib
endef
define Package/vice/description
VICE is an emulator for the Commodore 8-bit machines: C64, C64DTV, C128,
VIC20, all the PET models (except the SuperPET 9000), the PLUS4 and the
CBM-II (aka C610/C510). This package is built against SDL2.
endef
CONFIGURE_VARS += \
DOS2UNIX=true \
MAKEINFO=true \
enable_usbsid=no \
ac_cv_header_libusb_1_0_libusb_h=no \
ac_cv_lib_bsd_gethostbyname=no \
ac_cv_lib_bsd_gettimeofday=no \
ac_cv_lib_net_gethostbyname=no \
ac_cv_lib_nsl_gethostbyname=no \
ac_cv_lib_socket_gethostbyname=no \
ac_cv_lib_inet_gethostbyname=no \
ac_cv_lib_intl_dgettext=no
CONFIGURE_ARGS += \
--enable-sdl2ui \
--disable-sdl1ui \
--disable-gtk3ui \
--disable-headlessui \
--disable-arch \
--disable-openmp \
--disable-html-docs \
--disable-ethernet \
--disable-realdevice \
--disable-catweasel \
--disable-hardsid \
--disable-parsid \
--disable-midi \
--with-alsa \
--with-resid \
--without-fastsid \
--without-sdlsound \
--without-pulse \
--without-portaudio \
--without-oss \
--without-sun \
--without-vorbis \
--without-flac \
--without-lame \
--without-static-lame \
--without-mpg123 \
--with-png \
--without-gif \
--without-libcurl \
--without-libieee1284
define Package/vice/install
$(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/share/vice
$(CP) $(PKG_INSTALL_DIR)/usr/share/vice/* $(1)/usr/share/vice/
endef
$(eval $(call BuildPackage,vice))
|