diff --git a/srcpkgs/spek-alternative b/srcpkgs/spek-alternative new file mode 120000 index 00000000000..76648236da7 --- /dev/null +++ b/srcpkgs/spek-alternative @@ -0,0 +1 @@ +spek-x \ No newline at end of file diff --git a/srcpkgs/spek-alternative/template b/srcpkgs/spek-alternative/template deleted file mode 100644 index d7b55c776b1..00000000000 --- a/srcpkgs/spek-alternative/template +++ /dev/null @@ -1,24 +0,0 @@ -# Template file for 'spek-alternative' -pkgname=spek-alternative -version=0.8.2.3 -revision=2 -build_style=gnu-configure -hostmakedepends="automake gettext-devel intltool libtool pkg-config - wxWidgets-common wxWidgets-gtk3-devel" -makedepends="ffmpeg-devel wxWidgets-gtk3-devel" -depends="ffmpeg" -short_desc="Acoustic spectrum analyser" -maintainer="Kartik Singh " -license="GPL-3.0-or-later" -homepage="https://github.com/withmorten/spek-alternative" -distfiles="https://github.com/withmorten/spek-alternative/archive/${version}.tar.gz" -checksum="007ba4b84a310b078e378aa84c8e80783db5821437a757a488c3ecec377e6b2a" - -CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" - -# Tell autogen.sh to use "wx-config-gtk3" instead of "wx-config" -export WX_CONFIG_NAME="wx-config-gtk3" - -pre_configure() { - NOCONFIGURE=1 ./autogen.sh -} diff --git a/srcpkgs/spek-x/patches/musl.patch b/srcpkgs/spek-x/patches/musl.patch new file mode 100644 index 00000000000..662f45936fe --- /dev/null +++ b/srcpkgs/spek-x/patches/musl.patch @@ -0,0 +1,7 @@ +--- a/tests/perf.cc 2024-03-09 17:13:49.086603418 -0500 ++++ b/tests/perf.cc 2024-03-09 17:13:59.453603753 -0500 +@@ -1,3 +1,4 @@ ++#include + #include + #include + #include diff --git a/srcpkgs/spek-x/template b/srcpkgs/spek-x/template new file mode 100644 index 00000000000..7171ea98d18 --- /dev/null +++ b/srcpkgs/spek-x/template @@ -0,0 +1,30 @@ +# Template file for 'spek-x' +pkgname=spek-x +version=0.9.3 +revision=1 +build_style=gnu-configure +hostmakedepends="automake gettext-devel intltool libtool pkg-config + wxWidgets-common wxWidgets-gtk3-devel" +makedepends="ffmpeg6-devel wxWidgets-gtk3-devel" +depends="ffmpeg6" +short_desc="Acoustic spectrum analyser" +maintainer="zlice " +license="GPL-3.0-or-later" +homepage="https://github.com/MikeWang000000/spek-x" +distfiles="https://github.com/MikeWang000000/spek-x/archive/v${version}.tar.gz" +checksum="7f4b109903333cdd310ab2b9176f0dc49a565891376e281a233d342cedf90ef7" + +CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + +# Tell autogen.sh to use "wx-config-gtk3" instead of "wx-config" +export WX_CONFIG_NAME="wx-config-gtk3" + +pre_configure() { + NOCONFIGURE=1 ./autogen.sh +} + +spek-alternative_package() { + depends="${sourcepkg}" + short_desc+=" - transitional dummy package" + build_style=meta +}