wok rev 25745

parole: replaced dependency libxfconf by xfconf
author Hans-G?nter Theisgen
date Fri Aug 30 16:20:04 2024 +0100 (2 months ago)
parents ee0dcf2d36a0
children a753bd482ec9
files parole-dev/receipt parole-lang/receipt parole/description.txt parole/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/parole-dev/receipt	Fri Aug 30 16:20:04 2024 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="parole-dev"
     1.7 +VERSION="0.5.4"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Media Player for Xfce - development files."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://docs.xfce.org/apps/parole/start"
    1.13 +
    1.14 +DEPENDS="parole"
    1.15 +WANTED="parole"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	cook_copy_folders	include
    1.21 +	cook_copy_files		*.*a
    1.22 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/parole-lang/receipt	Fri Aug 30 16:20:04 2024 +0100
     2.3 @@ -0,0 +1,17 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="parole-lang"
     2.7 +VERSION="0.5.4"
     2.8 +CATEGORY="localization"
     2.9 +SHORT_DESC="Media Player for Xfce - localized messages."
    2.10 +MAINTAINER="maintainer@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="https://docs.xfce.org/apps/parole/start"
    2.13 +
    2.14 +WANTED="parole"
    2.15 +
    2.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.17 +genpkg_rules()
    2.18 +{
    2.19 +	cook_copy_folders	locale
    2.20 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/parole/description.txt	Fri Aug 30 16:20:04 2024 +0100
     3.3 @@ -0,0 +1,8 @@
     3.4 +Parole is a modern simple media player based on the GStreamer
     3.5 +framework and written to fit well in the Xfce desktop.
     3.6 +Parole features playback of local media files, optical disks
     3.7 +and live streams.
     3.8 +
     3.9 +Parole is extensible via plugins, for a complete how to write
    3.10 +a plugin for Parole see the Plugins API documentation and the
    3.11 +plugins directory which contains some useful examples.
     4.1 --- a/parole/receipt	Fri Aug 30 15:50:35 2024 +0100
     4.2 +++ b/parole/receipt	Fri Aug 30 16:20:04 2024 +0100
     4.3 @@ -6,51 +6,51 @@
     4.4  SHORT_DESC="Media Player for Xfce."
     4.5  MAINTAINER="erjo@slitaz.org"
     4.6  LICENSE="GPL2"
     4.7 +WEB_SITE="https://docs.xfce.org/apps/parole/start"
     4.8 +
     4.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.10 -WEB_SITE="https://goodies.xfce.org/projects/applications/parole"
    4.11 -WGET_URL="https://archive.xfce.org/src/apps/parole/${VERSION:0:3}/$TARBALL"
    4.12 +WGET_URL="http://archive.xfce.org/src/apps/parole/${VERSION%.*}/$TARBALL"
    4.13  
    4.14 -DEPENDS="libxfcegui4 libxfce4util dbus-glib libgio gst-plugins-base taglib \
    4.15 -startup-notification libnotify gstreamer util-linux-uuid"
    4.16 -BUILD_DEPENDS="intltool libxfcegui4-dev libxfce4util-dev dbus-glib-dev \
    4.17 -libgio-dev gst-plugins-base-dev taglib-dev startup-notification-dev \
    4.18 -libnotify-dev gstreamer-dev util-linux-uuid-dev coreutils-operations \
    4.19 -gtk+-dev libxml2-dev orc-dev libxfconf-dev libxfce4ui-dev"
    4.20 +SUGGESTED="parole-lang"
    4.21 +DEPENDS="dbus-glib gst-plugins-base gstreamer libgio libnotify libxfce4util
    4.22 +	libxfcegui4 startup-notification taglib util-linux-uuid"
    4.23 +BUILD_DEPENDS="coreutils-operations dbus-glib-dev gst-plugins-base-dev
    4.24 +	gstreamer-dev gtk+-dev intltool libgio-dev libnotify-dev
    4.25 +	libxfce4util-dev libxfcegui4-dev libxfce4ui-dev libxml2-dev orc-dev
    4.26 +	startup-notification-dev taglib-dev util-linux-uuid-dev xfconf-dev"
    4.27  
    4.28  # What is the latest version available today?
    4.29  current_version()
    4.30  {
    4.31 -	wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
    4.32 -	sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
    4.33 -	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
    4.34 +	wget -O - $WEB_SITE 2>/dev/null |
    4.35 +	sed '/released/!d;s| released.*||;s|.*parole ||'
    4.36  }
    4.37  
    4.38  # Rules to configure and make the package.
    4.39  compile_rules()
    4.40  {
    4.41 -	cd $src
    4.42 -	./configure \
    4.43 -		--libexecdir=/usr/lib/$PACKAGE \
    4.44 -		--disable-debug \
    4.45 -		--disable-power-manager-plugin \
    4.46 +	./configure				\
    4.47 +		--disable-debug			\
    4.48 +		--disable-power-manager-plugin	\
    4.49  		$CONFIGURE_ARGS &&
    4.50 -	make && make DESTDIR=$DESTDIR install
    4.51 +	make &&
    4.52 +	make install
    4.53  }
    4.54  
    4.55  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.56  genpkg_rules()
    4.57  {
    4.58 -	mkdir -p $fs/usr/share/icons \
    4.59 -		$fs/usr/share/pixmaps 
    4.60 -	
    4.61 -	cp -a $install/usr/bin $fs/usr
    4.62 -	cp -a $install/usr/lib $fs/usr
    4.63 -	cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
    4.64 -	cp -a $install/usr/share/parole $fs/usr/share
    4.65 -	
    4.66 -	cd $fs/usr/share/pixmaps
    4.67 -	ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
    4.68 -	
    4.69 +	cook_copy_folders	bin
    4.70 +	cook_copy_files		*.so*
    4.71 +	cook_copy_folders	gtk-2.0
    4.72 +	cook_copy_folders	icons
    4.73 +	cook_copy_folders	parole-plugins-0
    4.74 +
    4.75 +	mkdir	$fs/usr/share/pixmaps
    4.76 +	cd	$fs/usr/share/pixmaps
    4.77 +	ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png
    4.78 +	cd	-
    4.79 +
    4.80  	# Clean-up & strip
    4.81  	rm -rf $fs/usr/share/icons/hicolor/scalable
    4.82  	find $fs/usr/lib -exec strip -s {} 2> /dev/null \;