milis/talimatname/genel/gtk3/talimat

33 lines
1011 B
Plaintext

# Description: Libraries used for creating graphical user interfaces for applications.
# URL: http://www.gtk.org/
# Packager: milisarge
# Depends on: adwaita-icon-theme libepoxy xorg-libxinerama,xorg-libxrandr,xorg-libxcursor,at-spi2-atk,cups,colord,xorg-libxi,atk,cairo,pango,pangox-compat,gdk-pixbuf,gtk-update-icon-cache
name=gtk3
version=3.18.7
release=1
source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/${version%.*}/gtk+-$version.tar.xz)
build() {
cd gtk+-$version
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-broadway-backend \
--enable-x11-backend \
--disable-wayland-backend
make || make -j1
make DESTDIR=$PKG install
rm -r $PKG/usr/share/gtk-doc
cat > $PKG/etc/gtk-3.0/settings.ini << "EOF"
[Settings]
gtk-theme-name = Adwaita
gtk-icon-theme-name = gnome
gtk-cursor-theme-name = Adwaita
EOF
# Empaqueté ds gtk-update-icon-cache
rm $PKG/{usr/bin/gtk-update-icon-cache,usr/share/man/man1/gtk-update-icon-cache.1}
}