summaryrefslogtreecommitdiff
path: root/nonprism/eog-plugins-nonprism
diff options
context:
space:
mode:
Diffstat (limited to 'nonprism/eog-plugins-nonprism')
-rw-r--r--nonprism/eog-plugins-nonprism/PKGBUILD39
-rw-r--r--nonprism/eog-plugins-nonprism/eog-plugins.install11
2 files changed, 50 insertions, 0 deletions
diff --git a/nonprism/eog-plugins-nonprism/PKGBUILD b/nonprism/eog-plugins-nonprism/PKGBUILD
new file mode 100644
index 000000000..010f3eb7b
--- /dev/null
+++ b/nonprism/eog-plugins-nonprism/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+_pkgname=eog-plugins
+pkgname=eog-plugins-nonprism
+pkgver=3.8.1
+pkgrel=2
+pkgdesc="Plugins for Eye of Gnome, without libgdata support"
+arch=('i686' 'x86_64')
+url="http://www.gnome.org/"
+license=('GPL2')
+depends=('eog' 'libchamplain')
+makedepends=('intltool')
+provides=("$_pkgname=$pkgver")
+conflicts=$_pkgname
+replaces=$_pkgname
+install=eog-plugins.install
+options=('!libtool')
+source=(http://download.gnome.org/sources/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.xz)
+sha256sums=('5cf8dab5b6622b9e712da4094185112cc84baa96f2775cc76bf654b1c443cfb9')
+
+build() {
+ cd $_pkgname-$pkgver
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+ --sysconfdir=/etc --localstatedir=/var
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/nonprism/eog-plugins-nonprism/eog-plugins.install b/nonprism/eog-plugins-nonprism/eog-plugins.install
new file mode 100644
index 000000000..24072f316
--- /dev/null
+++ b/nonprism/eog-plugins-nonprism/eog-plugins.install
@@ -0,0 +1,11 @@
+post_install() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}