wok-next annotate atril/receipt @ rev 20607
perdition: up 2.2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 19 15:57:59 2018 +0300 (2018-04-19) |
parents | 65c0fe17f3b9 |
children | 94b1769614d9 |
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 \ |
yuripourre@18493 | 22 $CONFIGURE_ARGS && |
yuripourre@18493 | 23 make && |
al@20096 | 24 make install |
yuripourre@18493 | 25 } |
yuripourre@18493 | 26 |
al@20096 | 27 genpkg_rules() { |
al@20096 | 28 case $PACKAGE in |
al@20096 | 29 *-comics) |
al@20096 | 30 copy comicsdocument.atril-backend libcomicsdocument.so |
al@20096 | 31 CAT="office|comix book backend" |
al@20096 | 32 DEPENDS="atril" |
al@20096 | 33 ;; |
al@20096 | 34 *-djvu) |
al@20096 | 35 copy djvudocument.atril-backend libdjvudocument.so |
al@20096 | 36 CAT="office|DjVu backend" |
al@20096 | 37 DEPENDS="atril djvulibre libjpeg-turbo" |
al@20096 | 38 ;; |
al@20096 | 39 *-epub) |
al@20096 | 40 copy epubdocument.atril-backend libepubdocument.so |
al@20096 | 41 CAT="office|ePub backend" |
al@20096 | 42 DEPENDS="atril" |
al@20096 | 43 ;; |
al@20096 | 44 *-pdf) |
al@20096 | 45 copy pdfdocument.atril-backend libpdfdocument.so |
al@20096 | 46 CAT="office|PDF backend" |
al@20096 | 47 DEPENDS="atril lcms2 libjpeg-turbo poppler tiff" |
al@20096 | 48 ;; |
al@20096 | 49 *-psd) |
al@20096 | 50 copy psdocument.atril-backend libpsdocument.so |
al@20096 | 51 CAT="office|PSD backend" |
al@20096 | 52 DEPENDS="atril ghostscript libspectre" |
al@20096 | 53 ;; |
al@20096 | 54 *-tiff) |
al@20096 | 55 copy tiffdocument.atril-backend libtiffdocument.so |
al@20096 | 56 CAT="office|TIFF backend" |
al@20096 | 57 DEPENDS="atril libjpeg-turbo tiff" |
al@20096 | 58 ;; |
al@20096 | 59 atril) |
al@20096 | 60 copy @std @rm |
al@20096 | 61 DEPENDS="at-spi2-atk at-spi2-core atk bzlib cairo caja dbus \ |
al@20096 | 62 fontconfig freetype gdk-pixbuf glib gtk+3 libepoxy libffi \ |
al@20096 | 63 libgcrypt libgpg-error libharfbuzz liblzma libpng16 libsecret \ |
al@20096 | 64 libsoup libsqlite3 libxml2 pango pcre util-linux-blkid \ |
al@20096 | 65 util-linux-mount util-linux-uuid webkit2gtk xorg-libICE xorg-libSM \ |
al@20096 | 66 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXdamage \ |
al@20096 | 67 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXi \ |
al@20096 | 68 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libxcb \ |
al@20096 | 69 xorg-pixman zlib" |
al@20096 | 70 TAGS="MATE pdf djvu" |
al@20096 | 71 ;; |
al@20096 | 72 *-dev) |
al@20096 | 73 copy @dev |
al@20096 | 74 DEPENDS="${SPLIT/$PACKAGE/} at-spi2-atk-dev at-spi2-core-dev \ |
al@20096 | 75 atk-dev bzip2-dev cairo-dev caja-dev dbus-dev djvulibre-dev \ |
al@20096 | 76 fontconfig-dev freetype-dev gdk-pixbuf-dev ghostscript-dev \ |
al@20096 | 77 glib-dev gtk+3-dev harfbuzz-dev libjpeg-turbo-dev lcms2-dev \ |
al@20096 | 78 libepoxy-dev libffi-dev libpng16-dev libsoup-dev libspectre-dev \ |
al@20096 | 79 libxml2-dev pango-dev pcre-dev poppler-dev sqlite3-dev tiff-dev \ |
al@20096 | 80 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ |
al@20096 | 81 webkit2gtk-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev \ |
al@20096 | 82 xorg-libXau-dev xorg-libXcomposite-dev xorg-libXdamage-dev \ |
al@20096 | 83 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXfixes-dev \ |
al@20096 | 84 xorg-libXi-dev xorg-libXinerama-dev xorg-libXrandr-dev \ |
al@20096 | 85 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" |
al@20096 | 86 TAGS="MATE" |
al@20096 | 87 ;; |
al@20096 | 88 esac |
yuripourre@18493 | 89 } |