glade: fix build when libxslt is present but docbook-xsl is not
This commit is contained in:
parent
89d5f6a9d7
commit
532960241e
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3/2PdCWrp0VdBOJvMIakabHxU2amk6ZB/3FiMNu5i2+5HzdTQV/nzGc02Btu+kfV1cnlYuoi3mBGmzrInoRxLQE=
|
||||
SHA256 (Pkgfile) = ccc3af5558258bc5ecf1f1307792d7f362c7177200f5e683c3aaf32256f9ee28
|
||||
RWSagIOpLGJF36qtKGfMs/ogsRL1U32hkJK1ahhia57f3zHXh0KRPlmzt0EBJ5tCzIxRleH9FALj5JOiMgTmYZvvRtv41MsqDQU=
|
||||
SHA256 (Pkgfile) = 39d2ebb66bc971be07cc882c3785c76c073558ee5727790894221ea82147f4d5
|
||||
SHA256 (.footprint) = 585a7028407439ee22f442ea338328568efed8c10b765aab60878277944d2a53
|
||||
SHA256 (glade-3.40.0.tar.xz) = 31c9adaea849972ab9517b564e19ac19977ca97758b109edc3167008f53e3d9c
|
||||
|
@ -1,8 +1,8 @@
|
||||
# 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
|
||||
# Depends on: gtk3 itstool xorg-libxcursor xorg-libxcomposite xorg-libxinerama
|
||||
# Optional: docbook-xsl gtk-doc python3-gobject webkitgtk
|
||||
|
||||
name=glade
|
||||
version=3.40.0
|
||||
@ -11,8 +11,11 @@ source=(https://download.gnome.org/sources/$name/${version::4}/$name-$version.ta
|
||||
|
||||
build() {
|
||||
prt-get isinst gtk-doc || PKGMK_GLADE+=' -D gtk_doc=false'
|
||||
prt-get isinst libxslt || PKGMK_GLADE+=' -D man=false'
|
||||
prt-get isinst libxslt docbook-xsl || PKGMK_GLADE+=' -D man=false'
|
||||
|
||||
sed -i -e "/^subdir.*'po'/d" \
|
||||
-e "/^subdir.*'help'/d" \
|
||||
$name-$version/meson.build
|
||||
meson setup build $name-$version ${PKGMK_GLADE} \
|
||||
--prefix=/usr \
|
||||
--buildtype=plain \
|
||||
@ -20,6 +23,4 @@ build() {
|
||||
|
||||
meson compile -C build -j ${JOBS-1}
|
||||
DESTDIR=$PKG meson install -C build
|
||||
|
||||
rm -r $PKG/usr/share/{help,locale}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user