diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-07 03:52:15 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-07 03:52:15 +0000 |
commit | d44823e5676f0edd0e259c7c33d5640a043748ac (patch) | |
tree | a861b18b863dacb947ba2b8e9cbcb47ef80a03ef /community/eom | |
parent | c183da9d3df5445f5021cd6563012ba2abfc393e (diff) |
Fri Mar 7 03:48:12 UTC 2014
Diffstat (limited to 'community/eom')
-rw-r--r-- | community/eom/01-fix.diff | 13 | ||||
-rw-r--r-- | community/eom/PKGBUILD | 37 | ||||
-rw-r--r-- | community/eom/eom.install | 13 |
3 files changed, 63 insertions, 0 deletions
diff --git a/community/eom/01-fix.diff b/community/eom/01-fix.diff new file mode 100644 index 000000000..f857b7676 --- /dev/null +++ b/community/eom/01-fix.diff @@ -0,0 +1,13 @@ +diff --git a/src/eom-thumbnail.c b/src/eom-thumbnail.c +index a4f24b6..a98dd30 100644 +--- a/src/eom-thumbnail.c ++++ b/src/eom-thumbnail.c +@@ -31,7 +31,7 @@ + #ifndef MATE_DESKTOP_USE_UNSTABLE_API + #define MATE_DESKTOP_USE_UNSTABLE_API + #endif +-#include <libmateui/mate-desktop-thumbnail.h> ++#include <libmate-desktop/mate-desktop-thumbnail.h> + + #include "eom-thumbnail.h" + #include "eom-list-store.h" diff --git a/community/eom/PKGBUILD b/community/eom/PKGBUILD new file mode 100644 index 000000000..00fd7d0e9 --- /dev/null +++ b/community/eom/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 106663 2014-03-06 11:41:02Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> + +pkgname=eom +pkgver=1.8.0 +pkgrel=2 +pkgdesc="An image viewing and cataloging program for MATE" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dbus-glib' 'desktop-file-utils' 'gtk2' 'exempi' 'lcms2' 'libexif' + 'libjpeg-turbo' 'mate-desktop' 'mate-icon-theme' 'pygtk' 'python2' + 'python2-gobject2' 'startup-notification' 'zlib') +makedepends=('mate-common' 'perl-xml-parser' 'yelp-tools') +optdepends=('yelp: for reading MATE help documents') +replaces=('mate-image-viewer') +provides=('mate-image-viewer') +conflicts=('mate-image-viewer') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.8/${pkgname}-${pkgver}.tar.xz") +sha1sums=('580b3c06e16e14dd3f72d545f47f295af5d67dd1') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./configure \ + --prefix=/usr \ + --localstatedir=/var \ + --with-gtk=2.0 + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/eom/eom.install b/community/eom/eom.install new file mode 100644 index 000000000..bf6781f93 --- /dev/null +++ b/community/eom/eom.install @@ -0,0 +1,13 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |