wok view tumbler/receipt @ rev 22512
Up pkg-config (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 01 15:53:13 2020 +0100 (2020-01-01) |
parents | 6135577f4d08 |
children | 585161df03c0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tumbler"
4 VERSION="0.2.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="A D-Bus thumbnailing service based on the thumbnail management D-Bus specification."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://docs.xfce.org/xfce/thunar/tumbler"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="dbus-glib ffmpegthumbnailer libcurl libgsf poppler"
15 BUILD_DEPENDS="curl-dev dbus-glib-dev freetype-dev ffmpegthumbnailer-dev \
16 gdk-pixbuf-dev glib-dev gst-plugins-base-dev jpeg-dev \
17 lcms-dev libgio-dev libgsf-dev libpng-dev poppler-dev tiff-dev" # gstreamer-dev (v.1.0)
19 CONFIG_FILES="/etc/xdg/tumbler/tumbler.rc"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --sysconfdir=/etc \
26 --enable-debug=no \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p \
36 $fs/usr/lib \
37 $fs/usr/share/locale
39 cp -a $install/etc $fs
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/tumbler* $fs/usr/lib
42 cp -a $install/usr/share/dbus* $fs/usr/share
44 find $fs/usr/lib -name '*.la' -delete
46 # SliTaz locale settings
47 . $WOK/slitaz-i18n/stuff/locale-pack.conf
48 for lang in $LOCALE_PACK
49 do
50 langd=$install/usr/share/locale/$lang
51 [ -d $langd ] && cp -a $langd $fs/usr/share/locale
52 done
53 true
54 }