wok-current view marlin/receipt @ rev 17284

Up libnfnetlink (1.0.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 27 12:04:27 2014 +0100 (2014-10-27)
parents
children b306abf02078
line source
1 # SliTaz package receipt.
3 PACKAGE="marlin"
4 VERSION="0.5"
5 CATEGORY="utilities"
6 SHORT_DESC="A sleek and fast GTK3 file manager"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 GPL3"
9 WEB_SITE="https://launchpad.net/marlin"
10 BRANCH="879"
11 TARBALL="$PACKAGE-$BRANCH.tar.bz2"
12 WGET_URL="bzr|lp:marlin"
14 DEPENDS="dbus-glib gtk+3 libgee libnotify-gtk3 libsqlite varka dconf"
15 SUGGESTED="tumbler ffmpegthumbnailer granite extended-actions"
16 BUILD_DEPENDS="bazaar cmake vala varka-dev gtk+3-dev libgee-dev sqlite-dev \
17 dbus-glib-dev libnotify-gtk3-dev dconf-dev tumbler-dev ffmpegthumbnailer-dev \
18 granite-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # gee-1.0 is old while gee-0.8 is latest ;)
24 sed -i 's|gee-1.0|gee-0.8|g' $(grep -l gee-1.0 $(find . -type f))
26 patch -p1 < $stuff/marlin-0.5.patch
27 patch -p1 < $stuff/marlin-icons.patch
29 mkdir build && cd build &&
30 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
31 make &&
32 make DESTDIR=$install install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p \
39 $fs/usr/bin \
40 $fs/usr/lib \
41 $fs/usr/share/locale
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/marlin $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/share/applications $fs/usr/share
46 cp -a $install/usr/share/dbus* $fs/usr/share
47 cp -a $install/usr/share/glib* $fs/usr/share
48 cp -a $install/usr/share/icons $fs/usr/share
49 cp -a $install/usr/share/marlin $fs/usr/share
50 cp -a $install/usr/share/pixmaps $fs/usr/share
52 # localization
53 . $WOK/slitaz-i18n/stuff/locale-pack.conf
54 for lang in $LOCALE_PACK; do
55 langf=$install/usr/share/locale/$lang
56 [ -d $langf ] && cp -a $langf $fs/usr/share/locale
57 done
59 # icons
60 mkdir -p $fs/usr/share/icons/hicolor/16x16
61 cp -a $stuff/apps $fs/usr/share/icons/hicolor/16x16
62 cp -a $stuff/marlin.png $fs/usr/share/pixmaps
63 }