summaryrefslogtreecommitdiff
path: root/libre/gloobus-preview/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/gloobus-preview/PKGBUILD')
-rw-r--r--libre/gloobus-preview/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/libre/gloobus-preview/PKGBUILD b/libre/gloobus-preview/PKGBUILD
index a60797d16..bb7f5f66d 100644
--- a/libre/gloobus-preview/PKGBUILD
+++ b/libre/gloobus-preview/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gloobus-preview
_bzrrev=335
_bzrpath=~gloobus-dev/$pkgname/last_working_branch
pkgver=0.4.5.$_bzrrev
-pkgrel=1.parabola1
+pkgrel=2.parabola1
pkgdesc="GNOME application designed to enable a full screen preview of any kind of file, with libarchive support"
arch=('i686' 'x86_64' 'armv7h')
url="http://gloobus.net/"
@@ -24,10 +24,9 @@ optdepends=('djvulibre: Preview DjVu documents'
'libgxps: Preview XPS documents'
'libspectre: Preview PostScript documents'
'unoconv: Preview LibreOffice compatible documents')
-install=$pkgname.install
source=($pkgname-$_bzrrev.tar.gz::http://bazaar.launchpad.net/$_bzrpath/tarball/$_bzrrev
'gloobus-preview-usr-bsdtar-for-rar.patch')
-sha256sums=('41f6a8935f74341b383e92661311d5e25c422c3fcebebdffa07e496412bef313'
+sha256sums=('bc1e59e035800c37076abfec2ec58394f4bf0ed73080c9e98a0310f4bfc3efdb'
'd9b2718b1584f55c5d714e7bba6c957f3e3653d76603c08526c8c8ea79275e80')
prepare() {
@@ -39,6 +38,10 @@ prepare() {
build() {
cd $_bzrpath
./autogen.sh --prefix=/usr
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
make
}