Package Details: spek-git 0.8.3.r104.gdcc3c46-1

Git Clone URL: https://aur.archlinux.org/spek-git.git (read-only, click to copy)
Package Base: spek-git
Description: Spek helps to analyse your audio files by showing their spectrogram.
Upstream URL: http://www.spek-project.org/
Licenses: GPL
Conflicts: spek
Provides: spek-git
Submitter: sen
Maintainer: TheNiceGuy
Last Packager: TheNiceGuy
Votes: 24
Popularity: 1.45
First Submitted: 2010-05-17 19:36
Last Updated: 2018-06-10 13:55

Latest Comments

1 2 3 Next › Last »

andrius4669 commented on 2021-01-14 10:04

&& 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

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

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

@kode54 same for spek-alternative

kode54 commented on 2021-01-12 09:12

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

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

prometheus commented on 2019-11-09 23:09

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

ruuda commented on 2018-06-10 11:21

This package is missing gettext as makedepend.

petronny commented on 2016-09-28 06:31

intltool is a makedepend.
and please change the pkgver() to:

git describe --long 2>/dev/null | sed -r 's/([^-]*-g)/r\1/;s/-/./g'

to get rid of the warning.

integer0 commented on 2014-10-01 10:10

Even with intltool installed I still get this:
./autogen.sh: line 10: 2334 Segmentation fault (core dumped) AUTOPOINT='intltoolize --automake --copy' autoreconf -fiv