wok-6.x rev 16271

ARM: add gmpc with needed libs
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 05 22:48:39 2014 +0200 (2014-04-05)
parents f2262a46d539
children ecb2ef71fecf
files gmpc-dev/receipt gmpc/receipt gob2-dev/receipt libmpd-dev/receipt libmpd/receipt libunique/receipt taglib-dev/receipt taglib/receipt
line diff
     1.1 --- a/gmpc-dev/receipt	Sat Apr 05 20:34:28 2014 +0000
     1.2 +++ b/gmpc-dev/receipt	Sat Apr 05 22:48:39 2014 +0200
     1.3 @@ -1,15 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gmpc-dev"
     1.7 -VERSION="0.19.1"
     1.8 +VERSION="11.8.16"
     1.9  CATEGORY="development"
    1.10  MAINTAINER="jozee@slitaz.org"
    1.11  LICENSE="GPL2"
    1.12  SHORT_DESC="gmpc devel library."
    1.13  WANTED="gmpc"
    1.14 -WEB_SITE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
    1.15 -
    1.16 -DEPENDS="pkg-config"
    1.17 +WEB_SITE="http://gmpclient.org"
    1.18 +HOST_ARCH="i486 arm"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
     2.1 --- a/gmpc/receipt	Sat Apr 05 20:34:28 2014 +0000
     2.2 +++ b/gmpc/receipt	Sat Apr 05 22:48:39 2014 +0200
     2.3 @@ -1,32 +1,33 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="gmpc"
     2.7 -VERSION="0.19.1"
     2.8 +VERSION="11.8.16"
     2.9  CATEGORY="multimedia"
    2.10  MAINTAINER="jozee@slitaz.org"
    2.11  LICENSE="GPL2"
    2.12  SHORT_DESC="A GTK2 client for MPD"
    2.13 -WEB_SITE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
    2.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15 +WEB_SITE="http://gmpclient.org"
    2.16 +WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/11.8/$TARBALL"
    2.17 +HOST_ARCH="i486 arm"
    2.18 +
    2.19  DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd sqlite libtasn1"
    2.20 -BUILD_DEPENDS="gob2 intltool libglade-dev libmpd libmpd-dev curl-dev sqlite-dev \
    2.21 +BUILD_DEPENDS="gob2-dev libglade-dev libmpd libmpd-dev curl-dev sqlite-dev \
    2.22  xorg-libSM-dev libsoup-dev libsexy-dev xcb-util-dev util-linux-uuid-dev"
    2.23 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.24 -WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION}/$TARBALL"
    2.25 -TAGS=""
    2.26  
    2.27 +case $ARCH in
    2.28 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS vala"
    2.29 +esac
    2.30  # Rules to configure and make the package.
    2.31 -
    2.32  compile_rules() {
    2.33 -  cd $src
    2.34    ./configure \
    2.35 -		--prefix=/usr \
    2.36  		--enable-system-libsexy \
    2.37 -		--disable-mmkeys \
    2.38  		--disable-shave \
    2.39 +		--disable-unique \
    2.40  		$CONFIGURE_ARGS &&
    2.41    make || return 1
    2.42 -  sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|'  data/${PACKAGE}.desktop
    2.43 -  make DESTDIR=$DESTDIR install
    2.44 +  sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop
    2.45 +  make install
    2.46  }
    2.47  	
    2.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.49 @@ -35,6 +36,7 @@
    2.50  	mkdir -p $fs/usr/share/icons/hicolor
    2.51  	cp -a $install/usr/bin $fs/usr
    2.52  	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    2.53 -	cp -a $install/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor
    2.54 +	cp -a $install/usr/share/icons/hicolor/16x16 \
    2.55 +		$fs/usr/share/icons/hicolor
    2.56  	
    2.57  }
     3.1 --- a/gob2-dev/receipt	Sat Apr 05 20:34:28 2014 +0000
     3.2 +++ b/gob2-dev/receipt	Sat Apr 05 22:48:39 2014 +0200
     3.3 @@ -8,6 +8,7 @@
     3.4  SHORT_DESC="gob2 devel library."
     3.5  WANTED="gob2"
     3.6  WEB_SITE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
     3.7 +HOST_ARCH="i486 arm"
     3.8  
     3.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.10  genpkg_rules()
     4.1 --- a/libmpd-dev/receipt	Sat Apr 05 20:34:28 2014 +0000
     4.2 +++ b/libmpd-dev/receipt	Sat Apr 05 22:48:39 2014 +0200
     4.3 @@ -1,13 +1,14 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="libmpd-dev"
     4.7 -VERSION="0.20.0"
     4.8 +VERSION="11.8.17"
     4.9  CATEGORY="development"
    4.10  MAINTAINER="jozee@slitaz.org"
    4.11  LICENSE="GPL2"
    4.12  SHORT_DESC="libmpd devel library."
    4.13  WANTED="libmpd"
    4.14 -WEB_SITE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
    4.15 +WEB_SITE="http://gmpclient.org/"
    4.16 +HOST_ARCH="i486 arm"
    4.17  
    4.18  DEPENDS="pkg-config"
    4.19  
     5.1 --- a/libmpd/receipt	Sat Apr 05 20:34:28 2014 +0000
     5.2 +++ b/libmpd/receipt	Sat Apr 05 22:48:39 2014 +0200
     5.3 @@ -1,15 +1,15 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="libmpd"
     5.7 -VERSION="0.20.0"
     5.8 +VERSION="11.8.17"
     5.9  CATEGORY="multimedia"
    5.10  MAINTAINER="jozee@slitaz.org"
    5.11  LICENSE="GPL2"
    5.12  SHORT_DESC="Signal based wrapper around libmpdclient"
    5.13 -WEB_SITE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
    5.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.15 -WGET_URL="http://download.sarine.nl/Programs/gmpc/$VERSION/$TARBALL"
    5.16 -TAGS=""
    5.17 +WEB_SITE="http://gmpclient.org/"
    5.18 +WGET_URL="http://download.sarine.nl/Programs/gmpc/11.8/$TARBALL"
    5.19 +HOST_ARCH="i486 arm"
    5.20  
    5.21  DEPENDS="glib"
    5.22  BUILD_DEPENDS="pkg-config glib-dev"
     6.1 --- a/libunique/receipt	Sat Apr 05 20:34:28 2014 +0000
     6.2 +++ b/libunique/receipt	Sat Apr 05 22:48:39 2014 +0200
     6.3 @@ -9,18 +9,22 @@
     6.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     6.5  WEB_SITE="http://live.gnome.org/LibUnique"
     6.6  WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
     6.7 +#HOST_ARCH="i486 arm"
     6.8  
     6.9 -DEPENDS="gtk+ cairo dbus-glib"
    6.10 -BUILD_DEPENDS="pkg-config gtk+-dev glib-dev gobject-introspection-dev perl expat-dev"
    6.11 +DEPENDS="cairo gtk+ dbus dbus-glib"
    6.12 +BUILD_DEPENDS="cairo-dev gtk+-dev glib-dev dbus-dev dbus-glib-dev expat-dev"
    6.13 +
    6.14 +case "$ARCH" in
    6.15 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev perl"
    6.16 +esac
    6.17  
    6.18  # Rules to configure and make the package.
    6.19  compile_rules()
    6.20  {
    6.21 -	cd $src
    6.22  	patch -Np1 -i $stuff/remove_G_CONST_RETURN.patch
    6.23  	./configure \
    6.24  		$CONFIGURE_ARGS &&
    6.25 -	make && make DESTDIR=$DESTDIR install
    6.26 +	make && make install
    6.27  }
    6.28  
    6.29  # Rules to gen a SliTaz package suitable for Tazpkg.
     7.1 --- a/taglib-dev/receipt	Sat Apr 05 20:34:28 2014 +0000
     7.2 +++ b/taglib-dev/receipt	Sat Apr 05 22:48:39 2014 +0200
     7.3 @@ -8,6 +8,7 @@
     7.4  LICENSE="LGPL2.1"
     7.5  WEB_SITE="http://developer.kde.org/~wheeler/taglib.html"
     7.6  WANTED="taglib"
     7.7 +HOST_ARCH="i486 arm"
     7.8  
     7.9  DEPENDS="taglib pkg-config"
    7.10  
     8.1 --- a/taglib/receipt	Sat Apr 05 20:34:28 2014 +0000
     8.2 +++ b/taglib/receipt	Sat Apr 05 22:48:39 2014 +0200
     8.3 @@ -10,24 +10,27 @@
     8.4  WEB_SITE="http://developer.kde.org/~wheeler/taglib.html"
     8.5  WGET_URL="http://developer.kde.org/~wheeler/files/src/$TARBALL"
     8.6  TAGS="multimedia music tag"
     8.7 +HOST_ARCH="i486 arm"
     8.8  
     8.9  DEPENDS="zlib gcc-lib-base"
    8.10 -BUILD_DEPENDS="zlib-dev cmake"
    8.11 +BUILD_DEPENDS="zlib-dev"
    8.12 +
    8.13 +case $ARCH in 
    8.14 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake" ;;
    8.15 +esac
    8.16  
    8.17  # Rules to configure and make the package.
    8.18  compile_rules()
    8.19  {
    8.20 -	cd $src
    8.21 -	mkdir build
    8.22 -	cd build
    8.23 -	cmake ../ \
    8.24 +	mkdir build && cd build
    8.25 +	cmake \
    8.26  		-DCMAKE_INSTALL_PREFIX=/usr \
    8.27  		-DCMAKE_BUILD_TYPE=Release \
    8.28  		-DENABLE_STATIC=OFF \
    8.29  		-DWITH_MP4=ON \
    8.30 -		-DWITH_ASF=ON
    8.31 -	make VERBOSE=1
    8.32 -	make install
    8.33 +		-DWITH_ASF=ON \
    8.34 +		.. &&
    8.35 +	make VERBOSE=1 && make install
    8.36  }
    8.37  
    8.38  # Rules to gen a SliTaz package suitable for Tazpkg.