-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b9d31ac
commit 0afe89f
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gtk4-layer-shell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]>" | ||
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 | ||
} | ||
} |