From a2bf06618fb92a71554da7e5cb1331d03b9462ad Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Fri, 15 Jul 2016 14:42:30 -0500 Subject: gloobus-preview-0.4.5.335-2.parabola1: Hooks rebuild --- libre/gloobus-preview/PKGBUILD | 9 ++++++--- libre/gloobus-preview/gloobus-preview.install | 15 --------------- 2 files changed, 6 insertions(+), 18 deletions(-) delete mode 100644 libre/gloobus-preview/gloobus-preview.install (limited to 'libre/gloobus-preview') 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 -} -- cgit v1.2.3-54-g00ecf