wok-next annotate atril/receipt @ rev 20096
Move existing MATE receipts to mate116/stuff (for those who need to update them to v.1.16 w/GTK+2). Update/add whole MATE desktop to current stable v.1.18.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Oct 28 17:50:52 2017 +0300 (2017-10-28) |
parents | b3396910c619 |
children | 757d032c55c7 |
rev | line source |
---|---|
al@20096 | 1 # SliTaz package receipt v2. |
yuripourre@18493 | 2 |
yuripourre@18493 | 3 PACKAGE="atril" |
al@20096 | 4 VERSION="1.18.1" |
al@20096 | 5 CATEGORY="office" |
al@20096 | 6 SHORT_DESC="A document viewer for MATE" |
yuripourre@18493 | 7 MAINTAINER="yuripourre@gmail.com" |
al@20096 | 8 LICENSE="GPL2" |
al@20096 | 9 WEB_SITE="https://github.com/mate-desktop/atril" |
al@20096 | 10 |
yuripourre@18493 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20096 | 12 WGET_URL="https://github.com/mate-desktop/atril/archive/v$VERSION.tar.gz" |
yuripourre@18493 | 13 |
al@20096 | 14 BUILD_DEPENDS="mate-common yelp-tools gtk-doc gtk+3-dev libsecret-dev caja-dev \ |
al@20096 | 15 gobject-introspection-dev poppler-dev libspectre-dev djvulibre-dev \ |
al@20096 | 16 webkit2gtk-dev itstool" |
al@20096 | 17 SPLIT="atril-comics atril-djvu atril-epub atril-pdf atril-psd atril-tiff atril \ |
al@20096 | 18 atril-dev" |
yuripourre@18493 | 19 |
al@20096 | 20 compile_rules() { |
al@19269 | 21 ./autogen.sh \ |
al@20096 | 22 --sysconfdir=/etc \ |
al@20096 | 23 --localstatedir=/var \ |
yuripourre@18493 | 24 $CONFIGURE_ARGS && |
yuripourre@18493 | 25 make && |
al@20096 | 26 make install |
yuripourre@18493 | 27 } |
yuripourre@18493 | 28 |
al@20096 | 29 genpkg_rules() { |
al@20096 | 30 case $PACKAGE in |
al@20096 | 31 *-comics) |
al@20096 | 32 copy comicsdocument.atril-backend libcomicsdocument.so |
al@20096 | 33 CAT="office|comix book backend" |
al@20096 | 34 DEPENDS="atril" |
al@20096 | 35 ;; |
al@20096 | 36 *-djvu) |
al@20096 | 37 copy djvudocument.atril-backend libdjvudocument.so |
al@20096 | 38 CAT="office|DjVu backend" |
al@20096 | 39 DEPENDS="atril djvulibre libjpeg-turbo" |
al@20096 | 40 ;; |
al@20096 | 41 *-epub) |
al@20096 | 42 copy epubdocument.atril-backend libepubdocument.so |
al@20096 | 43 CAT="office|ePub backend" |
al@20096 | 44 DEPENDS="atril" |
al@20096 | 45 ;; |
al@20096 | 46 *-pdf) |
al@20096 | 47 copy pdfdocument.atril-backend libpdfdocument.so |
al@20096 | 48 CAT="office|PDF backend" |
al@20096 | 49 DEPENDS="atril lcms2 libjpeg-turbo poppler tiff" |
al@20096 | 50 ;; |
al@20096 | 51 *-psd) |
al@20096 | 52 copy psdocument.atril-backend libpsdocument.so |
al@20096 | 53 CAT="office|PSD backend" |
al@20096 | 54 DEPENDS="atril ghostscript libspectre" |
al@20096 | 55 ;; |
al@20096 | 56 *-tiff) |
al@20096 | 57 copy tiffdocument.atril-backend libtiffdocument.so |
al@20096 | 58 CAT="office|TIFF backend" |
al@20096 | 59 DEPENDS="atril libjpeg-turbo tiff" |
al@20096 | 60 ;; |
al@20096 | 61 atril) |
al@20096 | 62 copy @std @rm |
al@20096 | 63 DEPENDS="at-spi2-atk at-spi2-core atk bzlib cairo caja dbus \ |
al@20096 | 64 fontconfig freetype gdk-pixbuf glib gtk+3 libepoxy libffi \ |
al@20096 | 65 libgcrypt libgpg-error libharfbuzz liblzma libpng16 libsecret \ |
al@20096 | 66 libsoup libsqlite3 libxml2 pango pcre util-linux-blkid \ |
al@20096 | 67 util-linux-mount util-linux-uuid webkit2gtk xorg-libICE xorg-libSM \ |
al@20096 | 68 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXdamage \ |
al@20096 | 69 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXi \ |
al@20096 | 70 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libxcb \ |
al@20096 | 71 xorg-pixman zlib" |
al@20096 | 72 TAGS="MATE pdf djvu" |
al@20096 | 73 ;; |
al@20096 | 74 *-dev) |
al@20096 | 75 copy @dev |
al@20096 | 76 DEPENDS="${SPLIT/$PACKAGE/} at-spi2-atk-dev at-spi2-core-dev \ |
al@20096 | 77 atk-dev bzip2-dev cairo-dev caja-dev dbus-dev djvulibre-dev \ |
al@20096 | 78 fontconfig-dev freetype-dev gdk-pixbuf-dev ghostscript-dev \ |
al@20096 | 79 glib-dev gtk+3-dev harfbuzz-dev libjpeg-turbo-dev lcms2-dev \ |
al@20096 | 80 libepoxy-dev libffi-dev libpng16-dev libsoup-dev libspectre-dev \ |
al@20096 | 81 libxml2-dev pango-dev pcre-dev poppler-dev sqlite3-dev tiff-dev \ |
al@20096 | 82 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ |
al@20096 | 83 webkit2gtk-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev \ |
al@20096 | 84 xorg-libXau-dev xorg-libXcomposite-dev xorg-libXdamage-dev \ |
al@20096 | 85 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXfixes-dev \ |
al@20096 | 86 xorg-libXi-dev xorg-libXinerama-dev xorg-libXrandr-dev \ |
al@20096 | 87 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" |
al@20096 | 88 TAGS="MATE" |
al@20096 | 89 ;; |
al@20096 | 90 esac |
yuripourre@18493 | 91 } |