wok-current annotate libfm/receipt @ rev 21176
updated libexif and libexif-dev (0.6.20 -> 0.6.21)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 01 17:24:16 2019 +0100 (2019-04-01) |
parents | d0c0682403b4 |
children | 1ab1022f15c7 |
rev | line source |
---|---|
pascal@11205 | 1 # SliTaz package receipt. |
pascal@11205 | 2 |
pascal@11205 | 3 PACKAGE="libfm" |
psychomaniak@19559 | 4 VERSION="1.2.5" |
pascal@11205 | 5 CATEGORY="system-tools" |
al@17992 | 6 SHORT_DESC="File management support (core library)" |
pascal@11205 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14714 | 8 LICENSE="GPL2" |
pankso@15750 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@11897 | 10 WEB_SITE="http://pcmanfm.sourceforge.net" |
psychomaniak@19037 | 11 WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL" |
psychomaniak@19037 | 12 EXTRA_SOURCE_FILES="$PACKAGE-reversepatch_SF949_7daeaf3.u" # Really fix segfault |
psychomaniak@19037 | 13 WGET_URL2="https://github.com/lxde/libfm/commit/7daeaf3.patch" |
psychomaniak@19559 | 14 #WGETURL3="https://github.com/lxde/libfm/commit/2c00984.patch" #narrow icon cell |
pankso@16276 | 15 HOST_ARCH="i486 arm" |
al@16830 | 16 GENERIC_MENUS="no" |
pankso@11897 | 17 |
al@16830 | 18 SUGGESTED="gvfs" |
al@16830 | 19 DEPENDS="glib glibc-base libffi libgio menu-cache pcre zlib" |
pankso@16276 | 20 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \ |
pankso@16315 | 21 libxcb-dev xcb-util-dev menu-cache-dev expat-dev libgio-dev \ |
psychomaniak@19037 | 22 shared-mime-info-dev" # git-version deps: gtk-doc libtool automake |
pankso@16276 | 23 |
pankso@16276 | 24 case "$ARCH" in |
psychomaniak@18499 | 25 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool vala" |
pankso@16276 | 26 esac |
pascal@11205 | 27 |
pascal@11205 | 28 # Rules to configure and make the package. |
pascal@11205 | 29 compile_rules() |
pascal@11205 | 30 { |
psychomaniak@18499 | 31 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \ |
psychomaniak@18499 | 32 wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2 |
psychomaniak@18499 | 33 patch -p1 -R -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES |
psychomaniak@19037 | 34 # fix freeze when using custom action with "inode/directory": |
psychomaniak@19037 | 35 sed 's|TRUE, 0.5, 0.0|FALSE, 0.0f, 0.0f|' -i src/gtk/fm-standard-view.c |
pascal@11205 | 36 ./configure \ |
pascal@11205 | 37 --sysconfdir=/etc \ |
pascal@11205 | 38 $CONFIGURE_ARGS && |
pankso@11897 | 39 make && make install |
pascal@11205 | 40 } |
pascal@11205 | 41 |
pascal@11205 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11205 | 43 genpkg_rules() |
pascal@11205 | 44 { |
al@16830 | 45 mkdir -p $fs/usr/lib/libfm/modules $fs/usr/share/libfm |
pankso@11897 | 46 cp -a $install/etc $fs |
al@16830 | 47 cp -a $install/usr/lib/libfm.so* $fs/usr/lib |
al@16830 | 48 cp -a $install/usr/lib/libfm-extra.so* $fs/usr/lib |
al@16830 | 49 cp -a $install/usr/lib/libfm/modules/vfs* $fs/usr/lib/libfm/modules |
al@16830 | 50 cp -a $install/usr/share/libfm/*.list $fs/usr/share/libfm |
psychomaniak@18499 | 51 sed "s|application/deb;$|&application/x-xz-compressed-tar;|" -i \ |
psychomaniak@18497 | 52 $fs/usr/share/libfm/archivers.list |
al@17963 | 53 # define terminal |
al@17963 | 54 sed -i 2i\ 'terminal=terminal' $fs/etc/xdg/libfm/libfm.conf |
al@17963 | 55 # set small & pane icon size to 16 |
al@17963 | 56 sed -i 's|\(\(small\|pane\)_icon_size=\).*|\116|' $fs/etc/xdg/libfm/libfm.conf |
pascal@11205 | 57 } |