summaryrefslogtreecommitdiff
path: root/libre/gloobus-preview
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-07-15 14:42:30 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-07-15 14:42:30 -0500
commita2bf06618fb92a71554da7e5cb1331d03b9462ad (patch)
tree67760bf82fd47466bd3d02cf4b08ca6ee1a4417c /libre/gloobus-preview
parente3c9f6df491512844973fd2885b516bcfaeed5fb (diff)
gloobus-preview-0.4.5.335-2.parabola1: Hooks rebuild
Diffstat (limited to 'libre/gloobus-preview')
-rw-r--r--libre/gloobus-preview/PKGBUILD9
-rw-r--r--libre/gloobus-preview/gloobus-preview.install15
2 files changed, 6 insertions, 18 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
}
diff --git a/libre/gloobus-preview/gloobus-preview.install b/libre/gloobus-preview/gloobus-preview.install
deleted file mode 100644
index 2d22800d7..000000000
--- a/libre/gloobus-preview/gloobus-preview.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate
-}
-
-post_upgrade() {
- post_install $1
-
- if [ "$(vercmp 0.4.5.333-1 "$2")" -eq 1 ]; then
- gdk-pixbuf-query-loaders --update-cache
- fi
-}
-
-post_remove() {
- post_install $1
-}