Skip to content
Snippets Groups Projects
Commit 25c44f91 authored by Alexander Rødseth's avatar Alexander Rødseth
Browse files

upgpkg: 3.4-3

parent 3f56df51
No related branches found
No related tags found
No related merge requests found
......@@ -4,12 +4,12 @@
pkgname=vice
pkgver=3.4
pkgrel=2
pkgrel=3
pkgdesc='The Versatile Commodore 8-bit Emulator'
arch=(x86_64)
license=(GPL)
url='https://vice-emu.sourceforge.net/'
depends=(giflib libjpeg-turbo libpng libpulse sdl2)
url='https://vice-emu.sourceforge.io/'
depends=(alsa-lib giflib libjpeg-turbo libpng libpulse sdl2)
makedepends=(ffmpeg libpcap libxaw xa xorg-bdftopcf xorg-mkfontdir)
source=("https://downloads.sourceforge.net/project/vice-emu/releases/$pkgname-$pkgver.tar.gz"
disable-fc-cache.patch)
......@@ -19,27 +19,26 @@ sha256sums=('4bd00c1c63d38cd1fe01b90032834b52f774bc29e4b67eeb1e525b14fee07aeb'
prepare() {
cd $pkgname-$pkgver
rm -rf src/lib/{liblame,libx264,libffmpeg}
patch -p1 -i "$srcdir/disable-fc-cache.patch"
patch -p1 -i ../disable-fc-cache.patch
sed -i 's/lib64/lib/g' configure.ac
autoreconf -fi
}
build() {
cd $pkgname-$pkgver
export CFLAGS="$CFLAGS -w -Wl,--allow-multiple-definition"
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--enable-external-ffmpeg \
--enable-x64
--enable-x64 \
--libdir=/usr/lib \
--prefix=/usr
make
}
package() {
make -C "$pkgname-$pkgver" \
make -C $pkgname-$pkgver \
DESTDIR="$pkgdir" \
realdocdir="/usr/share/doc/vice" \
realdocdir=/usr/share/doc/vice \
install -j1
ln -s /usr/share/doc/vice "$pkgdir/usr/lib/vice/doc"
}
# vim: ts=2 sw=2 et:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment