wok-next view spacefm/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | d5aab818505e |
children | 82b613cfd1e0 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="spacefm"
4 VERSION="1.0.6"
5 CATEGORY="meta"
6 SHORT_DESC="Multi-panel tabbed file and desktop manager"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://ignorantguru.github.io/spacefm/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/IgnorantGuru/spacefm/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="intltool gtk2-dev gtk3-dev startup-notification-dev eudev-dev \
15 ffmpegthumbnailer-dev"
16 SPLIT="$PACKAGE-gtk2:gtk2 $PACKAGE-gtk3:gtk3"
18 compile_rules() {
19 case $SET in
20 '') rm -r $src; mkdir $install; return 0;;
21 gtk2) SET_ARGS='--with-gtk2';;
22 gtk3) SET_ARGS='--with-gtk3';;
23 esac
25 ./configure \
26 --with-preferable-sudo=/usr/bin/subox \
27 $SET_ARGS \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make MKDIRPROG='mkdir -p' install || return 1
33 install -Dm644 $stuff/spacefm-desktop-pref.desktop \
34 $install/usr/share/applications/spacefm-desktop-pref.desktop
35 install -Dm644 $stuff/xdg/autostart/spacefm.desktop \
36 $install/etc/xdg/autostart/spacefm.desktop
37 install -Dm644 $stuff/xdg/spacefm/session \
38 $install/etc/xdg/spacefm/session
40 # useless file, it adds nothing useful to Freedesktop's shared-mime-info
41 rm -r $install/usr/share/mime/
42 }
44 genpkg_rules() {
45 case $PACKAGE in
46 spacefm)
47 CAT="meta|empty meta-package"
48 DEPENDS="spacefm-gtk2"
49 ;;
50 spacefm-gtk2)
51 copy @std @ico
52 CAT="system-tools|with GTK+2 interface"
53 DEPENDS="cairo eudev ffmpegthumbnailer gdk-pixbuf glib gtk2 pango \
54 startup-notification libx11 bash"
55 TAGS="file-manager"
56 ;;
57 spacefm-gtk3)
58 copy @std @ico
59 CAT="system-tools|with GTK+3 interface"
60 DEPENDS="cairo eudev ffmpegthumbnailer gdk-pixbuf glib gtk3 pango \
61 startup-notification libx11 bash"
62 TAGS="file-manager"
63 ;;
64 esac
65 }