From 5153a598c184a2cd4bcd193f5876960e95578ddb Mon Sep 17 00:00:00 2001 From: travankor Date: Tue, 8 Oct 2019 09:08:34 -0700 Subject: [PATCH] wf-shell: update to 0.3. --- srcpkgs/wf-shell/template | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/srcpkgs/wf-shell/template b/srcpkgs/wf-shell/template index ccfd8c574a0..d9163376795 100644 --- a/srcpkgs/wf-shell/template +++ b/srcpkgs/wf-shell/template @@ -1,16 +1,34 @@ # Template file for 'wf-shell' pkgname=wf-shell -version=0.1 +version=0.3 revision=1 +_gtklayershell_hash="d1f9d94be32f8cc61c0a53af7558146570f0fa9f" +_gvc_hash="468022b708fc1a56154f3b0cc5af3b938fb3e9fb" +create_wrksrc=yes +build_wrksrc=${pkgname}-${version} build_style=meson -hostmakedepends="pkg-config wayland-devel" -makedepends="gtkmm-devel libevdev-devel wlroots-devel wf-config" +hostmakedepends="gobject-introspection pkg-config wayland-devel" +makedepends="alsa-lib-devel pulseaudio-devel gtkmm-devel + gtk+3-devel libevdev-devel wlroots-devel wf-config-devel" short_desc="Wayfire shell with GTK-based panel and background client" maintainer="Young Jin Park " license="MIT" homepage="https://wayfire.org" -distfiles="https://github.com/WayfireWM/wf-shell/archive/${version}.tar.gz" -checksum=625637fddf58a6a1825980e68d156ddb377cf4aae9bf5d844fb15aefee4c6f4f +distfiles="https://github.com/WayfireWM/wf-shell/archive/${version}.tar.gz + https://github.com/wmww/gtk-layer-shell/archive/${_gtklayershell_hash}.tar.gz + https://github.com/GNOME/libgnome-volume-control/archive/${_gvc_hash}.tar.gz" +checksum="326c732415a10215997c0915741fd561a306412327fae123eab67f1af9ee41de + 0b66a943375e3c8f597ca293f8e0ca0cfa585163ed5a7dfb7956c02147c40c17 + 3ab63b0073bf21cab80b3974c9f6aa969ff1a4c4911aae6a09681c7d1b2b785f" +nocross="gobject-introspection from gtk-layer-shell" + +post_extract() { + _gtklayershell_dir="${build_wrksrc}/subprojects/gtk-layer-shell" + _gvc_dir="${build_wrksrc}/subprojects/gvc" + rmdir ${_gtklayershell_dir} ${_gvc_dir} + mv gtk-layer-shell-${_gtklayershell_hash} ${_gtklayershell_dir} + mv libgnome-volume-control-${_gvc_hash} ${_gvc_dir} +} post_install() { vlicense LICENSE