[arch-commits] Commit in gloobus-preview/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 17:37:24 UTC 2020
Date: Thursday, November 12, 2020 @ 17:37:24
Author: foutrelis
Revision: 752723
archrelease: copy trunk to community-staging-x86_64
Added:
gloobus-preview/repos/community-staging-x86_64/
gloobus-preview/repos/community-staging-x86_64/PKGBUILD
(from rev 752722, gloobus-preview/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: gloobus-preview/repos/community-staging-x86_64/PKGBUILD (from rev 752722, gloobus-preview/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-12 17:37:24 UTC (rev 752723)
@@ -0,0 +1,44 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=gloobus-preview
+_bzrrev=336
+_bzrpath=~gloobus-dev/$pkgname/last_working_branch
+pkgver=0.4.5.$_bzrrev
+pkgrel=2
+pkgdesc="GNOME application designed to enable a full screen preview of any kind of file"
+arch=('x86_64')
+url="https://launchpad.net/gloobus-preview"
+license=('GPL')
+depends=('gst-plugins-base' 'gtksourceview3' 'poppler-glib' 'python-dbus' 'python-gobject')
+makedepends=('boost' 'bzr' 'djvulibre' 'libgxps' 'libspectre')
+optdepends=('djvulibre: Preview DjVu documents'
+ 'gst-libav: Extra media codecs'
+ 'gst-plugins-bad: Extra media codecs'
+ 'gst-plugins-good: Extra media codecs'
+ 'gst-plugins-ugly: Extra media codecs'
+ 'imagemagick: Support for more image formats'
+ 'libgxps: Preview XPS documents'
+ 'libspectre: Preview PostScript documents'
+ 'unoconv: Preview LibreOffice compatible documents')
+source=($pkgname-$_bzrrev.tar.gz::https://bazaar.launchpad.net/$_bzrpath/tarball/$_bzrrev)
+sha256sums=('b10646dd23d277f8b3f86787cdd2fc6675fb9ce5d314b8886a4612448ba05209')
+
+prepare() {
+ cd $_bzrpath
+ autoreconf -fi
+}
+
+build() {
+ cd $_bzrpath
+ ./configure --prefix=/usr
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package() {
+ cd $_bzrpath
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list