summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-15 16:39:28 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-15 16:39:28 +0000
commita24ad667809fb18040aa41c196706c181eb05410 (patch)
treed5110f18e844913b5794f42b183c41b7bd86d5f5
parent1b9823b7ba90fc3083aa27daa0d72bb93b49c35b (diff)
downloadpackages-a24ad667809fb18040aa41c196706c181eb05410.tar.gz
packages-a24ad667809fb18040aa41c196706c181eb05410.tar.bz2
packages-a24ad667809fb18040aa41c196706c181eb05410.tar.xz
packages-a24ad667809fb18040aa41c196706c181eb05410.zip
user/evince: new package
-rw-r--r--user/evince/APKBUILD77
1 files changed, 77 insertions, 0 deletions
diff --git a/user/evince/APKBUILD b/user/evince/APKBUILD
new file mode 100644
index 000000000..9f9e7172e
--- /dev/null
+++ b/user/evince/APKBUILD
@@ -0,0 +1,77 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=evince
+pkgver=3.31.4
+pkgrel=0
+pkgdesc="GNOME document viewer"
+url="https://wiki.gnome.org/Apps/Evince"
+arch="all"
+license="GPL-2.0+ AND MIT AND BSD-3-Clause AND LGPL-2.0+ AND X11 AND LGPL-3.0-only AND Public-Domain AND LGPL-2.1+"
+depends="gst-plugins-base gst-plugins-good"
+makedepends="djvulibre-dev glib-dev gobject-introspection-dev
+ gsettings-desktop-schemas-dev gstreamer-dev gst-plugins-base-dev
+ gtk+3.0-dev itstool libarchive-dev libexecinfo-dev libgxps-dev
+ libsecret-dev libspectre-dev libxml2-dev libxml2-utils poppler-dev
+ tiff-dev zlib-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://ftp.gnome.org/pub/gnome/sources/evince/3.31/evince-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --without-gspell \
+ --disable-nautilus \
+ --enable-introspection \
+ --enable-ps
+
+ # our msgfmt(1) can't do --desktop
+ cp data/org.gnome.Evince.desktop.in data/org.gnome.Evince.desktop
+ cp data/org.gnome.Evince-previewer.desktop.in \
+ data/org.gnome.Evince-previewer.desktop
+ cp backend/pdf/evince-pdfdocument.metainfo.xml.in \
+ backend/pdf/evince-pdfdocument.metainfo.xml
+ cp backend/pdf/pdfdocument.evince-backend.desktop.in \
+ backend/pdf/pdfdocument.evince-backend
+ cp backend/djvu/evince-djvudocument.metainfo.xml.in \
+ backend/djvu/evince-djvudocument.metainfo.xml
+ cp backend/djvu/djvudocument.evince-backend.desktop.in \
+ backend/djvu/djvudocument.evince-backend
+ cp backend/tiff/evince-tiffdocument.metainfo.xml.in \
+ backend/tiff/evince-tiffdocument.metainfo.xml
+ cp backend/tiff/tiffdocument.evince-backend.desktop.in \
+ backend/tiff/tiffdocument.evince-backend
+ cp backend/comics/evince-comicsdocument.metainfo.xml.in \
+ backend/comics/evince-comicsdocument.metainfo.xml
+ cp backend/comics/comicsdocument.evince-backend.desktop.in \
+ backend/comics/comicsdocument.evince-backend
+ cp backend/xps/evince-xpsdocument.metainfo.xml.in \
+ backend/xps/evince-xpsdocument.metainfo.xml
+ cp backend/xps/xpsdocument.evince-backend.desktop.in \
+ backend/xps/xpsdocument.evince-backend
+ cp backend/ps/evince-psdocument.metainfo.xml.in \
+ backend/ps/evince-psdocument.metainfo.xml
+ cp backend/ps/psdocument.evince-backend.desktop.in \
+ backend/ps/psdocument.evince-backend
+ cp org.gnome.Evince.appdata.xml.in org.gnome.Evince.appdata.xml
+
+ # we now return you to your regularly scheduled build
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="bed3950fb5ec58855a915c9e06b158924fd07b41c022e281cbada30174d8918c69a29f3408d27db2f1df70e2ba6bc2c35a6f0d5075627397682b9602a6f94a0f evince-3.31.4.tar.xz"