wok-next diff spacefm/receipt @ rev 20872
perl-texi2html -> texi2html (because it don't contain Perl modules, and not exists on the (meta)cpan, and old, and...); gcompris: up (11.12 -> 17.05)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 04 02:05:23 2018 +0300 (2018-07-04) |
parents | 5c189fc65a98 |
children | f48456621a9d |
line diff
1.1 --- a/spacefm/receipt Wed Apr 25 22:28:07 2018 +0300 1.2 +++ b/spacefm/receipt Wed Jul 04 02:05:23 2018 +0300 1.3 @@ -1,44 +1,65 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="spacefm" 1.7 -VERSION="0.9.4" 1.8 -CATEGORY="system-tools" 1.9 -SHORT_DESC="Light, fast and easy to use file manager" 1.10 -MAINTAINER="pankso@slitaz.org" 1.11 +VERSION="1.0.6" 1.12 +CATEGORY="meta" 1.13 +SHORT_DESC="Multi-panel tabbed file and desktop manager" 1.14 +MAINTAINER="al.bobylev@gmail.com" 1.15 LICENSE="GPL3" 1.16 WEB_SITE="http://ignorantguru.github.io/spacefm/" 1.17 1.18 -TARBALL="$PACKAGE-$VERSION.tar.xz" 1.19 -WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL" 1.20 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.21 +WGET_URL="https://github.com/IgnorantGuru/spacefm/archive/$VERSION.tar.gz" 1.22 1.23 -BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \ 1.24 -xorg-libxcb-dev xorg-xcb-util-dev expat-dev gdk-pixbuf-dev intltool eudev-dev \ 1.25 -coreutils-file-special" 1.26 +BUILD_DEPENDS="intltool gtk+-dev gtk+3-dev startup-notification-dev eudev-dev \ 1.27 +ffmpegthumbnailer-dev" 1.28 +SPLIT="spacefm spacefm-gtk2:gtk2 spacefm-gtk3:gtk3" 1.29 1.30 compile_rules() { 1.31 - patch -Np1 -i $stuff/prefdlg.ui.diff 1.32 - patch -Np1 -i $stuff/settings.h.diff 1.33 - patch -Np1 -i $stuff/vfs-file-task.c.diff 1.34 + case $SET in 1.35 + '') rm -r $src; mkdir $install; return 0;; 1.36 + gtk2) SET_ARGS='--with-gtk2';; 1.37 + gtk3) SET_ARGS='--with-gtk3';; 1.38 + esac 1.39 1.40 ./configure \ 1.41 - --with-preferable-sudo="/usr/bin/subox" \ 1.42 - --disable-pixmaps \ 1.43 + --with-preferable-sudo=/usr/bin/subox \ 1.44 + $SET_ARGS \ 1.45 $CONFIGURE_ARGS && 1.46 fix libtool && 1.47 make && 1.48 - make install || return 1 1.49 + make MKDIRPROG='mkdir -p' install || return 1 1.50 1.51 - install -Dm644 $stuff/spacefm.conf $install/etc/spacefm/spacefm.conf 1.52 - install -Dm644 $stuff/xdg/autostart/spacefm.desktop $install/etc/autostart/spacefm.desktop 1.53 - install -Dm644 $stuff/xdg/spacefm/session $install/etc/xdg/spacefm/session 1.54 + install -Dm644 $stuff/spacefm-desktop-pref.desktop \ 1.55 + $install/usr/share/applications/spacefm-desktop-pref.desktop 1.56 + install -Dm644 $stuff/xdg/autostart/spacefm.desktop \ 1.57 + $install/etc/xdg/autostart/spacefm.desktop 1.58 + install -Dm644 $stuff/xdg/spacefm/session \ 1.59 + $install/etc/xdg/spacefm/session 1.60 1.61 - # /bin/bash --> /bin/sh 1.62 - sed -i 's|/bin/bash|/bin/sh|g' $install/usr/bin/spacefm-auth 1.63 + # useless file, it adds nothing useful to Freedesktop's shared-mime-info 1.64 + rm -r $install/usr/share/mime/ 1.65 } 1.66 1.67 genpkg_rules() { 1.68 - copy @std @ico 1.69 - DEPENDS="glibc-base glib util-linux-uuid xorg-libxcb xorg-xcb-util expat \ 1.70 - gtk+ startup-notification dbus dbus-glib gdk-pixbuf eudev bash udevil" 1.71 - TAGS="file-manager" 1.72 + case $PACKAGE in 1.73 + spacefm) 1.74 + CAT="meta|empty meta-package" 1.75 + DEPENDS="spacefm-gtk2" 1.76 + ;; 1.77 + spacefm-gtk2) 1.78 + copy @std @ico 1.79 + CAT="system-tools|with GTK+2 interface" 1.80 + DEPENDS="cairo eudev ffmpegthumbnailer gdk-pixbuf glib gtk+ pango \ 1.81 + startup-notification xorg-libX11 bash" 1.82 + TAGS="file-manager" 1.83 + ;; 1.84 + spacefm-gtk3) 1.85 + copy @std @ico 1.86 + CAT="system-tools|with GTK+3 interface" 1.87 + DEPENDS="cairo eudev ffmpegthumbnailer gdk-pixbuf glib gtk+3 pango \ 1.88 + startup-notification xorg-libX11 bash" 1.89 + TAGS="file-manager" 1.90 + ;; 1.91 + esac 1.92 }