wok-current rev 25724

Up audacity to 3.0.2, fix openssh/wxWidgets build
author Stanislas Leduc <shann@slitaz.org>
date Tue Jun 25 14:51:14 2024 +0000 (6 months ago)
parents 8d53169054d1
children 292aeec8627f 5926178cd6fa 73c50377bac9
files audacity/receipt openssh/receipt wxWidgets/receipt
line diff
     1.1 --- a/audacity/receipt	Mon Jun 24 07:43:55 2024 +0000
     1.2 +++ b/audacity/receipt	Tue Jun 25 14:51:14 2024 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="audacity"
     1.7 -VERSION="2.3.2"
     1.8 +VERSION="3.0.2"
     1.9  CATEGORY="multimedia"
    1.10  TAGS="sound audio recorder editor"
    1.11  SHORT_DESC="A free multi-track audio editor and recorder."
    1.12 @@ -13,11 +13,12 @@
    1.13  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14  WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$TARBALL"
    1.15  
    1.16 -DEPENDS="alsa-lib ffmpeg flac gcc49-lib-base imlib2 lame libatomic \
    1.17 -	libid3tag libmad libsndfile libvorbis wxWidgets xorg-libXxf86vm"
    1.18 +DEPENDS="alsa-lib ffmpeg flac imlib2 lame libatomic \
    1.19 +	libid3tag libmad libsndfile libvorbis xorg-libXxf86vm"
    1.20  BUILD_DEPENDS="alsa-lib-dev bash cmake expat-dev ffmpeg-dev flac-dev \
    1.21 -	gcc49 lame-dev libatomic libmad-dev libsndfile-dev libtool \
    1.22 -	libvorbis-dev portaudio-dev wxWidgets-dev"
    1.23 +	lame-dev libid3tag-dev portmidi libatomic libmad-dev libtool \
    1.24 +	libsndfile-dev libtool python3 gtk+-dev glib-dev libvorbis-dev \
    1.25 +	portaudio-dev git"
    1.26  
    1.27  current_version()
    1.28  {
    1.29 @@ -28,18 +29,21 @@
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	export	CC=gcc-49
    1.34 -	export	CXX=g++-49
    1.35  	export	SHELL=/bin/bash
    1.36  	export	CONFIG_SHELL=/bin/bash
    1.37  	export	LDFLAGS="$LDFLAGS -l:libatomic.so.1"
    1.38  
    1.39 -	./configure				\
    1.40 -		--prefix=/usr			\
    1.41 -		--infodir=/usr/share/info	\
    1.42 -		--mandir=/usr/share/man		\
    1.43 -		--with-ffmpeg=system		\
    1.44 -		$CONFIGURE_ARGS &&
    1.45 +	mkdir build && cd build
    1.46 +	cmake -G "Unix Makefiles"                       \
    1.47 +                -DCMAKE_BUILD_TYPE=Release              \
    1.48 +                -DCMAKE_INSTALL_PREFIX=/usr             \
    1.49 +                -Daudacity_use_expact=system            \
    1.50 +                -Daudacity_use_ffmpeg=loaded            \
    1.51 +                -Daudacity_use_zlib=system              \
    1.52 +                -Daudacity_use_curl=system              \
    1.53 +                -Daudacity_use_wxwidgets=local		\
    1.54 +	..
    1.55 +
    1.56  	make &&
    1.57  	make DESTDIR=$DESTDIR install
    1.58  }
    1.59 @@ -47,11 +51,14 @@
    1.60  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.61  genpkg_rules()
    1.62  {
    1.63 -	mkdir -p $fs/usr/share
    1.64 +	mkdir -p $fs/usr/share $fs/usr/lib/audacity
    1.65  
    1.66  	cp -a $install/usr/bin			$fs/usr
    1.67  	cp -a $install/usr/share/icons		$fs/usr/share
    1.68  	cp -a $install/usr/share/audacity	$fs/usr/share
    1.69  	cp -a $install/usr/share/pixmaps	$fs/usr/share
    1.70  	cp -a $install/usr/share/applications	$fs/usr/share
    1.71 +
    1.72 +	# For 3.0 branch, we need use custom wxWidgets
    1.73 +	cp -a $src/build/lib/libwx*.so*		$fs/usr/lib/audacity
    1.74  }
     2.1 --- a/openssh/receipt	Mon Jun 24 07:43:55 2024 +0000
     2.2 +++ b/openssh/receipt	Tue Jun 25 14:51:14 2024 +0000
     2.3 @@ -15,7 +15,7 @@
     2.4  PROVIDE="ssh"
     2.5  SUGGESTED="gtk+"
     2.6  DEPENDS="libcrypto sftp-server zlib"
     2.7 -BUILD_DEPENDS="gtk+-dev libcrypto-dev openssl-dev zlib-dev"
     2.8 +BUILD_DEPENDS="gtk+-dev glib-dev libcrypto-dev openssl-dev zlib-dev"
     2.9  SPLIT="sftp-server"
    2.10  TAZPANEL_DAEMON="man::sshd|edit::/etc/ssh/sshd_config|options|web::$WEB_SITE"
    2.11  
     3.1 --- a/wxWidgets/receipt	Mon Jun 24 07:43:55 2024 +0000
     3.2 +++ b/wxWidgets/receipt	Tue Jun 25 14:51:14 2024 +0000
     3.3 @@ -18,8 +18,8 @@
     3.4  	xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp
     3.5  	xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender
     3.6  	xorg-libXxf86vm zlib"
     3.7 -BUILD_DEPENDS="expat-dev gtk+-dev jpeg-dev libglu-mesa libpng-dev mesa-dev
     3.8 -	tiff-dev xorg-dev xorg-libXpm-dev xorg-xineramaproto zlib-dev"
     3.9 +BUILD_DEPENDS="expat-dev gtk+-dev glib-dev jpeg-dev libglu-mesa-dev libpng-dev
    3.10 +	mesa-dev tiff-dev xorg-dev xorg-libXpm-dev xorg-xineramaproto zlib-dev"
    3.11  
    3.12  current_version()
    3.13  {