void-packages/srcpkgs/wf-shell/template

37 lines
1.4 KiB
Bash

# Template file for 'wf-shell'
pkgname=wf-shell
version=0.3
revision=1
_gtklayershell_hash="d1f9d94be32f8cc61c0a53af7558146570f0fa9f"
_gvc_hash="468022b708fc1a56154f3b0cc5af3b938fb3e9fb"
create_wrksrc=yes
build_wrksrc=${pkgname}-${version}
build_style=meson
build_helper="gir"
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
xcb-util-errors-devel xcb-util-wm-devel"
short_desc="Wayfire shell with GTK-based panel and background client"
maintainer="Young Jin Park <youngjinpark20@gmail.com>"
license="MIT"
homepage="https://wayfire.org"
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"
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
}