43 lines
1.3 KiB
Bash
43 lines
1.3 KiB
Bash
# Template file for 'atril'
|
|
pkgname=atril
|
|
version=1.20.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-schemas-compile --enable-djvu
|
|
--enable-dvi --enable-t1lib --enable-pixbuf --enable-comics --enable-xps
|
|
--disable-static $(vopt_enable gir introspection)"
|
|
hostmakedepends="glib-devel intltool itstool pkg-config
|
|
$(vopt_if gir 'gobject-introspection') perl-XML-Parser"
|
|
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="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://mate-desktop.org"
|
|
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=79dbcdf663a7a40194ece1b1ac3304a35b6828b0a68eed286c0e9c319dc77903
|
|
|
|
build_options="gir"
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
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
|
|
}
|
|
}
|