summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/gnash-git/PKGBUILD78
-rw-r--r--pcr/gnash-git/gnash.install22
-rw-r--r--pcr/gnash-git/jemalloc_gnash.patch13
3 files changed, 0 insertions, 113 deletions
diff --git a/pcr/gnash-git/PKGBUILD b/pcr/gnash-git/PKGBUILD
deleted file mode 100644
index c419d3b78..000000000
--- a/pcr/gnash-git/PKGBUILD
+++ /dev/null
@@ -1,78 +0,0 @@
-# Contributor (Arch): Abdel-Rahman Abdel-Rahman <abodyxplay1@gmail.com>
-# Contributor (Arch): Iru Cai <mytbk920423@gmail.com>
-# Contributor (Arch): Tim Van den Langenbergh <tmt_vdl@gmx.com>
-# Contributor (Arch): Omar Botta <omarbotta@gnulinuxlibre.net>
-# Contributor (Arch): Carlos Sanchez <cargabsj175@vegnux.org.ve>
-# Contributor (Arch): Frederic Bezies <fredbezies@gmail.com>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-
-pkgname=gnash-git
-_gitname=gnash
-pkgver=0.8.11.r22395.g8a11e6058
-pkgrel=2
-pkgdesc="The GNU SWF Player based on GameSWF - git development version"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/gnash/"
-license=('GPL3')
-depends=('curl' 'giflib' 'sdl' 'libjpeg' 'libpng' 'libgl'
- 'glu' 'fontconfig' 'cairo' 'ffmpeg' 'jemalloc' 'boost-libs<1.66'
- 'gtk2' 'libldap' 'hicolor-icon-theme' 'desktop-file-utils' 'gconf'
- 'gtkglext' 'agg' 'gdk-pixbuf2')
-makedepends=('mesa' 'xulrunner' 'pkgconfig' 'boost' 'git')
-provides=('gnash-common' 'gnash-gtk' 'gnash')
-conflicts=('gnash-common' 'gnash-gtk' 'gnash')
-replaces=('gnash-common' 'gnash-gtk' 'gnash')
-options=('!emptydirs')
-install=$_gitname.install
-backup=('etc/gnashpluginrc')
-source=('git://git.sv.gnu.org/gnash.git'
- 'jemalloc_gnash.patch')
-sha256sums=('SKIP'
- '422aad0cf678f8427b1601e41e6440b3526872b640b6ccd3ab93ae656a9a8c8e')
-
-pkgver() {
- cd $_gitname
-
- echo "0.8.11.r$(git rev-list --count master).g$(git log -1 --format="%h")"
-}
-
-prepare() {
- cd $_gitname
-
- chmod +x autogen.sh
- ./autogen.sh
-}
-
-build() {
- cd $_gitname
-
- patch -Np1 -i "${srcdir}/jemalloc_gnash.patch"
- sed -i 's#${JEMALLOC_CONFIG} --cxxflags#${JEMALLOC_CONFIG} --cflags#g' configure
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --with-plugins-install=system \
- --with-npapi-plugindir=/usr/lib/mozilla/plugins \
- --enable-gui=sdl,gtk \
- --enable-media=ffmpeg \
- --enable-renderer=all \
- --enable-device=x11
-
- 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() {
- cd $_gitname
-
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install install-plugin
-
- install -m755 -d "$pkgdir/usr/share/gconf/schemas"
-
- gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/gnash.schemas" --domain gnash \
- "$pkgdir"/usr/share/applications/*.schemas
-
- rm -f "$pkgdir"/usr/share/applications/*.schemas
-}
diff --git a/pcr/gnash-git/gnash.install b/pcr/gnash-git/gnash.install
deleted file mode 100644
index 6678a7f8a..000000000
--- a/pcr/gnash-git/gnash.install
+++ /dev/null
@@ -1,22 +0,0 @@
-post_install() {
- gconfpkg --install gnash
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-pre_upgrade() {
- pre_remove
-}
-
-post_upgrade() {
- post_install
-}
-
-pre_remove() {
- gconfpkg --uninstall gnash
-}
-
-post_remove() {
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
diff --git a/pcr/gnash-git/jemalloc_gnash.patch b/pcr/gnash-git/jemalloc_gnash.patch
deleted file mode 100644
index 743507069..000000000
--- a/pcr/gnash-git/jemalloc_gnash.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/libbase/jemalloc_gnash.c b/libbase/jemalloc_gnash.c
-index a702688..7bfd752 100644
---- a/libbase/jemalloc_gnash.c
-+++ b/libbase/jemalloc_gnash.c
-@@ -18,7 +18,7 @@
- */
-
- #include <stddef.h>
--#include <jemalloc.h>
-+#include <jemalloc/jemalloc.h>
-
- #ifdef HAVE_CONFIG_H
- # include "gnashconfig.h"