[arch-commits] Commit in (5 files)

Antonio Rojas arojas at archlinux.org
Sat Dec 22 09:19:24 UTC 2018


    Date: Saturday, December 22, 2018 @ 09:19:24
  Author: arojas
Revision: 417521

extra2community: Moving vice from extra to community

Added:
  vice/
  vice/repos/
  vice/trunk/
  vice/trunk/PKGBUILD
  vice/trunk/disable-fc-cache.patch

------------------------+
 PKGBUILD               |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 disable-fc-cache.patch |   16 ++++++++++++++++
 2 files changed, 62 insertions(+)

Added: vice/trunk/PKGBUILD
===================================================================
--- vice/trunk/PKGBUILD	                        (rev 0)
+++ vice/trunk/PKGBUILD	2018-12-22 09:19:24 UTC (rev 417521)
@@ -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"
+}


Property changes on: vice/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: vice/trunk/disable-fc-cache.patch
===================================================================
--- vice/trunk/disable-fc-cache.patch	                        (rev 0)
+++ vice/trunk/disable-fc-cache.patch	2018-12-22 09:19:24 UTC (rev 417521)
@@ -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