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