From 1ffabe284d9f5a4ac055941d9817af71be1e5b54 Mon Sep 17 00:00:00 2001 From: Parabola Date: Wed, 15 Feb 2012 20:35:57 +0000 Subject: Wed Feb 15 20:35:56 UTC 2012 --- community-testing/gnash/PKGBUILD | 89 ---------------------------------------- 1 file changed, 89 deletions(-) delete mode 100644 community-testing/gnash/PKGBUILD (limited to 'community-testing/gnash/PKGBUILD') diff --git a/community-testing/gnash/PKGBUILD b/community-testing/gnash/PKGBUILD deleted file mode 100644 index 348db3561..000000000 --- a/community-testing/gnash/PKGBUILD +++ /dev/null @@ -1,89 +0,0 @@ -# $Id: PKGBUILD 82896 2010-06-18 18:30:20Z ibiru $ -# Maintainer: Jan Alexander Steffens (heftig) - -pkgbase=gnash -pkgname=(gnash-common gnash-gtk) -pkgver=0.8.9 -pkgrel=9 -arch=(i686 x86_64) -url="http://www.gnu.org/software/gnash/" -license=(GPL3) -makedepends=(curl giflib libldap sdl agg libjpeg libpng libtool - speex fontconfig libva ffmpeg libxinerama - gstreamer0.10-base gstreamer0.10-ffmpeg - gtk2 libldap xulrunner hicolor-icon-theme desktop-file-utils - pkgconfig boost) -options=(!libtool !emptydirs) -source=(http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2 - gentoo-ffmpeg-0.8.patch xul8.patch nodebug.patch) -sha256sums=('f90dbdc6f03d787b239b9edacbea077b46d69ae9d85f08af23f256af389c48bd' - '5e6b9c2ccb0f6dda70745712dddf302d2b42895feda850f2ed126bf53d8815ca' - 'd484f1c21ef71847a2d4b3dd254d1fa93a58719d45bc9df8b8deabee388ce4e9' - '0ebb104a7632af997c7e6b268755949fa0c1eea5e32015b95a22d63d0e431551') - -build() { - cd "$srcdir/gnash-$pkgver" - - # Consolidated gentoo patches for ffmpeg compatibility - # as of 2011-10-31 - patch -Np1 -i "$srcdir/gentoo-ffmpeg-0.8.patch" - - # Patch for compatibility with newer xulrunner headers - patch -Np1 -i "$srcdir/xul8.patch" - - # Disable very, very verbose debugging (gigabytes of logs) - patch -Np1 -i "$srcdir/nodebug.patch" - - ./autogen.sh - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --with-plugins-install=system \ - --with-npapi-plugindir=/usr/lib/mozilla/plugins \ - --enable-gui=sdl,gtk \ - --enable-renderer=agg \ - --enable-media=gst,ffmpeg \ - --enable-hwaccel=vaapi - - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool - - make -} - -package_gnash-common() { - pkgdesc="A GNU Flash movie player" - depends=(curl giflib libldap sdl agg libjpeg libpng libtool - speex fontconfig libva ffmpeg libxinerama - gstreamer0.10-base gstreamer0.10-ffmpeg - boost-libs) - backup=(etc/gnashrc) - - cd "$srcdir/gnash-$pkgver" - - make DESTDIR="$pkgdir" install - - # Split gnash-gtk - mkdir -p "$srcdir"/gtk/{bin,man1,share} - mv "$pkgdir"/usr/bin/{gtk-gnash,gnash-gtk-launcher} "$srcdir/gtk/bin/" - mv "$pkgdir"/usr/share/man/man1/{gtk-gnash,gnash-gtk-launcher}.1 "$srcdir/gtk/man1/" - mv "$pkgdir"/usr/share/{applications,icons} "$srcdir/gtk/share/" - mv "$pkgdir/etc/gnashpluginrc" "$srcdir/gtk/" -} - -package_gnash-gtk() { - pkgdesc="A GNU Flash movie player" - depends=("gnash-common=$pkgver" - gtk2 libldap hicolor-icon-theme desktop-file-utils) - install=gnash-gtk.install - backup=(etc/gnashpluginrc) - - cd "$srcdir/gnash-$pkgver" - - make DESTDIR="$pkgdir" install-plugin - - install -d "$pkgdir"/{etc,usr/{bin,share/man/man1}} - mv "$srcdir"/gtk/bin/* "$pkgdir/usr/bin/" - mv "$srcdir"/gtk/man1/* "$pkgdir/usr/share/man/man1/" - mv "$srcdir"/gtk/share/* "$pkgdir/usr/share/" - mv "$srcdir/gtk/gnashpluginrc" "$pkgdir/etc/" -} -- cgit v1.2.3-54-g00ecf