girara: add notify build_option
This commit is contained in:
parent
608d5bbc05
commit
a7601996de
1 changed files with 6 additions and 3 deletions
|
@ -3,9 +3,9 @@ pkgname=girara
|
|||
version=0.3.3
|
||||
revision=1
|
||||
build_style=meson
|
||||
configure_args="-Dnotify=auto -Dtests=disabled"
|
||||
configure_args="$(vopt_if notify -Dnotify=enabled -Dnotify=disabled) -Dtests=disabled"
|
||||
hostmakedepends="pkg-config intltool doxygen glib-devel"
|
||||
makedepends="gtk+3-devel libnotify-devel libglib-devel json-c-devel"
|
||||
makedepends="gtk+3-devel $(vopt_if notify libnotify-devel) libglib-devel json-c-devel"
|
||||
short_desc="Library implementing a user interface that focuses on minimalism"
|
||||
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
||||
license="Zlib"
|
||||
|
@ -13,13 +13,16 @@ homepage="https://pwmt.org/projects/girara/"
|
|||
distfiles="https://git.pwmt.org/pwmt/${pkgname}/-/archive/${version}/${pkgname}-${version}.tar.gz"
|
||||
checksum=4456ddd6f0420fa6f1677a4a8f438f0401c38c2521585db3ee42e339a730798f
|
||||
|
||||
build_options="notify"
|
||||
build_options_default="notify"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
girara-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} gtk+3-devel json-c-devel
|
||||
libglib-devel pango-devel libnotify-devel"
|
||||
libglib-devel pango-devel $(vopt_if notify libnotify-devel)"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
|
|
Loading…
Reference in a new issue