wok-next annotate spacefm/receipt @ rev 20623

Our udev is old, current udev is a part of systemd; use eudev instead of (old) udev
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 25 22:28:07 2018 +0300 (2018-04-25)
parents 10df65db91ad
children b1a1deb20f42
rev   line source
al@20604 1 # SliTaz package receipt v2.
pankso@11898 2
pankso@11898 3 PACKAGE="spacefm"
devl547@16200 4 VERSION="0.9.4"
pankso@11898 5 CATEGORY="system-tools"
al@20604 6 SHORT_DESC="Light, fast and easy to use file manager"
pankso@11898 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
al@20604 9 WEB_SITE="http://ignorantguru.github.io/spacefm/"
al@20604 10
pankso@11898 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@11898 12 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL"
pankso@11898 13
pankso@11898 14 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
al@20623 15 xorg-libxcb-dev xorg-xcb-util-dev expat-dev gdk-pixbuf-dev intltool eudev-dev \
pankso@13497 16 coreutils-file-special"
pankso@11898 17
al@20604 18 compile_rules() {
al@17261 19 patch -Np1 -i $stuff/prefdlg.ui.diff
al@17261 20 patch -Np1 -i $stuff/settings.h.diff
pascal@13788 21 patch -Np1 -i $stuff/vfs-file-task.c.diff
pascal@13788 22
pankso@11898 23 ./configure \
pankso@15959 24 --with-preferable-sudo="/usr/bin/subox" \
pankso@13497 25 --disable-pixmaps \
pankso@11898 26 $CONFIGURE_ARGS &&
al@20604 27 fix libtool &&
al@20604 28 make &&
al@20604 29 make install || return 1
al@20604 30
al@20604 31 install -Dm644 $stuff/spacefm.conf $install/etc/spacefm/spacefm.conf
al@20604 32 install -Dm644 $stuff/xdg/autostart/spacefm.desktop $install/etc/autostart/spacefm.desktop
al@20604 33 install -Dm644 $stuff/xdg/spacefm/session $install/etc/xdg/spacefm/session
al@20604 34
al@20604 35 # /bin/bash --> /bin/sh
al@20604 36 sed -i 's|/bin/bash|/bin/sh|g' $install/usr/bin/spacefm-auth
pankso@11898 37 }
pankso@11898 38
al@20604 39 genpkg_rules() {
al@20604 40 copy @std @ico
al@20604 41 DEPENDS="glibc-base glib util-linux-uuid xorg-libxcb xorg-xcb-util expat \
al@20623 42 gtk+ startup-notification dbus dbus-glib gdk-pixbuf eudev bash udevil"
al@20604 43 TAGS="file-manager"
pankso@11898 44 }