wok-6.x annotate pcmanfm/receipt @ rev 23953
mrxvt-unicode: modified dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Tue Sep 22 16:18:32 2020 +0100 (2020-09-22) |
parents | aac6b4243788 |
children | ee53899c6189 |
rev | line source |
---|---|
pankso@255 | 1 # SliTaz package receipt. |
pankso@255 | 2 |
pascal@13351 | 3 PACKAGE="pcmanfm" |
al@21313 | 4 VERSION="1.3.1" |
pankso@255 | 5 CATEGORY="system-tools" |
pankso@255 | 6 SHORT_DESC="Light and easy to use file manager." |
al@21313 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pankso@16276 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@12544 | 10 WEB_SITE="http://pcmanfm.sourceforge.net/" |
psychomaniak@18130 | 11 #WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL" |
psychomaniak@18130 | 12 WGET_URL="http://git.lxde.org/gitweb/?p=lxde/pcmanfm.git;a=snapshot;h=$VERSION;sf=txz" |
al@17501 | 13 TAGS="file-manager" |
pankso@16276 | 14 HOST_ARCH="i486 arm" |
pankso@12544 | 15 |
pankso@16276 | 16 SUGGESTED="gvfs" |
pankso@12481 | 17 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \ |
al@16830 | 18 zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm-gtk" |
pankso@16276 | 19 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \ |
psychomaniak@18130 | 20 libxcb-dev xcb-util-dev libfm-dev menu-cache-dev expat-dev libfm-gtk gtk-doc libtool" |
pankso@16276 | 21 |
pankso@16276 | 22 # Handle cross compilation. |
pankso@16276 | 23 case "$ARCH" in |
pankso@16276 | 24 i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info intltool gvfs-dev" ;; |
pankso@16276 | 25 esac |
pankso@255 | 26 |
pankso@255 | 27 # Rules to configure and make the package. |
pankso@255 | 28 compile_rules() |
pankso@255 | 29 { |
psychomaniak@18756 | 30 patch -p1 -R -i $stuff/fix_desktop_menus.patch |
al@18545 | 31 patch -p1 -i $stuff/pcmanfm-network-icon.patch |
al@19317 | 32 patch -p1 -i $stuff/pcmanfm-handlers.patch |
al@19317 | 33 |
psychomaniak@18130 | 34 ./autogen.sh |
pankso@13349 | 35 ./configure $CONFIGURE_ARGS && |
pankso@12544 | 36 make && make install |
pankso@255 | 37 } |
pankso@255 | 38 |
pankso@255 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@255 | 40 genpkg_rules() |
pankso@255 | 41 { |
pankso@13349 | 42 mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm |
al@21313 | 43 cp -a $stuff/default $fs/etc/xdg/pcmanfm |
al@21313 | 44 cp -a $install/usr/bin $fs/usr |
pankso@12544 | 45 cp -a $install/usr/share/pcmanfm $fs/usr/share |
pankso@12561 | 46 |
al@16715 | 47 # XDG autostart desktop file (lxsession will use it automatically) |
pankso@12561 | 48 cp -a $stuff/autostart $fs/etc/xdg |
al@17294 | 49 |
paul@16800 | 50 cp -a $install/usr/share/applications $fs/usr/share |
al@17294 | 51 |
al@17294 | 52 # Add custom actions |
al@17294 | 53 mkdir -p $fs/usr/share/file-manager |
al@17294 | 54 cp -a $stuff/actions $fs/usr/share/file-manager |
al@17294 | 55 cp -a $stuff/gvfs-mount-archive.sh $fs/usr/bin |
al@17294 | 56 chmod +x $fs/usr/bin/gvfs-mount-archive.sh |
pankso@255 | 57 } |