[arch-commits] Commit in gloobus-preview/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 8 16:12:28 UTC 2021


    Date: Wednesday, December 8, 2021 @ 16:12:28
  Author: foutrelis
Revision: 1065658

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 1065657, gloobus-preview/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: gloobus-preview/repos/community-staging-x86_64/PKGBUILD (from rev 1065657, gloobus-preview/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-12-08 16:12:28 UTC (rev 1065658)
@@ -0,0 +1,44 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=gloobus-preview
+_bzrrev=336
+pkgver=0.4.5.$_bzrrev
+pkgrel=3
+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=(bzr+lp:$pkgname#revision=$_bzrrev)
+sha256sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+  sed -i '/ACX_PTHREAD()/d' configure.ac
+  autoreconf -vi
+}
+
+build() {
+  cd $pkgname
+  ./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 $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list