Skip to content

Commit

Permalink
New package: spex-x replaces spek-alternative for ffmpeg6
Browse files Browse the repository at this point in the history
  • Loading branch information
zlice committed Jul 22, 2024
1 parent 1b0ca71 commit fbcf1d0
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 24 deletions.
1 change: 1 addition & 0 deletions srcpkgs/spek-alternative
24 changes: 0 additions & 24 deletions srcpkgs/spek-alternative/template

This file was deleted.

7 changes: 7 additions & 0 deletions srcpkgs/spek-x/patches/musl.patch
Original file line number Diff line number Diff line change
@@ -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>
31 changes: 31 additions & 0 deletions srcpkgs/spek-x/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# 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"
replaces="spek-alternatives<=0.8.2.3_2"

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="spek-x"
short_desc+=" - transitional dummy package"
build_style=meta
}

0 comments on commit fbcf1d0

Please sign in to comment.