wok rev 25802

Add rtmidi
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 04 17:46:04 2024 +0000 (2 weeks ago)
parents ed23bcedcfbf
children a0294319a84f
files libsdl2-dev/receipt matchbox-window-manager/receipt rtmidi-dev/receipt rtmidi/receipt
line diff
     1.1 --- a/libsdl2-dev/receipt	Sat Nov 02 14:21:07 2024 +0100
     1.2 +++ b/libsdl2-dev/receipt	Mon Nov 04 17:46:04 2024 +0000
     1.3 @@ -15,5 +15,5 @@
     1.4  genpkg_rules()
     1.5  {
     1.6  	get_dev_files
     1.7 -	cook_copy_folders	aclocal
     1.8 +	cook_copy_folders	aclocal cmake
     1.9  }
     2.1 --- a/matchbox-window-manager/receipt	Sat Nov 02 14:21:07 2024 +0100
     2.2 +++ b/matchbox-window-manager/receipt	Mon Nov 04 17:46:04 2024 +0000
     2.3 @@ -8,7 +8,8 @@
     2.4  LICENSE="GPL2"
     2.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     2.6  WEB_SITE="http://matchbox-project.org/"
     2.7 -WGET_URL="https://www.mucross.com/downloads/tonga-linux/sources/GPL/matchbox-wm/$TARBALL"
     2.8 +#WGET_URL="https://www.mucross.com/downloads/tonga-linux/sources/GPL/matchbox-wm/$TARBALL"
     2.9 +WGET_URL="https://assets-2.balluff.com/gpl/mvblx-sources/GPL/matchbox-wm/$TARBALL"
    2.10  TAGS="window-manager"
    2.11  
    2.12  DEPENDS="gtk+ startup-notification libmatchbox"
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/rtmidi-dev/receipt	Mon Nov 04 17:46:04 2024 +0000
     3.3 @@ -0,0 +1,21 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="rtmidi-dev"
     3.7 +VERSION="6.0.0"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="C++ library for realtime MIDI input/ouput, development files"
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="MIT"
    3.12 +WEB_SITE="https://www.music.mcgill.ca/~gary/rtmidi/"
    3.13 +WANTED="rtmidi"
    3.14 +
    3.15 +DEPENDS="rtmidi pkg-config"
    3.16 +
    3.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.18 +genpkg_rules()
    3.19 +{
    3.20 +	mkdir -p $fs/usr/lib
    3.21 +	cp -a $install/usr/include $fs/usr
    3.22 +	cp -a $install/usr/lib/librtmidi*a $fs/usr/lib
    3.23 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.24 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/rtmidi/receipt	Mon Nov 04 17:46:04 2024 +0000
     4.3 @@ -0,0 +1,39 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="rtmidi"
     4.7 +VERSION="6.0.0"
     4.8 +CATEGORY="multimedia"
     4.9 +SHORT_DESC="C++ library for realtime MIDI input/ouput"
    4.10 +MAINTAINER="pascal.bellard@slitaz.org"
    4.11 +LICENSE="MIT"
    4.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.13 +WEB_SITE="https://www.music.mcgill.ca/~gary/rtmidi/"
    4.14 +WGET_URL="${WEB_SITE}release/$TARBALL"
    4.15 +
    4.16 +DEPENDS="gcc83-lib-base alsa-lib"
    4.17 +BUILD_DEPENDS="gcc83 alsa-lib-dev"
    4.18 +
    4.19 +# What is the latest version available today?
    4.20 +current_version()
    4.21 +{
    4.22 +	wget -O - $WEB_SITE 2> /dev/null | \
    4.23 +	sed '/release\/rtmidi/!d;s|.*rtmidi-||;s|.tar.gz.*||;q'
    4.24 +}
    4.25 +
    4.26 +# Rules to configure and make the package.
    4.27 +compile_rules()
    4.28 +{
    4.29 +	./configure	--prefix=/usr		\
    4.30 +			--with-alsa		\
    4.31 +			CC=gcc-83		\
    4.32 +			CXX=g++-83		\
    4.33 +			$CONFIGURE_ARGS
    4.34 +	make && make DESTDIR=$DESTDIR install
    4.35 +}
    4.36 +
    4.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.38 +genpkg_rules()
    4.39 +{
    4.40 +	mkdir -p $fs/usr/lib
    4.41 +	cp -a $install/usr/lib/librtmidi.so* $fs/usr/lib/
    4.42 +}