[arch-commits] Commit in vice/repos (3 files)
Antonio Rojas
arojas at archlinux.org
Sat Dec 22 09:19:28 UTC 2018
Date: Saturday, December 22, 2018 @ 09:19:27
Author: arojas
Revision: 417522
archrelease: copy trunk to community-x86_64
Added:
vice/repos/community-x86_64/
vice/repos/community-x86_64/PKGBUILD
(from rev 417521, vice/trunk/PKGBUILD)
vice/repos/community-x86_64/disable-fc-cache.patch
(from rev 417521, vice/trunk/disable-fc-cache.patch)
------------------------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
disable-fc-cache.patch | 16 ++++++++++++++++
2 files changed, 62 insertions(+)
Copied: vice/repos/community-x86_64/PKGBUILD (from rev 417521, vice/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-12-22 09:19:27 UTC (rev 417522)
@@ -0,0 +1,46 @@
+# Maintainer:
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=vice
+pkgver=3.2
+pkgrel=1
+pkgdesc="The Versatile Commodore 8-bit Emulator"
+arch=('x86_64')
+license=('GPL')
+url="http://vice-emu.sourceforge.net/"
+depends=('gtkglext' 'libpulse' 'giflib')
+makedepends=('xorg-bdftopcf' 'xorg-mkfontdir' 'libpcap' 'libxaw' 'ffmpeg' 'xa')
+source=("http://downloads.sourceforge.net/project/vice-emu/releases/${pkgname}-${pkgver}.tar.gz"
+ 'disable-fc-cache.patch')
+sha256sums=('28d99f5e110720c97ef16d8dd4219cf9a67661d58819835d19378143697ba523'
+ '8058210e092c4943a55baeff47e6d5f3661aeb3686fd1f75e07f47888da9cc98')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ rm -rf src/lib/{liblame,libx264,libffmpeg}
+
+ patch -p1 -i "$srcdir/disable-fc-cache.patch"
+ sed -i 's/lib64/lib/g' configure.ac
+ autoreconf -fi
+
+ sed -e 's|CODEC_CAP_VARIABLE_FRAME_SIZE|AV_&|g' -e 's|CODEC_FLAG_GLOBAL_HEADER|AV_&|g' -e 's|\& AVFMT_RAWPICTURE||' \
+ -i src/gfxoutputdrv/ffmpegdrv.c # Fix build with ffmpeg 4
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr \
+ --libdir=/usr/lib \
+ --enable-gnomeui \
+ --enable-external-ffmpeg
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ make DESTDIR="${pkgdir}" realdocdir="/usr/share/doc/vice" install -j1
+ ln -s /usr/share/doc/vice "${pkgdir}/usr/lib/vice/doc"
+}
Copied: vice/repos/community-x86_64/disable-fc-cache.patch (from rev 417521, vice/trunk/disable-fc-cache.patch)
===================================================================
--- community-x86_64/disable-fc-cache.patch (rev 0)
+++ community-x86_64/disable-fc-cache.patch 2018-12-22 09:19:27 UTC (rev 417522)
@@ -0,0 +1,16 @@
+--- a/configure.ac.orig 2016-12-15 04:44:32.000000000 +0100
++++ b/configure.ac 2017-01-05 23:24:59.072247182 +0100
+@@ -2998,12 +2998,7 @@ if test x"$enable_lame" != "xno" ; then
+
+ fi
+
+-AC_PATH_PROGS(FCCACHE, fc-cache, false)
+-if test x"$FCCACHE" = "xfalse"; then
+- AM_CONDITIONAL(HAVE_FC_CACHE, false)
+-else
+- AM_CONDITIONAL(HAVE_FC_CACHE, true)
+-fi
++AM_CONDITIONAL(HAVE_FC_CACHE, false)
+
+ if test x"$is_amigaos4" = "xyes"; then
+ if test x"$enable_sdlui" != "xyes" -a x"$enable_sdlui2" != "xyes"; then
More information about the arch-commits
mailing list