From 30df5320e12f7326d913b6899cb9eeff9e123168 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 21 Oct 2011 23:18:22 +0200 Subject: [PATCH] New package: evince-3.2.1. --- srcpkgs/evince-devel | 1 + srcpkgs/evince/depends | 2 + srcpkgs/evince/evince-devel.template | 17 ++++++ srcpkgs/evince/libevince.template | 23 ++++++++ srcpkgs/evince/template | 68 ++++++++++++++++++++++++ srcpkgs/libevince | 1 + xbps-src/common/mapping_shlib_binpkg.txt | 2 + 7 files changed, 114 insertions(+) create mode 120000 srcpkgs/evince-devel create mode 100644 srcpkgs/evince/depends create mode 100644 srcpkgs/evince/evince-devel.template create mode 100644 srcpkgs/evince/libevince.template create mode 100644 srcpkgs/evince/template create mode 120000 srcpkgs/libevince diff --git a/srcpkgs/evince-devel b/srcpkgs/evince-devel new file mode 120000 index 0000000000..64d84cfea2 --- /dev/null +++ b/srcpkgs/evince-devel @@ -0,0 +1 @@ +evince \ No newline at end of file diff --git a/srcpkgs/evince/depends b/srcpkgs/evince/depends new file mode 100644 index 0000000000..214cb4e13b --- /dev/null +++ b/srcpkgs/evince/depends @@ -0,0 +1,2 @@ +abi_depends=">=3.2.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/evince/evince-devel.template b/srcpkgs/evince/evince-devel.template new file mode 100644 index 0000000000..acb1181e9c --- /dev/null +++ b/srcpkgs/evince/evince-devel.template @@ -0,0 +1,17 @@ +# Template file for 'evince-devel'. +# +short_desc="${sourcepkg} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run gtk+3-devel +Add_dependency run libevince + +do_install() +{ + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib + vmove usr/share/gir-1.0 usr/share + vmove usr/share/gtk-doc usr/share +} diff --git a/srcpkgs/evince/libevince.template b/srcpkgs/evince/libevince.template new file mode 100644 index 0000000000..849590ad0e --- /dev/null +++ b/srcpkgs/evince/libevince.template @@ -0,0 +1,23 @@ +# Template file for 'libevince'. +# +short_desc="${short_desc} - runtime libraries" +long_desc="${long_desc} + + This package contains the runtime libraries." + +Add_dependency run glibc +Add_dependency run gtk+3 +Add_dependency run atk +Add_dependency run pango +Add_dependency run gdk-pixbuf +Add_dependency run cairo +Add_dependency run freetype +Add_dependency run fontconfig +Add_dependency run glib +Add_dependency run zlib + +do_install() +{ + vmove "usr/lib/*.so*" usr/lib + vmove usr/lib/girepository-1.0 usr/lib +} diff --git a/srcpkgs/evince/template b/srcpkgs/evince/template new file mode 100644 index 0000000000..67ef41354b --- /dev/null +++ b/srcpkgs/evince/template @@ -0,0 +1,68 @@ +# Template file for 'evince' +pkgname=evince +version=3.2.1 +distfiles="${GNOME_SITE}/$pkgname/3.2/$pkgname-$version.tar.xz" +build_style=gnu_configure +configure_args="--enable-introspection --disable-schemas-compile +--enable-comics --disable-scrollkeeper --enable-xps --disable-t1lib +--disable-tests --disable-static" +short_desc="GNOME Document viewer for multiple document formats" +maintainer="Juan RP " +homepage="http://projects.gnome.org/evince/" +license="GPL-2" +checksum=9db61a39c977eb939deaee3ed1e66937f15532f46de988cacd5b638f3960ed35 +long_desc=" + Evince is specifically designed to support the file following formats: + * PDF + * Postscript + * djvu + * tiff + * dvi + * XPS + * SyncTex support with gedit + * comics books (cbr,cbz,cb7 and cbt)" + +# XXX missing packages for DVI and Postscript backends. +subpackages="lib${pkgname} ${pkgname}-devel" +gtk_iconcache_dirs="/usr/share/icons/hicolor" + +Add_dependency run glibc +Add_dependency run libevince +Add_dependency run gtk+3 +Add_dependency run atk +Add_dependency run glib +Add_dependency run pango +Add_dependency run gdk-pixbuf +Add_dependency run cairo +Add_dependency run freetype +Add_dependency run fontconfig +Add_dependency run poppler-glib +Add_dependency run poppler +Add_dependency run libxml2 +Add_dependency run zlib +Add_dependency run libstdc++ +Add_dependency run libgcc +Add_dependency run libdjvulibre +Add_dependency run tiff +Add_dependency run libgxps +Add_dependency run libarchive +Add_dependency run libnautilus +Add_dependency run libSM +Add_dependency run libICE +Add_dependency run libX11 +Add_dependency run libgnome-keyring + +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build gnome-doc-utils +Add_dependency build gobject-introspection +Add_dependency build nautilus-devel +Add_dependency build poppler-glib-devel +Add_dependency build libgnome-keyring-devel +Add_dependency build libxml2-devel +Add_dependency build djvulibre-devel +Add_dependency build libgxps-devel + +Add_dependency full desktop-file-utils +Add_dependency full hicolor-icon-theme +Add_dependency full gnome-icon-theme diff --git a/srcpkgs/libevince b/srcpkgs/libevince new file mode 120000 index 0000000000..64d84cfea2 --- /dev/null +++ b/srcpkgs/libevince @@ -0,0 +1 @@ +evince \ No newline at end of file diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 9ff6a6b429..90ae45e18d 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -896,3 +896,5 @@ libdjvulibre.so.21 libdjvulibre djvulibre-devel libgxps.so.1 libgxps libgxps-devel libt1.so.5 libt1 t1lib-devel libt1x.so.5 libt1 t1lib-devel +libevdocument3.so.3 libevince evince-devel +libevview3.so.3 libevince evince-devel