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