This commit is contained in:
Wallenstein 2025-01-19 12:11:16 +03:00
parent d0032572d1
commit 8cfbd8dfcc
3 changed files with 12 additions and 10 deletions

View file

@ -1,7 +1,7 @@
# Template file for 'gtk4-layer-shell' # Template file for 'gtk4-layer-shell'
pkgname=gtk4-layer-shell pkgname=gtk4-layer-shell
version=1.0.4 version=1.0.4
revision=3 revision=4
build_style=meson build_style=meson
build_helper="gir" build_helper="gir"
hostmakedepends="gobject-introspection pkg-config wayland-protocols" hostmakedepends="gobject-introspection pkg-config wayland-protocols"
@ -13,7 +13,8 @@ license="MIT"
homepage="https://github.com/wmww/gtk4-layer-shell" homepage="https://github.com/wmww/gtk4-layer-shell"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
checksum="7fe327dc3740e4b6f5edfd855e23f84b1ac1ec6854b731047b95df7feb46498b" checksum="7fe327dc3740e4b6f5edfd855e23f84b1ac1ec6854b731047b95df7feb46498b"
shlib_providers="libgtk4-layer-shell.so.0 libgtk4-layer-shell.so" #shlib_providers="libgtk4-layer-shell.so.0 libgtk4-layer-shell.so"
noshlibprovides=yes
if [ "$XBPS_CHECK_PKGS" ]; then if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -Dtests=true" configure_args+=" -Dtests=true"

View file

@ -1,7 +1,7 @@
# Template file for 'gtk4-layer-shell' # Template file for 'gtk4-layer-shell'
pkgname=gtk4-layer-shell pkgname=gtk4-layer-shell
version=1.0.4 version=1.0.4
revision=3 revision=4
build_style=meson build_style=meson
build_helper="gir" build_helper="gir"
hostmakedepends="gobject-introspection pkg-config wayland-protocols" hostmakedepends="gobject-introspection pkg-config wayland-protocols"
@ -13,7 +13,8 @@ license="MIT"
homepage="https://github.com/wmww/gtk4-layer-shell" homepage="https://github.com/wmww/gtk4-layer-shell"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
checksum="7fe327dc3740e4b6f5edfd855e23f84b1ac1ec6854b731047b95df7feb46498b" checksum="7fe327dc3740e4b6f5edfd855e23f84b1ac1ec6854b731047b95df7feb46498b"
shlib_providers="libgtk4-layer-shell.so.0 libgtk4-layer-shell.so" #shlib_providers="libgtk4-layer-shell.so.0 libgtk4-layer-shell.so"
noshlibprovides=yes
if [ "$XBPS_CHECK_PKGS" ]; then if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -Dtests=true" configure_args+=" -Dtests=true"

View file

@ -1,12 +1,12 @@
# Template file for 'swayosd' # Template file for 'swayosd'
pkgname=swayosd pkgname=swayosd
_commit=9fa312b9f276250d0781595ec308b061a61a136e _commit=dbb8b721fe43d2feca8a22cfac9a387a6c38a180
version=0.1.${_commit} version=0.1.${_commit}
revision=1 revision=2
build_style=meson build_style=meson
hostmakedepends="cargo ninja pkg-config sassc" hostmakedepends="cargo ninja pkg-config sassc"
makedepends="pulseaudio-devel gtk4-devel" makedepends="pulseaudio-devel"
depends="glib gtk4 gtk4-layer-shell libinput libevdev" depends="glib gtk+3 gtk-layer-shell libinput libevdev sassc"
for item in ${depends[@]}; do for item in ${depends[@]}; do
makedepends+=" ${item}-devel" makedepends+=" ${item}-devel"
done done
@ -15,13 +15,13 @@ maintainer="CringeTech Team <team@cringetech.net>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="https://github.com/ErikReider/SwayOSD" homepage="https://github.com/ErikReider/SwayOSD"
distfiles="${homepage}/archive/${_commit}.tar.gz" distfiles="${homepage}/archive/${_commit}.tar.gz"
checksum=bae2887c71130bebd0247e6ee4c26a135a2dea6a9317f63a912994be6b6e19c1 checksum=2c34fa8a3b1c431e06f32a2b537a6235928570700a97265fd615d6cdeab1eb96
post_install() { post_install() {
vinstall data/dbus/org.erikreider.swayosd.conf 644 etc/dbus-1/system.d vinstall data/dbus/org.erikreider.swayosd.conf 644 etc/dbus-1/system.d
vinstall data/udev/99-swayosd.rules 644 usr/lib/udev/rules.d vinstall data/udev/99-swayosd.rules 644 usr/lib/udev/rules.d
vinstall data/polkit/actions/org.erikreider.swayosd.policy.in 644 usr/share/polkit-1/actions org.erikreider.swayosd.policy vinstall data/polkit/actions/org.erikreider.swayosd.policy.in 644 usr/share/polkit-1/actions org.erikreider.swayosd.policy
vinstall data/polkit/rules/org.erikreider.swayosd.rules 644 etc/polkit-1/rules.d vinstall data/polkit/rules/org.erikreider.swayosd.rules 644 etc/polkit-1/rules.d
vinstall data/style/style.css 644 etc/xdg/swayosd || true vinstall data/style/style.css 644 etc/xdg/swayosd
vsv swayosd-libinput-backend vsv swayosd-libinput-backend
} }