2012-08-03 18:38:06 +02:00
|
|
|
# Description: A multi-platform toolkit for creating graphical user interfaces
|
2020-06-21 20:21:42 +10:00
|
|
|
# URL: https://www.gtk.org/
|
2021-01-14 00:15:28 +11:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: at-spi2-atk gdk-pixbuf libepoxy pango
|
2012-08-03 18:38:06 +02:00
|
|
|
|
|
|
|
name=gtk3
|
2021-04-25 18:52:56 +00:00
|
|
|
version=3.24.29
|
2021-02-20 17:37:16 +00:00
|
|
|
release=1
|
2021-01-14 00:15:28 +11:00
|
|
|
source=(https://download.gnome.org/sources/gtk+/${version:0:4}/gtk+-$version.tar.xz
|
|
|
|
gtk.immodules gtk-register-3.sh)
|
2012-08-03 18:38:06 +02:00
|
|
|
|
2021-01-14 00:15:28 +11:00
|
|
|
build() {
|
2017-11-08 23:28:38 +01:00
|
|
|
cd gtk+-$version
|
2012-08-03 18:38:06 +02:00
|
|
|
|
2017-11-08 23:28:38 +01:00
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2021-01-14 00:15:28 +11:00
|
|
|
install -m 0644 -D $SRC/gtk.immodules $PKG/usr/lib/gtk-3.0/3.0.0/immodules.cache
|
|
|
|
install -m 0755 $SRC/gtk-register-3.sh $PKG/usr/bin/gtk-register-3
|
|
|
|
|
2017-11-08 23:28:38 +01:00
|
|
|
rm -r $PKG/usr/share/{gtk-doc,locale,gtk-3.0}
|
2012-08-03 18:38:06 +02:00
|
|
|
}
|