summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-03-08 18:07:09 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-03-08 18:07:09 -0500
commit125c346d752b0af24938cd2bf12fa67ba352aad1 (patch)
treed4fae4c266ae7405bab8d2d521493779fc3d8e87 /pcr
parentac5935643fcf3322c7f3d881a0636f403837e241 (diff)
downloadabslibre-125c346d752b0af24938cd2bf12fa67ba352aad1.tar.gz
abslibre-125c346d752b0af24938cd2bf12fa67ba352aad1.tar.bz2
abslibre-125c346d752b0af24938cd2bf12fa67ba352aad1.zip
gnash-git-0.8.11.r22358.g9229f6f-1: updating version
Diffstat (limited to 'pcr')
-rw-r--r--pcr/gnash-git/PKGBUILD17
-rw-r--r--pcr/gnash-git/build_on_new_boost.patch (renamed from pcr/gnash-git/gnash_boost.patch)8
-rw-r--r--pcr/gnash-git/gnash.install5
3 files changed, 20 insertions, 10 deletions
diff --git a/pcr/gnash-git/PKGBUILD b/pcr/gnash-git/PKGBUILD
index 515d4a1b3..e8edc055f 100644
--- a/pcr/gnash-git/PKGBUILD
+++ b/pcr/gnash-git/PKGBUILD
@@ -1,5 +1,6 @@
-# Maintainer (Arch): Iru Cai <mytbk920423@gmail>
-# Maintainer (Arch): Tim Van den Langenbergh <tmt_vdl@gmx.com>
+# 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>
@@ -7,7 +8,7 @@
pkgname=gnash-git
_gitname=gnash
-pkgver=0.8.11.r22311.gf0f66ce
+pkgver=0.8.11.r22358.g9229f6f
pkgrel=1
pkgdesc="The GNU SWF Player based on GameSWF - git development version"
arch=('i686' 'x86_64')
@@ -26,10 +27,10 @@ install=$_gitname.install
backup=('etc/gnashpluginrc')
source=('git://git.sv.gnu.org/gnash.git'
'jemalloc_gnash.patch'
- 'gnash_boost.patch')
+ 'build_on_new_boost.patch')
sha256sums=('SKIP'
'422aad0cf678f8427b1601e41e6440b3526872b640b6ccd3ab93ae656a9a8c8e'
- '25ca1554f4c6e06d5a3fe68c37f58c7f63cf05544f14ad0e716452f8a033a095')
+ '1df546e376f0a0e495f2c1a96f13e29c507dfb5f16b808696dc8c7474d833f65')
pkgver() {
cd $_gitname
@@ -48,9 +49,11 @@ build() {
cd $_gitname
patch -Np1 -i "${srcdir}/jemalloc_gnash.patch"
- patch -Np1 -i "${srcdir}/gnash_boost.patch"
sed -i 's#${JEMALLOC_CONFIG} --cxxflags#${JEMALLOC_CONFIG} --cflags#g' configure
-
+
+ # https://savannah.gnu.org/bugs/?46148
+ patch -Np1 -i "${srcdir}/build_on_new_boost.patch"
+
./configure \
--prefix=/usr \
--sysconfdir=/etc \
diff --git a/pcr/gnash-git/gnash_boost.patch b/pcr/gnash-git/build_on_new_boost.patch
index e617891a4..6671d361e 100644
--- a/pcr/gnash-git/gnash_boost.patch
+++ b/pcr/gnash-git/build_on_new_boost.patch
@@ -1,5 +1,7 @@
---- gnash.orig/libbase/accumulator.h 2016-01-09 11:08:36.983892360 -0500
-+++ gnash/libbase/accumulator.h 2016-01-09 11:10:26.775762676 -0500
+diff --git i/libbase/accumulator.h w/libbase/accumulator.h
+index 694cbd2..876c669 100644
+--- i/libbase/accumulator.h
++++ w/libbase/accumulator.h
@@ -22,6 +22,7 @@
#include <boost/program_options/value_semantic.hpp>
@@ -8,7 +10,7 @@
#include <functional>
#include <vector>
#include <string>
-@@ -61,6 +62,11 @@
+@@ -61,6 +62,11 @@ public:
virtual unsigned min_tokens() const { return 0; }
virtual unsigned max_tokens() const { return 0; }
diff --git a/pcr/gnash-git/gnash.install b/pcr/gnash-git/gnash.install
index 7716efc65..6678a7f8a 100644
--- a/pcr/gnash-git/gnash.install
+++ b/pcr/gnash-git/gnash.install
@@ -1,4 +1,5 @@
post_install() {
+ gconfpkg --install gnash
update-desktop-database -q
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
@@ -11,6 +12,10 @@ 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