Commit 21da6d8b authored by Lukas's avatar Lukas

Remove libexif-gtk

parent a6687346
# $Id: PKGBUILD 58571 2009-11-09 10:15:54Z andrea $
# Contributor: Eduardo Romero <eduardo@archlinux.org>
# Contributor: Sebastien Piccand <sebcactus gmail com>
pkgname=libexif-gtk
pkgver=0.3.5
pkgrel=9
pkgdesc="GTK frontend to the libexif library"
arch=('i686' 'x86_64')
url="http://libexif.sourceforge.net"
license=('GPL')
depends=('libexif' 'gtk2')
options=('!libtool')
source=(http://downloads.sourceforge.net/libexif/$pkgname-$pkgver.tar.bz2
'gtk2-2.12.patch')
md5sums=('0ecdba41f3e0f20a11b8555bd2dd2a07'
'f8d53413c6291a0dca5da99016b1bf47')
build() {
cd $srcdir/$pkgname-$pkgver
# Patch for gtk2-2.12
patch -p1 -i ${srcdir}/gtk2-2.12.patch || return 1
# Patch for libexif
sed -i 's|exif-mem.h|libexif/exif-mem.h|g' configure
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
}
libexif-gtk needs deprecated GTK API.
--- a/gtk-extensions/Makefile.in
+++ b/gtk-extensions/Makefile.in
@@ -219,7 +219,6 @@
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/intl \
- -DGTK_DISABLE_DEPRECATED \
$(GTK_CFLAGS)
noinst_LTLIBRARIES = libgtk-extensions.la
--- a/libexif-gtk/Makefile.in
+++ b/libexif-gtk/Makefile.in
@@ -251,8 +251,7 @@
-I$(top_srcdir)/intl \
-I$(top_srcdir)/gtk-extensions \
$(LIBEXIF_GTK_CFLAGS) \
- -DG_LOG_DOMAIN=\"libexif\" \
- -DGTK_DISABLE_DEPRECATED
+ -DG_LOG_DOMAIN=\"libexif\"
lib_LTLIBRARIES = libexif-gtk.la
libexif_gtkincludedir = $(includedir)/libexif-gtk
--- a/gtk-extensions/Makefile.am
+++ b/gtk-extensions/Makefile.am
@@ -1,7 +1,6 @@
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/intl \
- -DGTK_DISABLE_DEPRECATED \
$(GTK_CFLAGS)
noinst_LTLIBRARIES = libgtk-extensions.la
--- a/libexif-gtk/Makefile.am
+++ b/libexif-gtk/Makefile.am
@@ -3,8 +3,7 @@
-I$(top_srcdir)/intl \
-I$(top_srcdir)/gtk-extensions \
$(LIBEXIF_GTK_CFLAGS) \
- -DG_LOG_DOMAIN=\"libexif\" \
- -DGTK_DISABLE_DEPRECATED
+ -DG_LOG_DOMAIN=\"libexif\"
lib_LTLIBRARIES = libexif-gtk.la
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment