wok-next view libfm/receipt @ rev 21572
updated cups (2.2.2 -> 2.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 22 17:06:55 2020 +0100 (2020-06-22) |
parents | e19ff076dc63 |
children |
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 COOKOPTS="force-arch" # different .h
18 BUILD_DEPENDS="automake gtk-doc libtool gettext-dev glib-dev intltool vala \
19 gtk2-dev pango-dev cairo-dev menu-cache-dev libexif-dev"
20 SPLIT="$PACKAGE-gtk $PACKAGE $PACKAGE-dev"
22 COPY_gtk="bin/ applications/ images/ ui/ libfm-gtk.so* gtk*.so"
24 DEPENDS_std="glib libexif libfm-extra menu-cache"
25 DEPENDS_gtk="$PACKAGE atk libcairo gdk-pixbuf glib gtk2 menu-cache pango"
26 DEPENDS_dev="$PACKAGE $PACKAGE-gtk libfm-extra-dev glib-dev gtk2-dev"
28 CAT_std="system-tools|core library"
29 CAT_gtk="system-tools|GTK+2 GUI library"
31 SUGGESTED_std="gvfs"
32 CONFIG_FILES_std="/etc/xdg/libfm/libfm.conf"
33 PROVIDE_gtk="lxshortcut"
35 COOKOPTS="!menus"
36 SIBLINGS="libfm-extra"
38 compile_rules() {
39 ./autogen.sh
41 ./configure \
42 --disable-static \
43 $CONFIGURE_ARGS &&
44 fix libtool &&
45 make &&
46 make install || return 1
48 # remove useless file
49 rm -r $install/usr/share/mime/
51 # remove libfm-extra package files
52 find $install \( -name 'libfm-extra*' -o -name 'fm-extra.h' -o \
53 -name 'fm-version.h' -o -name 'fm-xml-file.h' \) -delete
55 # define terminal
56 sed -i 2i\ 'terminal=terminal' $install/etc/xdg/libfm/libfm.conf
58 # set small & pane icon size to 16
59 sed -i 's|\(\(small\|pane\)_icon_size=\).*|\116|' $install/etc/xdg/libfm/libfm.conf
60 }