summaryrefslogtreecommitdiff
path: root/gnome-unstable
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-14 00:01:30 +0000
committerroot <root@rshg054.dnsready.net>2012-03-14 00:01:30 +0000
commit01a0c4bc740842efa3bf1a7e1d6c8be5656e4e2a (patch)
treec9cf79fb6311cbb2a890419e0a382aa211fb3010 /gnome-unstable
parentca06c41d7d8e5d38284de9048372ab45dcd8b2fb (diff)
Wed Mar 14 00:01:29 UTC 2012
Diffstat (limited to 'gnome-unstable')
-rw-r--r--gnome-unstable/gthumb/PKGBUILD46
-rw-r--r--gnome-unstable/gthumb/gthumb.install19
-rw-r--r--gnome-unstable/xdg-user-dirs-gtk/PKGBUILD30
-rw-r--r--gnome-unstable/xdg-user-dirs-gtk/lxde.patch15
4 files changed, 110 insertions, 0 deletions
diff --git a/gnome-unstable/gthumb/PKGBUILD b/gnome-unstable/gthumb/PKGBUILD
new file mode 100644
index 000000000..8437de3eb
--- /dev/null
+++ b/gnome-unstable/gthumb/PKGBUILD
@@ -0,0 +1,46 @@
+# $Id: PKGBUILD 153399 2012-03-12 23:04:04Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+# Contributor: Tobias Kieslich <tobias@justdreams.de>
+
+pkgname=gthumb
+pkgver=2.90.1
+pkgrel=1
+pkgdesc="Image browser and viewer for the GNOME Desktop"
+arch=(i686 x86_64)
+license=('GPL')
+url="http://live.gnome.org/gthumb"
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'dconf' 'librsvg' 'clutter-gtk'
+ 'gstreamer0.10-base')
+makedepends=('intltool' 'gnome-doc-utils' 'libchamplain' 'libopenraw' 'exiv2' 'libsoup-gnome'
+ 'brasero' 'librsvg' 'libopenraw' 'liboauth')
+optdepends=('libopenraw: read RAW files'
+ 'exiv2: metadata support'
+ 'libchamplain: map viewer'
+ 'brasero: burn discs'
+ 'libsoup-gnome: web albums'
+ 'liboauth: web albums')
+options=('!libtool' '!emptydirs')
+install=gthumb.install
+
+### FIXME: not the real tarball but a custom one made from git master, to fix build errors
+### hopefully gthumb will have another release before this moves out of gnome-unstable
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('1264a6c344015739b0f7eafba27fed1b8c0c35e87927c913216f899c3e107a5e')
+
+build() {
+ cd $pkgname-$pkgver
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static \
+ --enable-libchamplain --enable-libopenraw
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
diff --git a/gnome-unstable/gthumb/gthumb.install b/gnome-unstable/gthumb/gthumb.install
new file mode 100644
index 000000000..5d8005402
--- /dev/null
+++ b/gnome-unstable/gthumb/gthumb.install
@@ -0,0 +1,19 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ if (( $(vercmp $2 2.90.1) < 0 )); then
+ gconfpkg --uninstall gthumb
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/gnome-unstable/xdg-user-dirs-gtk/PKGBUILD b/gnome-unstable/xdg-user-dirs-gtk/PKGBUILD
new file mode 100644
index 000000000..af6e91430
--- /dev/null
+++ b/gnome-unstable/xdg-user-dirs-gtk/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 153255 2012-03-12 15:48:09Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+
+pkgname=xdg-user-dirs-gtk
+pkgver=0.8
+pkgrel=1
+pkgdesc="Creates user dirs and asks to relocalize them"
+arch=(i686 x86_64)
+license=('GPL')
+depends=('gtk2' 'xdg-user-dirs')
+makedepends=('intltool')
+options=('!libtool' '!emptydirs')
+url="http://www.gnome.org"
+groups=('gnome')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.bz2
+ lxde.patch)
+sha256sums=('971e5cd121606c437c2b07e189c8f34791ae0c4d81e155266d71acc7b263ad32'
+ '5db6a2fd5bb293deff0322e9f20a383130e05df2d35d64568a47b5fe63d6ebf4')
+
+build() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../lxde.patch
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
diff --git a/gnome-unstable/xdg-user-dirs-gtk/lxde.patch b/gnome-unstable/xdg-user-dirs-gtk/lxde.patch
new file mode 100644
index 000000000..c5520475c
--- /dev/null
+++ b/gnome-unstable/xdg-user-dirs-gtk/lxde.patch
@@ -0,0 +1,15 @@
+diff -up xdg-user-dirs-gtk-0.8/user-dirs-update-gtk.desktop.in.lxde xdg-user-dirs-gtk-0.8/user-dirs-update-gtk.desktop.in
+--- xdg-user-dirs-gtk-0.8/user-dirs-update-gtk.desktop.in.lxde 2010-02-13 23:52:49.130115833 -0500
++++ xdg-user-dirs-gtk-0.8/user-dirs-update-gtk.desktop.in 2010-02-13 23:54:57.574114211 -0500
+@@ -1,10 +1,9 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Exec=xdg-user-dirs-gtk-update
+ _Name=User folders update
+ _Comment=Update common folders names to match current locale
+ Terminal=false
+-OnlyShowIn=GNOME;
++OnlyShowIn=GNOME;LXDE;
+ Type=Application
+ StartupNotify=false
+ X-KDE-autostart-after=panel