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