[arch-commits] Commit in gloobus-preview/repos (6 files)
Felix Yan
fyan at archlinux.org
Sat Sep 26 02:41:13 UTC 2015
Date: Saturday, September 26, 2015 @ 04:41:13
Author: fyan
Revision: 141631
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
gloobus-preview/repos/community-staging-i686/
gloobus-preview/repos/community-staging-i686/PKGBUILD
(from rev 141630, gloobus-preview/trunk/PKGBUILD)
gloobus-preview/repos/community-staging-i686/gloobus-preview.install
(from rev 141630, gloobus-preview/trunk/gloobus-preview.install)
gloobus-preview/repos/community-staging-x86_64/
gloobus-preview/repos/community-staging-x86_64/PKGBUILD
(from rev 141630, gloobus-preview/trunk/PKGBUILD)
gloobus-preview/repos/community-staging-x86_64/gloobus-preview.install
(from rev 141630, gloobus-preview/trunk/gloobus-preview.install)
--------------------------------------------------+
community-staging-i686/PKGBUILD | 35 +++++++++++++++++++++
community-staging-i686/gloobus-preview.install | 15 +++++++++
community-staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++
community-staging-x86_64/gloobus-preview.install | 15 +++++++++
4 files changed, 100 insertions(+)
Copied: gloobus-preview/repos/community-staging-i686/PKGBUILD (from rev 141630, gloobus-preview/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-26 02:41:13 UTC (rev 141631)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=gloobus-preview
+pkgver=0.4.5.333
+pkgrel=2
+pkgdesc="GNOME application designed to enable a full screen preview of any kind of file"
+arch=('i686' 'x86_64')
+url="http://gloobus.net/"
+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')
+install=$pkgname.install
+source=($pkgname-$pkgver::bzr+http://bazaar.launchpad.net/~gloobus-dev/gloobus-preview/last_working_branch#revision=333)
+md5sums=('SKIP')
+
+build() {
+ cd $pkgname-$pkgver
+ ./autogen.sh --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: gloobus-preview/repos/community-staging-i686/gloobus-preview.install (from rev 141630, gloobus-preview/trunk/gloobus-preview.install)
===================================================================
--- community-staging-i686/gloobus-preview.install (rev 0)
+++ community-staging-i686/gloobus-preview.install 2015-09-26 02:41:13 UTC (rev 141631)
@@ -0,0 +1,15 @@
+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
+}
Copied: gloobus-preview/repos/community-staging-x86_64/PKGBUILD (from rev 141630, gloobus-preview/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-09-26 02:41:13 UTC (rev 141631)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=gloobus-preview
+pkgver=0.4.5.333
+pkgrel=2
+pkgdesc="GNOME application designed to enable a full screen preview of any kind of file"
+arch=('i686' 'x86_64')
+url="http://gloobus.net/"
+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')
+install=$pkgname.install
+source=($pkgname-$pkgver::bzr+http://bazaar.launchpad.net/~gloobus-dev/gloobus-preview/last_working_branch#revision=333)
+md5sums=('SKIP')
+
+build() {
+ cd $pkgname-$pkgver
+ ./autogen.sh --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: gloobus-preview/repos/community-staging-x86_64/gloobus-preview.install (from rev 141630, gloobus-preview/trunk/gloobus-preview.install)
===================================================================
--- community-staging-x86_64/gloobus-preview.install (rev 0)
+++ community-staging-x86_64/gloobus-preview.install 2015-09-26 02:41:13 UTC (rev 141631)
@@ -0,0 +1,15 @@
+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
+}
More information about the arch-commits
mailing list