From 0afe89ff2ad04971dd8084fa49a7aa8d7a8206ca Mon Sep 17 00:00:00 2001 From: Xavier Fortier Date: Wed, 8 Jan 2025 09:23:33 -0500 Subject: [PATCH] New package: gtk4-layer-shell-1.0.4 --- common/shlibs | 1 + srcpkgs/gtk4-layer-shell-devel | 1 + srcpkgs/gtk4-layer-shell/template | 40 +++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 120000 srcpkgs/gtk4-layer-shell-devel create mode 100644 srcpkgs/gtk4-layer-shell/template diff --git a/common/shlibs b/common/shlibs index cc76cbdd35cd7c..4ef6a088f9e4b0 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3977,6 +3977,7 @@ libigdgmm.so.12 intel-gmmlib-22.1.3_1 libigfxcmrt.so.7 intel-media-driver-21.3.5_1 libigraph.so.3 igraph-0.10.2_1 libgtk-layer-shell.so.0 gtk-layer-shell-0.1.0_1 +libgtk4-layer-shell.so.0 gtk4-layer-shell-1.0.4_1 librdkafka.so.1 librdkafka-1.4.4_3 librdkafka++.so.1 librdkafka-1.4.4_3 libraft.so.0 raft-0.18.2_1 diff --git a/srcpkgs/gtk4-layer-shell-devel b/srcpkgs/gtk4-layer-shell-devel new file mode 120000 index 00000000000000..6d16dc76e3fa9d --- /dev/null +++ b/srcpkgs/gtk4-layer-shell-devel @@ -0,0 +1 @@ +gtk4-layer-shell \ No newline at end of file diff --git a/srcpkgs/gtk4-layer-shell/template b/srcpkgs/gtk4-layer-shell/template new file mode 100644 index 00000000000000..adc065850682ff --- /dev/null +++ b/srcpkgs/gtk4-layer-shell/template @@ -0,0 +1,40 @@ +# Template file for 'gtk4-layer-shell' +pkgname=gtk4-layer-shell +version=1.0.4 +revision=1 +build_style=meson +build_helper="gir" +hostmakedepends="gobject-introspection pkg-config" +makedepends="gtk4-devel wayland-devel wayland-protocols" +checkdepends="cantarell-fonts python3" +short_desc="Library to create panels and other desktop components for Wayland (GTK4)" +maintainer="Xavier Fortier " +license="MIT" +homepage="https://github.com/wmww/gtk4-layer-shell" +changelog="https://raw.githubusercontent.com/wmww/gtk4-layer-shell/refs/heads/main/CHANGELOG.md" +distfiles="https://github.com/wmww/gtk4-layer-shell/archive/v${version}.tar.gz" +checksum=7fe327dc3740e4b6f5edfd855e23f84b1ac1ec6854b731047b95df7feb46498b + +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -Dtests=true -Dsmoke-tests=false" +fi + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" wayland-devel valabind" +fi + +post_install() { + vlicense LICENSE +} + +gtk4-layer-shell-devel_package() { +depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + vmove usr/share/gir-1.0 + vmove usr/share/vala + } +}