wok-next view libfm/receipt @ rev 21085

Up: bison (3.2.3), cmake (3.13.2), curl (7.63.0), dbus (1.12.12), dialog (1.3-20181107), doxygen (1.8.14), e2fsprogs (1.44.5), glib (2.58.2), grep (3.3), itstool (2.0.5), jansson (2.12), jbig2dec (0.15), libfm-extra (1.3.1), libfm (1.3.1), libgpg-error (1.33), libidn (1.35), libjpeg-turbo (2.0.1), libtirpc (1.1.4), libuv (1.24.1), opus (1.3), opusfile (0.11), pango (1.42.4), pangomm (2.42.0), pcmanfm (1.3.1), rpcbind (1.2.5), rpcsvc-proto (1.4), sed (4.7), tcl (8.6.9), tslib (1.18), wget (1.20), wpa_supplicant (2.7)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 25 19:30:28 2018 +0200 (2018-12-25)
parents d5aab818505e
children e19ff076dc63
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libfm"
4 VERSION="1.3.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="File management support"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.lxde.org/en/Libfm"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxde/libfm.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://git.lxde.org/gitweb/?p=lxde/libfm.git;a=snapshot;h=$VERSION;sf=txz"
14 TARBALL_SHA1="34dc0795e8a8a2dec735fdedc7b7cfc5412d8174"
16 BUILD_DEPENDS="automake gtk-doc libtool gettext-dev glib-dev intltool vala \
17 gtk2-dev pango-dev cairo-dev menu-cache-dev libexif-dev"
18 SPLIT="$PACKAGE-gtk $PACKAGE $PACKAGE-dev"
20 COPY_gtk="bin/ applications/ images/ ui/ libfm-gtk.so* gtk*.so"
22 DEPENDS_std="glib libexif libfm-extra menu-cache"
23 DEPENDS_gtk="$PACKAGE atk cairo gdk-pixbuf glib gtk2 menu-cache pango"
24 DEPENDS_dev="$PACKAGE $PACKAGE-gtk libfm-extra-dev glib-dev gtk2-dev"
26 CAT_std="system-tools|core library"
27 CAT_gtk="system-tools|GTK+2 GUI library"
29 SUGGESTED_std="gvfs"
30 CONFIG_FILES_std="/etc/xdg/libfm/libfm.conf"
31 PROVIDE_gtk="lxshortcut"
33 COOKOPTS="!menus"
34 SIBLINGS="libfm-extra"
36 compile_rules() {
37 ./autogen.sh
39 ./configure \
40 --disable-static \
41 $CONFIGURE_ARGS &&
42 fix libtool &&
43 make &&
44 make install || return 1
46 # remove useless file
47 rm -r $install/usr/share/mime/
49 # remove libfm-extra package files
50 find $install \( -name 'libfm-extra*' -o -name 'fm-extra.h' -o \
51 -name 'fm-version.h' -o -name 'fm-xml-file.h' \) -delete
53 # define terminal
54 sed -i 2i\ 'terminal=terminal' $install/etc/xdg/libfm/libfm.conf
56 # set small & pane icon size to 16
57 sed -i 's|\(\(small\|pane\)_icon_size=\).*|\116|' $install/etc/xdg/libfm/libfm.conf
58 }