void-packages/srcpkgs/atril/template
Đoàn Trần Công Danh 0cc818cc3b atril: update to 1.24.0.
2020-02-24 19:18:19 +01:00

52 lines
1.5 KiB
Bash

# Template file for 'atril'
pkgname=atril
version=1.24.0
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-schemas-compile --enable-djvu --disable-synctex
--enable-dvi --enable-t1lib --enable-pixbuf --enable-comics --enable-xps
--disable-static $(vopt_enable gir introspection)"
hostmakedepends="glib-devel intltool itstool pkg-config automake libtool
gettext-devel perl-XML-Parser yelp-tools mate-common autoconf-archive
$(vopt_if gir 'gobject-introspection')"
makedepends="djvulibre-devel libSM-devel libcaja-devel libgxps-devel
libnotify-devel libsecret-devel libspectre-devel libunique-devel
mate-desktop-devel mate-icon-theme poppler-glib-devel webkit2gtk-devel"
depends="dbus mate-desktop mate-icon-theme"
short_desc="Simply a document viewer for MATE"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://mate-desktop.org"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=be245d445333de35bdad22e4299252e6b30851d94f02caef14100b78787fc724
patch_args=-Np1
build_options="gir"
build_options_default="gir"
pre_configure() {
autoreconf -fi
}
do_check() {
: dogtail does NOT support Void Linux
}
libatril_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libatril-devel_package() {
short_desc+=" - development files"
depends="libatril>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
}
}