summaryrefslogtreecommitdiffstats
path: root/gthumb/Pkgfile
blob: f2a3dcde5b3954f05995fa48d30f3ce5f045c340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Description: Lecteur de CD pour Gnome
# URL: http://people.gnome.org/~paobac/goobox/
# Maintainer: NutyX Gnome team
# Packager: piernov <piernov@piernov.org>
# Depends on: gconf, exiv2, libsoup, clutter-gtk, libsm, gst-plugins-base, brasero, libchamplain, libgnome-keyring
# Run on: gconf,exiv2,libsoup,clutter-gtk,brasero,libchamplain,libgnome-keyring

name=gthumb
version=2.14.2
release=1

source=(http://ftp.gnome.org/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz
	update_required_libs.patch
	map_view_libchamplain-0.12.patch)

build() {
	cd $name-$version
	patch -p0 < ../update_required_libs.patch
	patch -p0 < ../map_view_libchamplain-0.12.patch
	autoconf
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--disable-schemas-install \
		--disable-scrollkeeper \
		--enable-gseal \
		--enable-libchamplain \
		--enable-libbrasero \
		--enable-clutter
	make
	make DESTDIR=$PKG GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install

	install -m755 -d $PKG/usr/share/gconf/schemas
	gconf-merge-schema $PKG/usr/share/gconf/schemas/$name.schemas --domain $name $PKG/etc/gconf/schemas/*.schemas
	rm -rf $PKG/etc
}