forked from ports/contrib
26 lines
677 B
Plaintext
26 lines
677 B
Plaintext
# Description: GTK Interface Builder.
|
|
# URL: https://glade.gnome.org/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: gtk3 itstool
|
|
# Optional: gtk-doc libxslt python3-gobject webkitgtk
|
|
|
|
name=glade
|
|
version=3.40.0
|
|
release=1
|
|
source=(https://download.gnome.org/sources/$name/${version::4}/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
prt-get isinst gtk-doc || PKGMK_GLADE+=' -D gtk_doc=false'
|
|
prt-get isinst libxslt || PKGMK_GLADE+=' -D man=false'
|
|
|
|
meson setup build $name-$version ${PKGMK_GLADE} \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
-D gladeui=true
|
|
|
|
meson compile -C build -j ${JOBS-1}
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/share/{help,locale}
|
|
}
|