32 lines
933 B
Bash
32 lines
933 B
Bash
# Template file for 'libdecor'
|
|
pkgname=libdecor
|
|
version=0.1.0
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Ddemo=false -Ddbus=$(vopt_if dbus enabled disabled)"
|
|
hostmakedepends="pkg-config wayland-devel"
|
|
makedepends="wayland-devel wayland-protocols pango-devel
|
|
$(vopt_if dbus dbus-devel)"
|
|
short_desc="Client-side decorations library for Wayland client"
|
|
maintainer="Arda Demir <ddmirarda@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://gitlab.gnome.org/jadahl/libdecor"
|
|
distfiles="https://gitlab.gnome.org/jadahl/libdecor/-/archive/${version}/libdecor-${version}.tar.gz"
|
|
checksum=1d5758cb49dcb9ceaa979ad14ceb6cdf39282af5ce12ebe6073dd193d6b2fb5e
|
|
|
|
build_options="dbus"
|
|
build_options_default="dbus"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
libdecor-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|