wok-next diff thunar/receipt @ rev 20463

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 06 11:29:35 2018 +0200 (2018-03-06)
parents 5d53e8ccbc8d
children 6d367d984b77
line diff
     1.1 --- a/thunar/receipt	Thu Jan 08 02:04:05 2015 +0200
     1.2 +++ b/thunar/receipt	Tue Mar 06 11:29:35 2018 +0200
     1.3 @@ -1,58 +1,56 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="thunar"
     1.8 -VERSION="1.4.0"
     1.9 +VERSION="1.6.6" # Xfce release 4.12: http://archive.xfce.org/xfce/4.12/src/
    1.10  CATEGORY="x-window"
    1.11 -SHORT_DESC="Thunar File Manager"
    1.12 +SHORT_DESC="Thunar file manager"
    1.13  MAINTAINER="erjo@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 -SOURCE="Thunar"
    1.16 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.17  WEB_SITE="http://www.xfce.org"
    1.18 +
    1.19 +TARBALL="Thunar-$VERSION.tar.bz2"
    1.20  WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.21 -TAGS="file-manager"
    1.22  
    1.23 -DEPENDS="libpng jpeg gtk+ libxfce4util dbus-glib libexo pcre libexif libgudev \
    1.24 -gamin libxfce4ui startup-notification util-linux-uuid libnotify"
    1.25 -BUILD_DEPENDS="libpng-dev jpeg-dev gtk+-dev libxml2-dev dbus-glib-dev \
    1.26 -libexo-dev zlib-dev intltool libgudev-dev libxfce4ui-dev libxfce4util-dev xcb-util-dev \
    1.27 -startup-notification-dev util-linux-uuid-dev libnotify-dev"
    1.28 +BUILD_DEPENDS="intltool xorg-libX11-dev xorg-libICE-dev exo-dev libxfce4ui-dev \
    1.29 +libgudev-dev libnotify-dev gtk-doc libexif-dev xfce4-panel-dev"
    1.30 +SPLIT="thunar-dev"
    1.31  
    1.32 -# Rules to configure and make the package.
    1.33 -compile_rules()
    1.34 -{
    1.35 +compile_rules() {
    1.36  	./configure \
    1.37 -		--prefix=/usr \
    1.38  		--sysconfdir=/etc \
    1.39 -		--enable-dbus \
    1.40 -		--enable-startup-notification \
    1.41 -		--enable-notifications \
    1.42 -		--enable-gio-unix \
    1.43 -		--enable-gudev \
    1.44 -		--libexecdir=/usr/lib \
    1.45 -		--enable-debug=no \
    1.46 +		--localstatedir=/var \
    1.47 +		--disable-debug \
    1.48 +		--enable-gtk-doc \
    1.49  		$CONFIGURE_ARGS &&
    1.50 -	make && make install
    1.51 +	make &&
    1.52 +	make install
    1.53  }
    1.54  
    1.55 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.56 -genpkg_rules()
    1.57 -{
    1.58 -	mkdir -p \
    1.59 -		$fs/usr/share \
    1.60 -		$fs/usr/lib/thunarx-2
    1.61 -
    1.62 -	cp -a $install/etc $fs
    1.63 -	cp -a $install/usr/bin $fs/usr
    1.64 -
    1.65 -	cp -a $install/usr/lib/Thunar $fs/usr/lib
    1.66 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.67 -	cp -a $install/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
    1.68 -	cp -a $install/usr/share/dbus-1 $fs/usr/share
    1.69 -
    1.70 -	cp -a $install/usr/share/applications $fs/usr/share
    1.71 -	cp -a $install/usr/share/icons $fs/usr/share
    1.72 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.73 -	cp -a $install/usr/share/Thunar $fs/usr/share
    1.74 +genpkg_rules() {
    1.75 +	case $PACKAGE in
    1.76 +		thunar)
    1.77 +			copy @std
    1.78 +			DEPENDS="atk bzlib cairo dbus dbus-glib exo fontconfig freetype \
    1.79 +			gdk-pixbuf glib gtk+ libexif libffi libgudev libharfbuzz liblzma \
    1.80 +			libnotify libpng16 libxfce4ui libxfce4util libxml2 pango pcre \
    1.81 +			startup-notification util-linux-blkid util-linux-mount \
    1.82 +			util-linux-uuid xfce4-panel xfconf xorg-libICE xorg-libSM \
    1.83 +			xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender \
    1.84 +			xorg-libxcb xorg-pixman xorg-xcb-util zlib"
    1.85 +			TAGS="Xfce file-manager"
    1.86 +			;;
    1.87 +		*-dev)
    1.88 +			copy @dev
    1.89 +			DEPENDS="thunar atk-dev bzlib cairo-dev dbus-dev dbus-glib-dev \
    1.90 +			exo-dev fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev \
    1.91 +			gtk+-dev harfbuzz-dev libexif-dev libffi-dev libpng16-dev \
    1.92 +			libxfce4ui-dev libxfce4util-dev libxml2-dev pango-dev pcre-dev \
    1.93 +			startup-notification-dev util-linux-blkid-dev util-linux-mount-dev \
    1.94 +			util-linux-uuid-dev xfce4-panel-dev xfconf-dev xorg-libICE-dev \
    1.95 +			xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
    1.96 +			xorg-libXext-dev xorg-libXrender-dev xorg-libxcb-dev \
    1.97 +			xorg-pixman-dev xorg-xcb-util-dev xz-dev zlib"
    1.98 +			TAGS="Xfce"
    1.99 +			;;
   1.100 +	esac
   1.101  }
   1.102 -