summaryrefslogtreecommitdiffstats
path: root/gnome/gir-repository/Pkgfile
blob: 4ac6bb343a5ef77eb25cea5166c595db1089bc34 (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
# Description: Permet de rendre la platforme gnome plus facilement connnectable (binding)
# URL: http://live.gnome.org/GObjectIntrospection
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: avahi, gobject-introspection, gtk, libsoup, gconf, gnome-menus, gnome-keyring, gtksourceview, libnotify, pango, poppler-glib, vte, libwnck, babl, startup-notification

#gstreamer, gnupng, cairo

name=gir-repository
version=0.6.5
release=4
source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2 \
	http://nutyx.meticul.eu/files/patchs/gir-repository/gir-repository-0.6.5-dbus-glib-2.patch)

build() {
	cd $name-$version

	patch -Np1 -i ../gir-repository-0.6.5-dbus-glib-2.patch
	sed -i 's#/vte/#/vte-0.0/vte/#' gir/Makefile.in
	./configure --prefix=/usr --disable-static \
		--with-skipped-gir-modules=Pango,Atk,Gtk,PangoXft,Babl,Unique,GMenu,Wnck

	make
	make DESTDIR=$PKG install
	for i in Atk GMenu Gtk Gdk Pango
	do
		find $PKG -name "*$i*" -exec rm -v {} \;
	done
}