2014-09-01 20:41:08 +02:00
|
|
|
# Template file for 'atril'
|
|
|
|
pkgname=atril
|
2015-11-30 16:52:07 +01:00
|
|
|
version=1.12.1
|
2015-05-19 11:45:41 +02:00
|
|
|
revision=1
|
2014-09-01 20:41:08 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
build_options="gir"
|
2015-11-06 09:36:14 +01:00
|
|
|
configure_args="--with-gtk=3.0 --disable-schemas-compile --enable-djvu
|
2014-09-01 20:41:08 +02:00
|
|
|
--enable-dvi --enable-t1lib --enable-pixbuf --enable-comics --enable-xps
|
|
|
|
--disable-static $(vopt_enable gir introspection)"
|
2015-05-21 20:35:00 +02:00
|
|
|
hostmakedepends="pkg-config intltool itstool glib-devel
|
|
|
|
$(vopt_if gir gobject-introspection)"
|
2015-11-06 09:36:14 +01:00
|
|
|
makedepends="gtk+3-devel dbus-glib-devel libnotify-devel libunique-devel
|
2014-09-01 20:41:08 +02:00
|
|
|
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"
|
2015-02-10 11:57:25 +01:00
|
|
|
depends="dconf dbus mate-desktop mate-icon-theme"
|
2014-09-01 20:41:08 +02:00
|
|
|
short_desc="Simply a document viewer for MATE"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-09-01 20:41:08 +02:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://mate-desktop.org"
|
2015-05-19 11:45:41 +02:00
|
|
|
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
2015-11-30 16:52:07 +01:00
|
|
|
checksum=044c9bc3a1fbea78fcc044cc33cecefbde1f1981deda8a1fd1b763c73d0d3204
|
2014-09-01 20:41:08 +02:00
|
|
|
|
2015-05-21 20:32:08 +02:00
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2014-09-01 20:41:08 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|