New package: magpie-0.9.3

This commit is contained in:
oreo639 2024-03-17 21:27:04 -07:00 committed by oreo639
parent 5cd412ee5d
commit ed3ab3841d
4 changed files with 69 additions and 0 deletions

View File

@ -3857,6 +3857,10 @@ libraven.so.0 budgie-desktop-10.5.1_1
libbudgie-private.so.0 budgie-desktop-10.5.1_1
libbudgietheme.so.0 budgie-desktop-10.5.1_1
libbudgie-plugin.so.0 budgie-desktop-10.5.1_1
libmagpie-0.so.0 magpie-0.9.3_1
libmagpie-clutter-0.so.0 magpie-0.9.3_1
libmagpie-cogl-0.so.0 magpie-0.9.3_1
libmagpie-cogl-pango-0.so.0 magpie-0.9.3_1
libslirp.so.0 libslirp-4.2.0_1
libqpdf.so.29 libqpdf-11.0.0_1
libstk-4.6.1.so libstk-4.6.1_1

1
srcpkgs/magpie-devel Symbolic link
View File

@ -0,0 +1 @@
magpie

View File

@ -0,0 +1,16 @@
Apparently the version limit is only required for systemd udev, it works
just fine with our version of eudev.
diff --git meson.build meson.build
index dc210e6..6e080ca 100644
--- a/meson.build
+++ b/meson.build
@@ -168,7 +168,7 @@ endif
have_libgudev = get_option('udev')
if have_libgudev
- libudev_dep = dependency('libudev', version: udev_req)
+ libudev_dep = dependency('libudev')
gudev_dep = dependency('gudev-1.0', version: gudev_req)
endif

48
srcpkgs/magpie/template Normal file
View File

@ -0,0 +1,48 @@
# Template file for 'magpie'
pkgname=magpie
version=0.9.3
revision=1
build_helper="gir"
build_style=meson
configure_args="-Degl_device=true -Dudev=true -Dnative_backend=true
-Dprofiler=false -Dintrospection=true"
hostmakedepends="gettext glib-devel pkg-config zenity xorg-server"
makedepends="elogind-devel glib-devel gnome-desktop-devel graphene-devel
json-glib-devel libglib-devel libSM-devel libXtst-devel libcanberra-devel
libinput-devel MesaLib-devel pipewire-devel startup-notification-devel gtk+3-devel
gnome-settings-daemon-devel libgudev-devel libwacom-devel"
depends="gsettings-desktop-schemas desktop-file-utils"
short_desc="X11 window manager and compositor library for Budgie Desktop"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/BuddiesOfBudgie/magpie"
distfiles="https://github.com/BuddiesOfBudgie/magpie/releases/download/v${version}/magpie-${version}.tar.xz"
checksum=99060cefe4684be05daf8e82b414b78d15cbe2c723993db902681ab4017bbbe9
shlib_provides="libmagpie-clutter-0.so libmagpie-cogl-0.so
libmagpie-cogl-pango-0.so"
make_check=no # needs a full graphical session
# Upstream keeps pulling generated headers even though it can cause race
# conditions in meson/ninja
pre_build() {
ninja ${makejobs} -C build src/meta-dbus-display-config.h
}
post_install() {
# modify the pkg-config files to respect ${pc_sysrootdir} for variables that are
# meant to be called with 'pkg-config --variable'
vsed -e 's|^girdir.*|girdir=${pc_sysrootdir}/${libdir}/magpie-0|g' \
-i ${DESTDIR}/usr/lib/pkgconfig/libmagpie-0.pc
}
magpie-devel_package() {
depends="gtk+3-devel graphene-devel clutter-devel
libX11-devel libXtst-devel magpie-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/magpie-0/*.gir"
vmove "usr/lib/*.so"
}
}