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
|
# Description: Librairie multiplatforme permettant des interfaces graphiques
# URL: http://www.gtk.org/
# Maintainer: piernov <piernov@piernov.org>
# Packager: piernov <piernov@piernov.org>
# Depends on: atk, cairo, pango, gdk-pixbuf, xorg-libxi, colord, libcups, gtk, shared-mime-info, xorg-libxinerama, xorg-libxrandr
# Run on: atk,cairo,pango,gdk-pixbuf,xorg-libxi,colord,libcups,gtk,shared-mime-info
name=gtk3
version=3.4.3
release=1
source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/${version%.*}/gtk+-$version.tar.xz
settings.ini)
build() {
cd gtk+-$version
CXX=/bin/false ./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--sysconfdir=/etc \
--enable-colord=yes \
--enable-gtk2-dependency \
--disable-schemas-compile \
--enable-x11-backend \
--with-x
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
install -Dm644 $SRC/settings.ini $PKG/etc/gtk-3.0/settings.ini
}
|