ports/opt (3.7): libwnck-gtk3: updated meson syntax
![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit bc118daf7529a9bb44b485c29f1199e6d0b5f7b2 Author: Tim Biermann <tbier@posteo.de> Date: Sat Jan 8 14:55:29 2022 +0100 libwnck-gtk3: updated meson syntax diff --git a/libwnck-gtk3/.signature b/libwnck-gtk3/.signature index f01e443a3..ee8cd1e1e 100644 --- a/libwnck-gtk3/.signature +++ b/libwnck-gtk3/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/RdBFgGv2V77bd55zgTTOt6pz5lPg0V+1Z6X5+Lp1m0wC/7bVuzve405cT4nNr6OO1/GK7faQGKDAx+RYw6JhAo= -SHA256 (Pkgfile) = 31b61c131ab3482ad29277e57e28a267d51b3b3b9ac0ed6fec5ba35211c97209 +RWSE3ohX2g5d/U6v3KSp70irUbWuz7VIkdt9e6WrXTILOTJmR9FOoKB6GUSvxN2HI76m3/PU4G4CjJj35fUqlMi/om8EcDEKJgs= +SHA256 (Pkgfile) = 34382c8b5c1ed54bfc7732e459de1512bba66dfd520a7f7e2fe637a5391dae0e SHA256 (.footprint) = c5722e6e8dbcf98499e734083408729356f889a53ab0d3c53da0ba2aada96b66 SHA256 (libwnck-3.36.0.tar.xz) = bc508150b3ed5d22354b0e6774ad4eee465381ebc0ace45eb0e2d3a4186c925f diff --git a/libwnck-gtk3/Pkgfile b/libwnck-gtk3/Pkgfile index d1704bc57..569c5598f 100644 --- a/libwnck-gtk3/Pkgfile +++ b/libwnck-gtk3/Pkgfile @@ -9,7 +9,12 @@ release=1 source=(https://ftp.gnome.org/pub/gnome/sources/libwnck/${version%.*}/libwnck-$version.tar.xz) build() { - meson build libwnck-$version --prefix=/usr + meson build libwnck-$version \ + --prefix=/usr \ + --buildtype=plain \ + --wrap-mode nodownload \ + -D b_lto=true \ + -D b_pie=true ninja -C build -j ${JOBS:-1} DESTDIR=$PKG meson install -C build diff --git a/libwnck-gtk3/startup-notfication.patch b/libwnck-gtk3/startup-notfication.patch deleted file mode 100644 index 289cef0f3..000000000 --- a/libwnck-gtk3/startup-notfication.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/meson.build b/meson.build -index 6e35c00f77aef272a20c3d473ce50bed0206a08c..28799d8bec46aef4d1b05b44ef557cd387f48a64 100644 ---- a/meson.build -+++ b/meson.build -@@ -43,7 +43,7 @@ pkg_deps = [ - {'name': 'glib-2.0', 'version': '>= 2.32' }, - {'name': 'gobject-2.0', 'version': '>= 2.13.0' }, - {'name': 'gtk+-3.0', 'version': '>= 3.22.0' }, -- {'name': STARTUP_NOTIFICATION_PACKAGE, 'version': '>= 0.4', 'required': get_option('startup_notification').enabled() }, -+ {'name': STARTUP_NOTIFICATION_PACKAGE, 'version': '>= 0.4', 'required': get_option('startup_notification')}, - {'name': X11_PACKAGE }, - {'name': XRES_PACKAGE, 'required': false}, - ] -@@ -54,7 +54,7 @@ foreach p: pkg_deps - dep = dependency(pkg, version: p.get('version', []), required: required) - LIBWNCK_DEPS += dep - -- if not required and dep.found() -+ if dep.found() - conf.set('HAVE_' + pkg.to_upper().underscorify(), 1) - endif - endforeach
participants (1)
-
crux@crux.nu