New package: spex-x replaces spek-alternative for ffmpeg6

This commit is contained in:
zlice 2023-10-17 08:54:11 -04:00 committed by classabbyamp
parent 4c2319921b
commit fcba69ed10
4 changed files with 38 additions and 24 deletions

1
srcpkgs/spek-alternative Symbolic link
View File

@ -0,0 +1 @@
spek-x

View File

@ -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 <kartik.ynwa@gmail.com>"
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
}

View File

@ -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 <cstdint>
#include <cstdlib>
#include <iostream>
#include <fstream>

30
srcpkgs/spek-x/template Normal file
View File

@ -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 <zlice555@gmail.com>"
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
}