wok-next view libfm/receipt @ rev 20639
Up libwebp (1.0.0), libfm-extra + libfm + pcmanfm (1.3.0), lxpanel (0.9.3+25)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Apr 30 11:15:25 2018 +0300 (2018-04-30) |
parents | 757d032c55c7 |
children | cedb51a0e63e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libfm"
4 VERSION="1.3.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="File management support"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.lxde.org/en/Libfm"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxde/libfm.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL"
15 BUILD_DEPENDS_arm="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
16 xorg-libxcb-dev xorg-xcb-util-dev menu-cache-dev expat-dev glib-dev \
17 shared-mime-info-dev"
18 BUILD_DEPENDS="vala intltool gtk+-dev menu-cache-dev libexif-dev"
19 SIBLINGS="libfm-extra"
20 SPLIT="libfm-gtk libfm-dev"
22 compile_rules() {
23 ./configure \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install || return 1
30 # remove useless file
31 rm -r $install/usr/share/mime/
32 # remove libfm-extra package files
33 find $install \( -name 'libfm-extra*' -o -name 'fm-extra.h' -o \
34 -name 'fm-version.h' -o -name 'fm-xml-file.h' \) -delete
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 libfm)
40 copy etc/ libfm.so* vfs*.so *.list
41 # define terminal
42 sed -i 2i\ 'terminal=terminal' $fs/etc/xdg/libfm/libfm.conf
43 # set small & pane icon size to 16
44 sed -i 's|\(\(small\|pane\)_icon_size=\).*|\116|' \
45 $fs/etc/xdg/libfm/libfm.conf
47 CAT="system-tools|core library"
48 DEPENDS="glib libexif libfm-extra menu-cache"
49 GENERIC_MENUS="no"
50 SUGGESTED="gvfs"
51 CONFIG_FILES="/etc/xdg/libfm/libfm.conf"
52 ;;
53 libfm-gtk)
54 copy bin/ applications/ images/ ui/ libfm-gtk.so* gtk*.so
55 CAT="system-tools|GTK+2 GUI library"
56 DEPENDS="libfm atk cairo gdk-pixbuf glib gtk+ menu-cache pango"
57 PROVIDE="lxshortcut"
58 ;;
59 libfm-dev)
60 copy @dev
61 DEPENDS="libfm libfm-gtk libfm-extra-dev \
62 glib-dev gtk+-dev"
63 ;;
64 esac
65 }