forked from ports/contrib
gtk4: updated optional dependency and fixed buildflag
This commit is contained in:
parent
bddb5242f7
commit
92640916a4
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF338dvBXprCnjKd/kUTXFRrNFRhgxaROiriO3aH5aTBnXDn2q2WU7C938DT/DdJ46AHFGKrFIdq9r2Z7gyAs+6QM=
|
||||
SHA256 (Pkgfile) = 76a2c481cbc2707b29ba8396a1c08ff55224655f24a6275642455f57e3f055ec
|
||||
RWSagIOpLGJF3xr2bOVryTWyaZ8l8v65wk1+bzCTGY+s4JT+wb/ArmVnEkk35TOOMIY4Shgk9uEmJDrb2Ci8igVgq7pYE9qDPwM=
|
||||
SHA256 (Pkgfile) = 81465ed8137fec8c11f8d8781905d07e3451347cce59e2d80e990d2f0efdc7d4
|
||||
SHA256 (.footprint) = b815e864bcfa10c786ebe520883d8804ac5e71e17087b56f80305c16801521b6
|
||||
SHA256 (gtk-4.8.2.tar.bz2) = 0e2227fadf7886d383fbe3b0a48a947292c13daeb25e106908022c584694c84a
|
||||
|
@ -2,7 +2,7 @@
|
||||
# URL: https://www.gtk.org/
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: adwaita-icon-theme docbook-xsl graphene gst-plugins-bad libxkbcommon sassc xorg-libxcursor xorg-libxinerama
|
||||
# Optional: colord cups vulkan wayland
|
||||
# Optional: colord cups vulkan wayland-protocols
|
||||
|
||||
name=gtk4
|
||||
version=4.8.2
|
||||
@ -11,14 +11,14 @@ source=(https://gitlab.gnome.org/GNOME/gtk/-/archive/$version/gtk-$version.tar.b
|
||||
|
||||
build() {
|
||||
prt-get isinst colord && PKGMK_GTK4+=' -D colord=enabled'
|
||||
prt-get isinst wayland || PKGMK_GTK4+=' -D wayland-backend=false'
|
||||
prt-get isinst wayland-protocols || PKGMK_GTK4+=' -D wayland-backend=false'
|
||||
# manpages need rst2man, which we don't have
|
||||
|
||||
meson setup gtk-$version build $PKGMK_GTK4 \
|
||||
--prefix=/usr \
|
||||
-D buildtype=plain \
|
||||
--wrap-mode nodownload \
|
||||
-D b_lto=false \
|
||||
-D b_lto=true \
|
||||
-D b_pie=true \
|
||||
-D broadway-backend=true \
|
||||
-D man-pages=false \
|
||||
|
Loading…
x
Reference in New Issue
Block a user