mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-17 06:32:36 +01:00
48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
|
|
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
|
|
pkgname=vice
|
|
pkgver=3.3
|
|
pkgrel=1
|
|
pkgdesc="emulates the C64/DTV, C128, VIC20, almost all PETs, PLUS4 and CBM-II"
|
|
url="http://vice-emu.sourceforge.net/"
|
|
arch="all"
|
|
license="GPL-2.0"
|
|
makedepends="gtk+3.0-dev giflib-dev ffmpeg-dev jpeg-dev libpng-dev alsa-lib-dev
|
|
linux-headers texinfo automake autoconf bison flex xa bdftopcf mkfontdir
|
|
bash"
|
|
subpackages="$pkgname-doc"
|
|
source="https://downloads.sourceforge.net/vice-emu/vice-$pkgver.tar.gz
|
|
disable-fc-cache.patch
|
|
fix__u_char.patch"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
prepare() {
|
|
sed -i 's/\r//' "$builddir/src/opencbm.h"
|
|
default_prepare
|
|
sed -i 's/lib64/lib/g' configure.ac
|
|
autoreconf -fi
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure --prefix=/usr \
|
|
--libdir=/usr/lib \
|
|
--enable-native-gtk3ui \
|
|
--disable-no-pic \
|
|
--enable-external-ffmpeg
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" realdocdir="/usr/share/doc/vice" install
|
|
}
|
|
|
|
check() {
|
|
make -C "$builddir" check
|
|
}
|
|
|
|
sha512sums="702942e33b6e3d7e29ca6ed483242319ed5f6be26831def88a282cf7dce25d4c34dbf3651fcf8b583492fcb280ce5f4304c6eda3712088a73db24772c7a2bb3a vice-3.3.tar.gz
|
|
ed6fee34eefcb04c42b4575591dfeffca8548eae354dee66dabdbc4abac0311cbbedcdc07cdfcb01da4840d57ab331a31583e17160820462a2c064835a75d75d disable-fc-cache.patch
|
|
3132be50c402068865b530ed9df71a073012623ce48e3fa162f33af7bdcdd6d890590955868bb5591e018c17359e860ccff9eb0cde9bfd99582ac921400e8f2f fix__u_char.patch"
|