Package Details: spek-git 0.8.3.r105.gf071c29-1

Git Clone URL: https://aur.archlinux.org/spek-git.git (read-only, click to copy)
Package Base: spek-git
Description: Acoustic spectrum analyser.
Upstream URL: http://spek.cc
Licenses: GPL3
Conflicts: spek
Provides: spek
Submitter: sen
Maintainer: yechs
Last Packager: yechs
Votes: 29
Popularity: 0.000000
First Submitted: 2010-05-17 19:36 (UTC)
Last Updated: 2021-02-28 07:46 (UTC)

Latest Comments

1 2 3 4 Next › Last »

kruzah commented on 2022-06-18 08:56 (UTC) (edited on 2022-06-18 08:56 (UTC) by kruzah)

The package no longer builds due to FFmpeg 5 breaking changes. As the upstream package appears to be generally inactive, it might be an idea to make the package depend explicitly on ffmpeg4.4 instead for now. I'm unsure if this is the "best" way to fix it, but this at least works on my machine and allows it to build:

diff --git a/PKGBUILD b/PKGBUILD
index 98de6c1..91342bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,12 @@
 # Contributor: yechs <chshu@protonmail.ch>

 pkgname=spek-git
-pkgver=0.8.3.r105.gf071c29
+pkgver=0.8.3.r111.g2273e74
 pkgrel=1
 pkgdesc='Acoustic spectrum analyser.'
 arch=('aarch64' 'arm' 'armv6h' 'armv7h' 'i686' 'x86_64')
 license=('GPL3')
-depends=('ffmpeg' 'desktop-file-utils' 'wxgtk2')
+depends=('ffmpeg4.4' 'desktop-file-utils' 'wxgtk2')
 makedepends=('git' 'pkgconfig' 'automake' 'intltool' 'gettext')
 url='http://spek.cc'
 conflicts=('spek')
@@ -24,6 +24,8 @@ pkgver() {

 build() {
     cd "$srcdir/$pkgname"
+    export CXXFLAGS="$CXXFLAGS -I/usr/include/ffmpeg4.4"
+    export LDFLAGS="$LDFLAGS -L/usr/lib/ffmpeg4.4"
     ./autogen.sh --prefix=/usr
     make
 }

yechs commented on 2021-02-28 07:47 (UTC)

@sekret Changed. Thanks for the suggestion!

sekret commented on 2021-01-16 18:38 (UTC)

Please change the url to http://spek.cc (unfortunately no https available), which the current url is redirected to.

andrius4669 commented on 2021-01-14 10:04 (UTC)

&& 0 is hella ugly. better patch configure.ac.

git diff output of mine:

diff --git a/PKGBUILD b/PKGBUILD
index d2d13bc..42e0708 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,20 @@
 # Contributor: TheNiceGuy <gabriel14_wii@hotmail.com>

 pkgname=spek-git
-pkgver=0.8.3.r104.gdcc3c46
-pkgrel=1
+pkgver=0.8.3.r105.gf071c29
+pkgrel=2
 pkgdesc='Spek helps to analyse your audio files by showing their spectrogram.'
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('ffmpeg' 'desktop-file-utils' 'wxgtk')
+depends=('ffmpeg' 'desktop-file-utils' 'wxgtk2')
 makedepends=('git' 'pkgconfig' 'automake' 'intltool' 'gettext')
 url='http://www.spek-project.org/'
 conflicts=('spek')
 provides=('spek-git')
-source=('spek-git::git+https://github.com/alexkay/spek')
-md5sums=('SKIP')
+source=('spek-git::git+https://github.com/alexkay/spek'
+        'configure.patch')
+md5sums=('SKIP'
+         '0bc8e3a5127c221c11445cc63e5089af')
 options=()

 pkgver() {
@@ -21,9 +23,15 @@ pkgver() {
     git describe --long 2>/dev/null | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
 }

+prepare() {
+    cd "$srcdir/$pkgname"
+    patch --forward --strip=1 --input="$srcdir/configure.patch"
+}
+
 package() {
     cd "$srcdir/$pkgname"

+    autoupdate
     ./autogen.sh --prefix=/usr
     make DESTDIR=$pkgdir install
 }
diff --git a/configure.patch b/configure.patch
new file mode 100644
index 0000000..436c627
--- /dev/null
+++ b/configure.patch
@@ -0,0 +1,11 @@
+diff --unified --recursive --text package.orig/configure.ac package.new/configure.ac
+--- package.orig/configure.ac  2021-01-14 11:44:10.182478722 +0200
++++ package.new/configure.ac   2021-01-14 11:44:34.289321069 +0200
+@@ -68,7 +68,6 @@
+ GETTEXT_PACKAGE=spek
+ AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Gettext Package])
+ AC_SUBST(GETTEXT_PACKAGE)
+-AM_GNU_GETTEXT_VERSION([0.18.1])
+ AM_PO_SUBDIRS
+
+ AC_CONFIG_FILES([

kode54 commented on 2021-01-13 23:30 (UTC)

Somehow tricking the package into building and linking against wxgtk3 would be even better, as that magically makes it HiDPI aware. I've managed to do this, but only by editing build files between configuring and actually building and linking.

edisile commented on 2021-01-13 20:18 (UTC) (edited on 2021-01-13 20:25 (UTC) by edisile)

I managed to get the package to build, although in an admittedly hacky way. Just changing wxgtk to wxgtk2 should work, but autogen.sh keeps returning with exit code 1 without apparent reason (the only thing I noted is a warning related to a macro); ignoring the exit code of autogen.sh and running configure afterwards seems to build the package correctly.

Patch:

From 1c240bc337eadfd08d8b858f4aad0c61332b75df Mon Sep 17 00:00:00 2001
From: edisile <...>
Date: Wed, 13 Jan 2021 21:06:01 +0100
Subject: [PATCH] Fix build

---
 PKGBUILD | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index d2d13bc..6e5a4fa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
 # Contributor: TheNiceGuy <gabriel14_wii@hotmail.com>

 pkgname=spek-git
-pkgver=0.8.3.r104.gdcc3c46
+pkgver=0.8.3.r105.gf071c29
 pkgrel=1
 pkgdesc='Spek helps to analyse your audio files by showing their spectrogram.'
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('ffmpeg' 'desktop-file-utils' 'wxgtk')
+depends=('ffmpeg' 'desktop-file-utils' 'wxgtk2')
 makedepends=('git' 'pkgconfig' 'automake' 'intltool' 'gettext')
 url='http://www.spek-project.org/'
 conflicts=('spek')
@@ -24,6 +24,7 @@ pkgver() {
 package() {
     cd "$srcdir/$pkgname"

-    ./autogen.sh --prefix=/usr
+    ./autogen.sh --prefix=/usr && 0
+    ./configure
     make DESTDIR=$pkgdir install
 }
-- 
2.30.0

eniac commented on 2021-01-12 15:50 (UTC)

@kode54 same for spek-alternative

kode54 commented on 2021-01-12 09:12 (UTC)

It no longer builds. Also, wxgtk is a base package, but no longer a provides of wxgtk2.

generaleramon commented on 2020-06-17 10:33 (UTC)

the package compile fine on "aarch64", is it possible to add it in the arch section?

prometheus commented on 2019-11-09 23:09 (UTC)

Why does the about dialog say 0.8.2 while the aur page title says 0.8.3?