wok-next annotate spacefm/receipt @ rev 21573

updated dansguardian (2.10.1.1 -> 2.12.0.3)
author Hans-G?nter Theisgen
date Mon Jun 22 17:38:17 2020 +0100 (2020-06-22)
parents 5669e8b3be70
children
rev   line source
al@20604 1 # SliTaz package receipt v2.
pankso@11898 2
pankso@11898 3 PACKAGE="spacefm"
al@20659 4 VERSION="1.0.6"
al@20659 5 CATEGORY="meta"
al@20659 6 SHORT_DESC="Multi-panel tabbed file and desktop manager"
al@20659 7 MAINTAINER="al.bobylev@gmail.com"
pascal@14999 8 LICENSE="GPL3"
al@20604 9 WEB_SITE="http://ignorantguru.github.io/spacefm/"
al@20604 10
al@20659 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20659 12 WGET_URL="https://github.com/IgnorantGuru/spacefm/archive/$VERSION.tar.gz"
pankso@11898 13
al@21017 14 BUILD_DEPENDS="intltool gtk2-dev gtk3-dev startup-notification-dev eudev-dev \
al@20659 15 ffmpegthumbnailer-dev"
al@21020 16 SPLIT="$PACKAGE-gtk2:gtk2 $PACKAGE-gtk3:gtk3"
pankso@11898 17
al@20604 18 compile_rules() {
al@20659 19 case $SET in
al@20659 20 '') rm -r $src; mkdir $install; return 0;;
al@20659 21 gtk2) SET_ARGS='--with-gtk2';;
al@20659 22 gtk3) SET_ARGS='--with-gtk3';;
al@20659 23 esac
pascal@13788 24
pankso@11898 25 ./configure \
al@20659 26 --with-preferable-sudo=/usr/bin/subox \
al@20659 27 $SET_ARGS \
pankso@11898 28 $CONFIGURE_ARGS &&
al@20604 29 fix libtool &&
al@20604 30 make &&
al@20659 31 make MKDIRPROG='mkdir -p' install || return 1
al@20604 32
al@20659 33 install -Dm644 $stuff/spacefm-desktop-pref.desktop \
al@20659 34 $install/usr/share/applications/spacefm-desktop-pref.desktop
al@20659 35 install -Dm644 $stuff/xdg/autostart/spacefm.desktop \
al@20659 36 $install/etc/xdg/autostart/spacefm.desktop
al@20659 37 install -Dm644 $stuff/xdg/spacefm/session \
al@20659 38 $install/etc/xdg/spacefm/session
al@20604 39
al@20659 40 # useless file, it adds nothing useful to Freedesktop's shared-mime-info
al@20659 41 rm -r $install/usr/share/mime/
pankso@11898 42 }
pankso@11898 43
al@20604 44 genpkg_rules() {
al@20659 45 case $PACKAGE in
al@20659 46 spacefm)
al@20659 47 CAT="meta|empty meta-package"
al@20659 48 DEPENDS="spacefm-gtk2"
al@20659 49 ;;
al@20659 50 spacefm-gtk2)
al@20659 51 copy @std @ico
al@20659 52 CAT="system-tools|with GTK+2 interface"
al@21105 53 DEPENDS="libcairo eudev ffmpegthumbnailer gdk-pixbuf glib gtk2 pango \
al@21078 54 startup-notification libx11 bash"
al@20659 55 TAGS="file-manager"
al@20659 56 ;;
al@20659 57 spacefm-gtk3)
al@20659 58 copy @std @ico
al@20659 59 CAT="system-tools|with GTK+3 interface"
al@21105 60 DEPENDS="libcairo eudev ffmpegthumbnailer gdk-pixbuf glib gtk3 pango \
al@21078 61 startup-notification libx11 bash"
al@20659 62 TAGS="file-manager"
al@20659 63 ;;
al@20659 64 esac
pankso@11898 65 }