wok-current view libfm/receipt @ rev 23887
glibc: fix for binutils 2.29 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 17 11:18:27 2020 +0000 (2020-07-17) |
parents | cad1580ae09a |
children | ee53899c6189 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libfm"
4 VERSION="1.3.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="File management support (core library)."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://pcmanfm.sourceforge.net"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/pcmanfm/$TARBALL"
14 SUGGESTED="gvfs"
15 DEPENDS="glib glibc-base libffi libgio menu-cache pcre zlib"
16 BUILD_DEPENDS="automake dbus-dev dbus-glib-dev expat-dev gtk-doc gtk+-dev
17 libgio-dev libtool libxcb-dev menu-cache-dev shared-mime-info-dev
18 startup-notification-dev xcb-util-dev" # git-version deps: gtk-doc libtool automake
20 GENERIC_MENUS="no"
22 HOST_ARCH="i486 arm"
24 case "$ARCH" in
25 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool vala"
26 esac
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./autogen.sh
33 patch -p1 -i $stuff/quick-exec.patch
35 # Do *not* treat desktop entries as executables!
36 patch --input $stuff/patches/fm-file-info.c-1.3.1 \
37 src/base/fm-file-info.c
39 ./configure \
40 --sysconfdir=/etc \
41 --disable-static \
42 $CONFIGURE_ARGS &&
43 make &&
44 make install || return 1
46 # remove libfm-extra files (already provided by libfm-extra package)
47 rm $install/usr/lib/libfm-extra.*
48 rm $install/usr/lib/pkgconfig/libfm-extra.pc
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 mkdir -p $fs/usr/lib/libfm/modules
55 mkdir -p $fs/usr/share/libfm
57 cp -a $install/etc $fs
58 cp -a $install/usr/lib/libfm.so* $fs/usr/lib
59 cp -a $install/usr/lib/libfm/modules/vfs* $fs/usr/lib/libfm/modules
60 cp -a $install/usr/share/libfm/*.list $fs/usr/share/libfm
62 # define terminal
63 sed -i 2i\ 'terminal=terminal' \
64 $fs/etc/xdg/libfm/libfm.conf
65 # set small and pane icon size to 16
66 sed -i 's|\(\(small\|pane\)_icon_size=\).*|\116|' \
67 $fs/etc/xdg/libfm/libfm.conf
68 }