wok-6.x rev 16379
ARM: add sox, libunique, libao, libnotify
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 15 03:14:22 2014 +0200 (2014-04-15) |
parents | 04916c01e7c9 |
children | bfa161af9356 |
files | flxine/receipt glib/receipt libao-dev/receipt libao/receipt libnotify-dev/receipt libnotify/receipt libunique-dev/receipt libunique/receipt midori/receipt sox-dev/receipt sox/receipt tinyxml/receipt wbar2/receipt |
line diff
1.1 --- a/flxine/receipt Tue Apr 15 02:04:52 2014 +0200 1.2 +++ b/flxine/receipt Tue Apr 15 03:14:22 2014 +0200 1.3 @@ -17,7 +17,7 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - export ac_cv_lib_pthread_pthread_create=yes 1.8 + #export ac_cv_lib_pthread_pthread_create=yes 1.9 ./bootstrap.sh && 1.10 ./configure $CONFIGURE_ARGS && 1.11 make && make install
2.1 --- a/glib/receipt Tue Apr 15 02:04:52 2014 +0200 2.2 +++ b/glib/receipt Tue Apr 15 03:14:22 2014 +0200 2.3 @@ -11,8 +11,6 @@ 2.4 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" 2.5 HOST_ARCH="i486 arm" 2.6 2.7 -CROSS_BUGS="arm: glib 2.32.4 error: cannot compute alignment of guint32" 2.8 - 2.9 DEPENDS="pcre libffi libxml2 elfutils" 2.10 BUILD_DEPENDS="pcre-dev libffi-dev gettext zlib-dev perl python-dev \ 2.11 elfutils-dev libxml2-dev libxml2-tools automake" 2.12 @@ -49,7 +47,7 @@ 2.13 --sysconfdir=/etc \ 2.14 --with-pcre=system \ 2.15 --build=i486-slitaz-linux \ 2.16 - --host=arm-slitaz-linux-gnueabi \ 2.17 + --host=$ARCH-slitaz-linux-gnueabi \ 2.18 --enable-shared=yes \ 2.19 --enable-static=yes ;; 2.20 esac &&
3.1 --- a/libao-dev/receipt Tue Apr 15 02:04:52 2014 +0200 3.2 +++ b/libao-dev/receipt Tue Apr 15 03:14:22 2014 +0200 3.3 @@ -8,6 +8,7 @@ 3.4 LICENSE="GPL2" 3.5 WANTED="libao" 3.6 WEB_SITE="http://downloads.xiph.org/releases/ao/" 3.7 +HOST_ARCH="i486 arm" 3.8 3.9 DEPENDS="pkg-config" 3.10
4.1 --- a/libao/receipt Tue Apr 15 02:04:52 2014 +0200 4.2 +++ b/libao/receipt Tue Apr 15 03:14:22 2014 +0200 4.3 @@ -9,6 +9,7 @@ 4.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 4.5 WEB_SITE="http://downloads.xiph.org/releases/ao/" 4.6 WGET_URL="$WEB_SITE/$TARBALL" 4.7 +HOST_ARCH="i486 arm" 4.8 4.9 DEPENDS="glibc-base alsa-lib" 4.10 BUILD_DEPENDS="alsa-lib-dev" 4.11 @@ -16,11 +17,11 @@ 4.12 # Rules to configure and make the package. 4.13 compile_rules() 4.14 { 4.15 - cd $src 4.16 - ./configure --prefix=/usr --enable-alsa09 --disable-arts \ 4.17 + ./configure \ 4.18 + --enable-alsa09 \ 4.19 + --disable-arts \ 4.20 $CONFIGURE_ARGS && 4.21 - make && 4.22 - make DESTDIR=$DESTDIR install 4.23 + make && make install 4.24 } 4.25 4.26 # Rules to gen a SliTaz package suitable for Tazpkg. 4.27 @@ -29,8 +30,6 @@ 4.28 mkdir -p $fs/usr/lib/ao/plugins-4 $fs/etc 4.29 cp -a $install/usr/lib/ao/plugins-4/*.so $fs/usr/lib/ao/plugins-4 4.30 cp -a $install/usr/lib/*.so* $fs/usr/lib 4.31 - 4.32 # Add conf file 4.33 - cp -a $stuff/libao.conf $fs/etc/ 4.34 - 4.35 + cp -a $stuff/libao.conf $fs/etc 4.36 }
5.1 --- a/libnotify-dev/receipt Tue Apr 15 02:04:52 2014 +0200 5.2 +++ b/libnotify-dev/receipt Tue Apr 15 03:14:22 2014 +0200 5.3 @@ -8,6 +8,7 @@ 5.4 LICENSE="LGPL2.1" 5.5 WANTED="libnotify" 5.6 WEB_SITE="http://www.galago-project.org/" 5.7 +HOST_ARCH="i486 arm" 5.8 5.9 DEPENDS="libnotify dbus-glib-dev pkg-config" 5.10
6.1 --- a/libnotify/receipt Tue Apr 15 02:04:52 2014 +0200 6.2 +++ b/libnotify/receipt Tue Apr 15 03:14:22 2014 +0200 6.3 @@ -9,18 +9,23 @@ 6.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 6.5 WEB_SITE="http://www.galago-project.org/" 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="dbus gtk+ dbus-glib xorg-libXdamage" 6.10 -BUILD_DEPENDS="dbus-dev gtk+-dev dbus-glib dbus-glib-dev perl expat-dev" 6.11 +BUILD_DEPENDS="dbus-dev gtk+-dev dbus-glib dbus-glib-dev expat-dev" 6.12 + 6.13 +# Handle cross compilation 6.14 +case "$ARCH" in 6.15 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS 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 - ./configure --prefix=/usr --infodir=/usr/share/info \ 6.23 - --mandir=/usr/share/man --disable-static $CONFIGURE_ARGS && 6.24 - make && 6.25 - make DESTDIR=$DESTDIR install 6.26 + ./configure \ 6.27 + --disable-static \ 6.28 + $CONFIGURE_ARGS && 6.29 + make && make install 6.30 } 6.31 6.32 # Rules to gen a SliTaz package suitable for Tazpkg.
7.1 --- a/libunique-dev/receipt Tue Apr 15 02:04:52 2014 +0200 7.2 +++ b/libunique-dev/receipt Tue Apr 15 03:14:22 2014 +0200 7.3 @@ -8,6 +8,7 @@ 7.4 LICENSE="LGPL2.1" 7.5 WEB_SITE="http://live.gnome.org/LibUnique" 7.6 WANTED="libunique" 7.7 +HOST_ARCH="i486 arm" 7.8 7.9 DEPENDS="libunique pkg-config" 7.10 7.11 @@ -15,8 +16,11 @@ 7.12 genpkg_rules() 7.13 { 7.14 mkdir -p $fs/usr/lib $fs/usr/share 7.15 + [ -d "$install/usr/share/gir-1.0" ] && \ 7.16 + cp -a $install/usr/share/gir-1.0 $fs/usr/share 7.17 + [ -d "$install/usr/lib/girepository-1.0" ] && \ 7.18 + cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib 7.19 cp -a $install/usr/include $fs/usr 7.20 cp -a $install/usr/lib/*.*a $fs/usr/lib 7.21 cp -a $install/usr/lib/pkgconfig $fs/usr/lib 7.22 - cp -a $install/usr/share/gir-1.0 $fs/usr/share 7.23 }
8.1 --- a/libunique/receipt Tue Apr 15 02:04:52 2014 +0200 8.2 +++ b/libunique/receipt Tue Apr 15 03:14:22 2014 +0200 8.3 @@ -9,21 +9,23 @@ 8.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 8.5 WEB_SITE="http://live.gnome.org/LibUnique" 8.6 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 8.7 -#HOST_ARCH="i486 arm" 8.8 +HOST_ARCH="i486 arm" 8.9 8.10 -DEPENDS="cairo gtk+ dbus dbus-glib" 8.11 -BUILD_DEPENDS="cairo-dev gtk+-dev glib-dev dbus-dev dbus-glib-dev expat-dev" 8.12 +DEPENDS="cairo gtk+" 8.13 +BUILD_DEPENDS="cairo-dev gtk+-dev glib-dev expat-dev" 8.14 8.15 case "$ARCH" in 8.16 - i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev perl" 8.17 + i?86) 8.18 + BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev perl" 8.19 export CFLAGS="$CFLAGS -Wno-error=unused-but-set-variable" 8.20 esac 8.21 8.22 # Rules to configure and make the package. 8.23 compile_rules() 8.24 { 8.25 - patch -Np1 -i $stuff/remove_G_CONST_RETURN.patch 8.26 + patch -Np1 -i $stuff/remove_G_CONST_RETURN.patch || return 1 8.27 ./configure \ 8.28 + --disable-dbus \ 8.29 $CONFIGURE_ARGS && 8.30 make && make install 8.31 } 8.32 @@ -33,6 +35,5 @@ 8.33 { 8.34 mkdir -p $fs/usr/lib 8.35 cp -a $install/usr/lib/*.so* $fs/usr/lib 8.36 - cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib 8.37 } 8.38
9.1 --- a/midori/receipt Tue Apr 15 02:04:52 2014 +0200 9.2 +++ b/midori/receipt Tue Apr 15 03:14:22 2014 +0200 9.3 @@ -11,12 +11,19 @@ 9.4 WEB_SITE="http://twotoasts.de/index.php/midori/" 9.5 #WGET_URL="http://midori-browser.org/downloads/$TARBALL" 9.6 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION:0:3}/$TARBALL" 9.7 +#HOST_ARCH="i486 arm" 9.8 + 9.9 GENERIC_MENUS="no" 9.10 +DEPENDS="libnotify libunique libsoup libwebkit xorg-libXss libxslt" 9.11 +BUILD_DEPENDS="glib-dev libnotify-dev gtk+-dev xorg-libXss-dev \ 9.12 +libwebkit-dev libunique-dev libsoup-dev libxslt-dev" 9.13 9.14 -DEPENDS="libnotify libunique libsoup libwebkit xorg-libXss" 9.15 -BUILD_DEPENDS="python vala glib-dev librsvg-apps libnotify-dev gtk+-dev \ 9.16 -xorg-libXss-dev libwebkit-dev libunique-dev desktop-file-utils-extra \ 9.17 -libsoup-dev cmake" 9.18 +# Handle cross compilation 9.19 +case "$ARCH" in 9.20 + i?86) 9.21 + BUILD_DEPENDS="$BUILD_DEPENDS cmake desktop-file-utils-extra 9.22 + librsvg-apps python vala" 9.23 +esac 9.24 9.25 # Rules to configure and make the package. 9.26 compile_rules()
10.1 --- a/sox-dev/receipt Tue Apr 15 02:04:52 2014 +0200 10.2 +++ b/sox-dev/receipt Tue Apr 15 03:14:22 2014 +0200 10.3 @@ -7,10 +7,10 @@ 10.4 MAINTAINER="pascal.bellard@slitaz.org" 10.5 LICENSE="GPL LGPL" 10.6 WEB_SITE="http://sox.sourceforge.net/" 10.7 +HOST_ARCH="i486 arm" 10.8 + 10.9 WANTED="sox" 10.10 10.11 -DEPENDS="sox" 10.12 - 10.13 # Rules to gen a SliTaz package suitable for Tazpkg. 10.14 genpkg_rules() 10.15 {
11.1 --- a/sox/receipt Tue Apr 15 02:04:52 2014 +0200 11.2 +++ b/sox/receipt Tue Apr 15 03:14:22 2014 +0200 11.3 @@ -9,19 +9,31 @@ 11.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 11.5 WEB_SITE="http://sox.sourceforge.net/" 11.6 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 11.7 +HOST_ARCH="i486 arm" 11.8 11.9 -DEPENDS="libltdl libsamplerate alsa-lib flac libid3tag libmad libvorbis libpng \ 11.10 -lame libmagic libgomp libao ffmpeg libsndfile" 11.11 -BUILD_DEPENDS="$DEPENDS ffmpeg-dev libsndfile-dev libid3tag-dev libmad-dev libvorbis-dev libpng-dev \ 11.12 - lame-dev libsamplerate-dev alsa-lib-dev flac-dev libao-dev libogg-dev libmagic-dev" 11.13 +DEPENDS="libltdl libsamplerate alsa-lib libid3tag libmad libvorbis \ 11.14 +libpng lame libmagic libgomp libao ffmpeg libsndfile" 11.15 +BUILD_DEPENDS="ffmpeg-dev libsndfile-dev libid3tag-dev libmad-dev \ 11.16 +libvorbis-dev libpng-dev lame-dev libsamplerate-dev alsa-lib-dev \ 11.17 +libao-dev libogg-dev libmagic-dev" 11.18 + 11.19 +# Handle SliTaz arch 11.20 +case "$SLITAZ_ARCH" in 11.21 + i?86) DEPENDS="$DEPENDS flac" 11.22 +esac 11.23 + 11.24 +# Handle cross compilation 11.25 +case "$ARCH" in 11.26 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" 11.27 +esac 11.28 11.29 # Rules to configure and make the package. 11.30 compile_rules() 11.31 { 11.32 - cd $src 11.33 - ./configure --prefix=/usr $CONFIGURE_ARGS && 11.34 - make && 11.35 - make DESTDIR=$DESTDIR install 11.36 + ./configure \ 11.37 + --with-distro="SliTaz" \ 11.38 + $CONFIGURE_ARGS && 11.39 + make && make install 11.40 } 11.41 11.42 # Rules to gen a SliTaz package suitable for Tazpkg.
12.1 --- a/tinyxml/receipt Tue Apr 15 02:04:52 2014 +0200 12.2 +++ b/tinyxml/receipt Tue Apr 15 03:14:22 2014 +0200 12.3 @@ -9,14 +9,14 @@ 12.4 TARBALL="${PACKAGE}_$VERSION.zip" 12.5 WEB_SITE="http://wiki.lxde.org/en/LXMusic" 12.6 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/2.6.2/$TARBALL" 12.7 -HOST_ARCH="i486 arm" 12.8 +#HOST_ARCH="i486 arm" 12.9 12.10 # Rules to configure and make the package. 12.11 compile_rules() 12.12 { 12.13 make && 12.14 ${HOST_SYSTEM}-g++ -m32 -fPIC "$CXXFLAGS" -shared \ 12.15 - -o libtinyxml.so.0.${pkgver} \ 12.16 + -o libtinyxml.so.0.2.6.2 \ 12.17 -Wl,-soname,libtinyxml.so.0 $(ls *.o | grep -v xmltest) 12.18 } 12.19
13.1 --- a/wbar2/receipt Tue Apr 15 02:04:52 2014 +0200 13.2 +++ b/wbar2/receipt Tue Apr 15 03:14:22 2014 +0200 13.3 @@ -4,7 +4,7 @@ 13.4 VERSION="2.3.4" 13.5 CATEGORY="system-tools" 13.6 SHORT_DESC="Quick launch bar." 13.7 -MAINTAINER="gokhlayeh@slitaz.org" 13.8 +MAINTAINER="pankso@slitaz.org" 13.9 LICENSE="GPL3" 13.10 SOURCE="wbar" 13.11 TARBALL="$SOURCE-$VERSION.tgz" 13.12 @@ -15,11 +15,11 @@ 13.13 HOST_ARCH="i486 arm" 13.14 13.15 DEPENDS="ttf-dejavu imlib2 gtk+ libglade" 13.16 -BUILD_DEPENDS="imlib2-dev file" 13.17 +BUILD_DEPENDS="imlib2-dev gtk+-dev libglade-dev" 13.18 13.19 # Handle cross compilation 13.20 case "$ARCH" in 13.21 - i?86) BUILD_DEPENDS="$BUILD_DEPENDS gtk+-dev libglade-dev intltool" ;; 13.22 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool file" ;; 13.23 arm*) ARCH_ARGS="--disable-wbar-config" ;; 13.24 esac 13.25 13.26 @@ -29,7 +29,7 @@ 13.27 ./configure \ 13.28 --exec-prefix=/usr \ 13.29 --sysconfdir=/etc \ 13.30 - $CONFIGURE_ARGS ${ARCH_ARGS} && 13.31 + $CONFIGURE_ARGS && 13.32 make && make install 13.33 } 13.34