vice: update to 3.7.1.
This commit is contained in:
		 Elaine Gibson
					Elaine Gibson
				
			
				
					committed by
					
						 classabbyamp
						classabbyamp
					
				
			
			
				
	
			
			
			 classabbyamp
						classabbyamp
					
				
			
						parent
						
							c9c632c473
						
					
				
				
					commit
					ddc4938d2c
				
			| @@ -1,26 +1,24 @@ | ||||
| # Template file for 'vice' | ||||
| pkgname=vice | ||||
| version=3.5 | ||||
| version=3.7.1 | ||||
| revision=1 | ||||
| build_style=gnu-configure | ||||
| configure_args=" | ||||
| 	$(vopt_enable sdl2 sdlui2) | ||||
| 	$(vopt_with sdl2 sdlsound) | ||||
| 	$(vopt_enable gtk3 gnomeui3) | ||||
| 	$(vopt_enable gtk3 native-gtk3ui) | ||||
| 	$(vopt_enable gtk3 desktop-files) | ||||
| 	$(vopt_with gtk3 pulse) | ||||
| 	$(vopt_enable ffmpeg  external-ffmpeg) | ||||
| 	--disable-option-checking | ||||
| 	$(vopt_enable ffmpeg external-ffmpeg) | ||||
| 	--enable-cpuhistory | ||||
| 	--enable-x64 | ||||
| 	--disable-pdf-docs | ||||
| 	AR=${AR}" | ||||
| hostmakedepends="bdftopcf flex mkfontdir perl pkg-config xa | ||||
|  glib-devel autoconf texinfo automake dos2unix" | ||||
| 	--libdir=/usr/lib$XBPS_TARGET_WORDSIZE" | ||||
| hostmakedepends="pkg-config flex dos2unix xa perl glib-devel xdg-utils" | ||||
| makedepends=" | ||||
| 	zlib-devel | ||||
| 	readline-devel | ||||
| 	libpng-devel | ||||
| 	giflib-devel | ||||
| 	glew-devel | ||||
| 	alsa-lib-devel | ||||
| 	$(vopt_if sdl2 SDL2_mixer-devel) | ||||
| @@ -32,10 +30,10 @@ makedepends=" | ||||
| short_desc="Emulator for C64, C128, CBM-II, PET, VIC20, Plus4 and C16" | ||||
| maintainer="Orphaned <orphan@voidlinux.org>" | ||||
| license="GPL-2.0-or-later" | ||||
| homepage="http://vice-emu.sourceforge.net/" | ||||
| homepage="https://vice-emu.sourceforge.net/" | ||||
| changelog="https://vice-emu.sourceforge.io/NEWS" | ||||
| distfiles="${SOURCEFORGE_SITE}/vice-emu/releases/vice-${version}.tar.gz" | ||||
| checksum=56b978faaeb8b2896032bd604d03c3501002187eef1ca58ceced40f11a65dc0e | ||||
| checksum=7e3811e6024db0698bfbc321bb324572446b8853d01b4073f09865957b0cab98 | ||||
|  | ||||
| # Package build options | ||||
| build_options="sdl2 gtk3 ffmpeg" | ||||
| @@ -43,15 +41,14 @@ build_options_default="gtk3 ffmpeg" | ||||
|  | ||||
| desc_option_ffmpeg="Support video recording via FFmpeg" | ||||
|  | ||||
| CFLAGS="-fcommon" | ||||
| export XDG_DATA_DIRS=$DESTDIR/usr/share | ||||
|  | ||||
| case "$XBPS_TARGET_MACHINE" in | ||||
| 	*-musl) configure_args+=" --disable-nls";; | ||||
| esac | ||||
|  | ||||
| pre_configure() { | ||||
| 	# __u_char is not portable... | ||||
| 	sed -i 's,__u_char,unsigned char,g' src/*.[ch] | ||||
| 	sed -i 's/lib64/lib/g' configure.ac | ||||
| 	autoreconf -fi | ||||
| post_patch() { | ||||
| 	vsed -i src/arch/gtk3/data/unix/Makefile.in -e 's/\$(XDG_DESKTOP_MENU) install/$(XDG_DESKTOP_MENU) install --mode system/' | ||||
| } | ||||
|  | ||||
| pre_install() { | ||||
| 	# required for xdg-desktop-menu to work | ||||
| 	vmkdir usr/share/applications | ||||
| 	vmkdir usr/share/desktop-directories | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user