void-packages/srcpkgs/atril/template

44 lines
1.4 KiB
Bash
Raw Normal View History

2014-09-01 20:41:08 +02:00
# Template file for 'atril'
pkgname=atril
2015-09-01 09:11:38 +02:00
version=1.10.2
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"
configure_args="--with-gtk=2.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)"
2014-09-01 20:41:08 +02:00
makedepends="gtk+-devel dbus-glib-devel libnotify-devel libunique1-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"
2014-09-01 20:41:08 +02:00
short_desc="Simply a document viewer for MATE"
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-09-01 09:11:38 +02:00
checksum=d8252b205a9207bbb436e38d6e3e2793528808d6314d35ff508fd1d7f738840f
2014-09-01 20:41: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
}
}