54 lines
1.7 KiB
Bash
54 lines
1.7 KiB
Bash
# Template file for 'atril'
|
|
pkgname=atril
|
|
version=1.28.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
build_helper="gir"
|
|
configure_args="--disable-schemas-compile --enable-djvu --enable-synctex
|
|
--enable-dvi --enable-t1lib --enable-pixbuf --enable-comics --enable-xps
|
|
--disable-static $(vopt_enable gir introspection)"
|
|
hostmakedepends="glib-devel intltool itstool pkg-config libxml2
|
|
perl-XML-Parser yelp-tools mate-common $(vopt_if gir 'gobject-introspection')"
|
|
makedepends="djvulibre-devel libSM-devel libcaja-devel libgxps-devel
|
|
libnotify-devel libsecret-devel libspectre-devel texlive-devel cairo-devel
|
|
libglib-devel gtk+3-devel libxml2-devel zlib-devel tiff-devel libarchive-devel
|
|
mate-desktop-devel mate-icon-theme poppler-glib-devel libwebkit2gtk41-devel"
|
|
depends="dbus mate-desktop mate-icon-theme"
|
|
short_desc="Simply a document viewer for MATE"
|
|
maintainer="skmpz <dem.procopiou@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://mate-desktop.org"
|
|
changelog="https://raw.githubusercontent.com/mate-desktop/atril/master/NEWS"
|
|
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/atril-${version}.tar.xz"
|
|
checksum=ced4725f6e9b71c4ea63676bfc3cc3be09d29dba08aa7a7ab97964e0b4355162
|
|
make_check=no # dogtail
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
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
|
|
}
|
|
}
|
|
|
|
atril-dvi_package() {
|
|
short_desc+=" - DVI format support"
|
|
pkg_install() {
|
|
vmove usr/lib/atril/3/backends/dvidocument.atril-backend
|
|
vmove usr/lib/atril/3/backends/libdvidocument.so
|
|
}
|
|
}
|