43 lines
1.4 KiB
Bash
43 lines
1.4 KiB
Bash
# Template file for 'atril'
|
|
pkgname=atril
|
|
version=1.14.2
|
|
revision=2
|
|
build_style=gnu-configure
|
|
build_options="gir"
|
|
configure_args="--with-gtk=3.0 --disable-schemas-compile --enable-djvu
|
|
--enable-dvi --enable-t1lib --enable-pixbuf --enable-comics --enable-xps
|
|
--disable-static $(vopt_enable gir introspection)"
|
|
hostmakedepends="pkg-config intltool itstool glib-devel
|
|
$(vopt_if gir gobject-introspection)"
|
|
makedepends="gtk+3-devel dbus-glib-devel libnotify-devel libunique-devel
|
|
libcaja-devel djvulibre-devel libspectre-devel libSM-devel mate-desktop-devel
|
|
poppler-glib-devel zlib-devel libxml2-devel libsecret-devel libgxps-devel
|
|
tiff-devel mate-icon-theme"
|
|
depends="dconf dbus mate-desktop mate-icon-theme"
|
|
short_desc="Simply a document viewer for MATE"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://mate-desktop.org"
|
|
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=9a8eadd85bda4539560f01a2127be4d6c358c07c6a744c09d1fdb5bff7ce14f4
|
|
|
|
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
|
|
}
|
|
}
|