33 lines
908 B
Bash
33 lines
908 B
Bash
# Template file for 'libgnt'
|
|
pkgname=libgnt
|
|
version=2.14.3
|
|
revision=1
|
|
build_style=meson
|
|
build_helper=gir
|
|
configure_args="-Dpython2=false"
|
|
hostmakedepends="pkg-config glib-devel gtk-doc"
|
|
makedepends="libxml2-devel ncurses-devel python3-devel glib-devel gtk-doc"
|
|
short_desc="GLib Ncurses Toolkit"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://keep.imfreedom.org/libgnt/"
|
|
distfiles="${SOURCEFORGE_SITE}/pidgin/libgnt/${version}/libgnt-${version}.tar.xz"
|
|
checksum=57f5457f72999d0bb1a139a37f2746ec1b5a02c094f2710a339d8bcea4236123
|
|
|
|
pre_configure() {
|
|
# disable doc for cross builds
|
|
if [ "$CROSS_BUILD" ]; then
|
|
vsed -i "/subdir('doc')/d" meson.build
|
|
fi
|
|
}
|
|
|
|
libgnt-devel_package() {
|
|
depends="libglib-devel libgnt>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/libgnt.so
|
|
}
|
|
}
|