@Network_Jack Fixed: https://github.com/osam-cologne/archlinux-proaudio/pull/869
Search Criteria
Package Details: darkice 1.6-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/darkice.git (read-only, click to copy) |
|---|---|
| Package Base: | darkice |
| Description: | Reads live audio from backends, encodes it and streams it to a server |
| Upstream URL: | http://www.darkice.org/ |
| Keywords: | icecast streaming |
| Licenses: | GPL-3.0-or-later |
| Submitter: | ilpianista |
| Maintainer: | SpotlightKid (osamc) |
| Last Packager: | osamc |
| Votes: | 25 |
| Popularity: | 0.000088 |
| First Submitted: | 2011-11-14 22:35 (UTC) |
| Last Updated: | 2026-08-19 22:27 (UTC) |
Dependencies (27)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-fast-optimizedAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-git-native-pgoAUR, glibc-eacAUR)
- libasound.so (alsa-lib, lib32-alsa-lib)
- libfaac.so (faac-gitAUR, faac)
- libfdk-aac.so (libfdk-aac-gitAUR, lib32-libfdk-aacAUR, libfdk-aac)
- libFLAC.so (flac-gitAUR, flac, lib32-flac)
- libjack.so (pipewire-jack-gitAUR, jackAUR, pipewire-full-jack-gitAUR, pipewire-jack-ldacAUR, jack2-gitAUR, jack2, lib32-jack2, lib32-pipewire-jack, pipewire-jack)
- libmp3lame.so (lame-altivecAUR, lame-svnAUR, lame)
- libogg.so (libogg-gitAUR, lib32-libogg, libogg)
- libopus.so (opus-gitAUR, lib32-opus, opus)
- libpulse-simple.so (pulseaudio-dummyAUR, libpulse)
- libpulse.so (pulseaudio-dummyAUR, libpulse)
- libsamplerate.so (libsamplerate-gitAUR, lib32-libsamplerate, libsamplerate)
- libtwolame.so (twolame-gitAUR, lib32-twolameAUR, twolame)
- libvorbis.so (libvorbis-aotuvAUR, libvorbis-aotuv-lancerAUR, libvorbis-gitAUR, lib32-libvorbis, libvorbis)
- libvorbisenc.so (libvorbis-aotuvAUR, libvorbis-aotuv-lancerAUR, libvorbis-gitAUR, lib32-libvorbis, libvorbis)
- alsa-lib (make)
- faac (faac-gitAUR) (make)
- flac (flac-gitAUR) (make)
- jackAUR (pipewire-jack-gitAUR, pipewire-full-jack-gitAUR, pipewire-jack-ldacAUR, jack2-gitAUR, jack2, pipewire-jack) (make)
- Show 7 more dependencies...
Required by (1)
Sources (3)
SpotlightKid commented on 2026-08-19 22:26 (UTC)
Network_Jack commented on 2026-08-19 03:19 (UTC) (edited on 2026-08-19 03:20 (UTC) by Network_Jack)
new faac version breaks this
FaacEncoder.cpp:194:27: error: ‘faacEncEncode’ was not declared in this scope; did you mean ‘FaacEncoder’?
194 | outputBytes = faacEncEncode(encoderHandle,
| ^~~~~~~~~~~~~
| FaacEncoder
mv -f .deps/darkice-FileCast.Tpo .deps/darkice-FileCast.Po
g++ -DHAVE_CONFIG_H -I. -O2 -pedantic -Wall -I/usr/include/opus -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fstack-protector -Wp,-D_GLIBCXX_ASSERTIONS -std=c++11 -MT darkice-Util.o -MD -MP -MF .deps/darkice-Util.Tpo -c -o darkice-Util.o `test -f 'Util.cpp' || echo './'`Util.cpp
FaacEncoder.cpp:230:41: error: ‘encoderHandle’ was not declared in this scope
230 | outputBytes = faacEncEncode(encoderHandle,
| ^~~~~~~~~~~~~
FaacEncoder.cpp:230:27: error: ‘faacEncEncode’ was not declared in this scope; did you mean ‘FaacEncoder’?
230 | outputBytes = faacEncEncode(encoderHandle,
| ^~~~~~~~~~~~~
| FaacEncoder
FaacEncoder.cpp: In member function ‘virtual void FaacEncoder::close()’:
FaacEncoder.cpp:270:22: error: ‘encoderHandle’ was not declared in this scope
270 | faacEncClose(encoderHandle);
| ^~~~~~~~~~~~~
FaacEncoder.cpp:270:9: error: ‘faacEncClose’ was not declared in this scope
270 | faacEncClose(encoderHandle);
| ^~~~~~~~~~~~
osamc commented on 2023-10-15 18:51 (UTC)
This AUR package is a mirror and automatically updated from the proaudio binary repo project at https://github.com/osam-cologne/archlinux-proaudio
If possible, open a GitHub issue or PR instead of commenting here, thanks!
GalaxyLJGD commented on 2021-07-03 17:24 (UTC) (edited on 2021-07-03 17:27 (UTC) by GalaxyLJGD)
GCC 11 broke compilation because it changed the default C ++ version from C ++ 14 to C ++ 17, this patch fixes it:
diff --git a/PKGBUILD b/PKGBUILD
index a60a398..f7afddc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -33,7 +33,8 @@ build() {
--with-twolame \
--without-aacplus \
--with-pulseaudio \
- --with-samplerate
+ --with-samplerate \
+ CXXFLAGS="$CXXFLAGS -std=c++14"
make
}
It's also necessary to notify upstream to fix the error.
(Sorry for my bad English)
SpotlightKid commented on 2020-04-16 23:40 (UTC) (edited on 2020-04-16 23:40 (UTC) by SpotlightKid)
@all Heads up: I've updated the package to 1.4 and made the following changes:
- Changed source to source distribution archive from https://github.com/rafael2k/darkice, i.e. the software is not built from a git checkout anymore.
- Removed aacplus support, since the license status of libaacplus is problematic.
N.B.: Upstream version 1.4 is not listed on the project's web site, but it is tagged in their git repository (see https://github.com/rafael2k/darkice/issues/157).
Refutationalist commented on 2020-04-16 21:34 (UTC)
@SpotlightKid: I've disowned the package. Have at it, and thank you!
SpotlightKid commented on 2020-04-16 17:57 (UTC)
@Refutationalist: I've now tested my updated package on a several computers, including a Raspi 4 and it seems to work fine.
Can you add me as co-maintainer or orphan the package then I'll take over and update it?
SpotlightKid commented on 2020-04-08 17:47 (UTC)
@Refutationalist: Thanks for the offer. Let me test my package update on few more systems (e.g. a Raspi 3 and 4), before I commit to taking maintainership. I'll get back to you.
Refutationalist commented on 2020-04-08 17:00 (UTC)
@SpotlightKid -- Reasons. They're in here somewhere. Package tracked release until there were some problems with release. I've been checking the website for a new release now and again.
Would you like to take over the package? I stopped using darkice some time ago in favor of other methods.
SpotlightKid commented on 2020-04-08 14:04 (UTC)
May I ask, why this package is not using the official upstream repository (https://github.com/rafael2k/darkice) and builds from a git checkout rather than from a source distribution archive?
The repo used in this PKGBUILD is outdated, the official repo has a more recent release 1.4 (unfortunately the website hasn't been updated to show this release).
Furthermore, I would suggest to drop the inclusion of HE-AAC+ support via libaacplus. That package downloads additional patented code from 3gpp.org during the build process (!) and as such, IMO, is not suitable for distribution.
To sum it up, I suggest the following changes:
diff --git a/.SRCINFO b/.SRCINFO
index 98b30e2..721067a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = darkice
pkgdesc = Live audio streamer. Reads from audio interface, encodes, sends to streaming server.
- pkgver = 1.3
- pkgrel = 2
+ pkgver = 1.4
+ pkgrel = 1
url = http://www.darkice.org/
arch = i686
arch = x86_64
@@ -11,16 +11,15 @@ pkgbase = darkice
depends = lame
depends = libpulse
depends = faac
- depends = libaacplus
depends = jack
depends = twolame
depends = opus
depends = libsamplerate
depends = fftw
- source = darkice::git+https://github.com/Ouack23/darkice.git#branch=master
+ source = https://github.com/rafael2k/darkice/releases/download/v1.4/darkice-1.4.tar.gz
source = service
- md5sums = SKIP
- md5sums = 1c1cde0a5c03a2190a48275c03016eb8
+ sha256sums = e6a8ec2b447cf5b4ffaf9b62700502b6bdacebf00b476f4e9bf9f9fe1e3dd817
+ sha256sums = c5d05b1c3c352eda9591064f041fcd502d3b0a4cfcc6319dc4ae9b6d71136e4b
pkgname = darkice
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ce1e253
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+pkg/
+src/
+darkice-*.pkg.tar.xz
+darkice-*.pkg.tar.zst
+darkice-*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index a3f9a7b..a60a398 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,40 +3,47 @@
# Contributor: Ganjolinux aka Basalari David <ganjolinux@gmail.com>
# Contributor: speps <speps at aur dot archlinux dot org>
# Contributor: B3l3tte <ouack23 at yahoo.fr>
+# Contributor: Christopher Arndt <aur -at- chrisarndt -dot de>
pkgname=darkice
-pkgver=1.3
-pkgrel=2
+pkgver=1.4
+pkgrel=1
pkgdesc="Live audio streamer. Reads from audio interface, encodes, sends to streaming server."
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="http://www.darkice.org/"
license=('GPL')
-depends=('lame' 'libpulse' 'faac' 'libaacplus' 'jack' 'twolame' 'opus' 'libsamplerate' 'fftw')
-source=('darkice::git+https://github.com/Ouack23/darkice.git#branch=master' 'service')
-md5sums=('SKIP' '1c1cde0a5c03a2190a48275c03016eb8')
+depends=('lame' 'libpulse' 'faac' 'jack' 'twolame' 'opus' 'libsamplerate' 'fftw')
+source=("https://github.com/rafael2k/darkice/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
+ 'service')
+sha256sums=('e6a8ec2b447cf5b4ffaf9b62700502b6bdacebf00b476f4e9bf9f9fe1e3dd817'
+ 'c5d05b1c3c352eda9591064f041fcd502d3b0a4cfcc6319dc4ae9b6d71136e4b')
-build() {
-
- cd "$srcdir/$pkgname/$pkgname/trunk"
-
- ./autogen.sh
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --with-aacplus \
- --with-opus \
- --with-samplerate
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-alsa \
+ --with-faac \
+ --with-jack \
+ --with-lame \
+ --with-opus \
+ --with-twolame \
+ --without-aacplus \
+ --with-pulseaudio \
+ --with-samplerate
make
}
package() {
- cd "$srcdir/$pkgname/$pkgname/trunk"
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
-
- # daemon
- install -Dm755 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/darkice@.service"
-
- mkdir -p "$pkgdir/etc/darkice"
- mv "$pkgdir/etc/darkice.cfg" "$pkgdir/etc/darkice/darkice.cfg"
+ # systemd service
+ install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/darkice@.service"
+ # configuration
+ install -dm755 "$pkgdir/etc/darkice"
+ mv "$pkgdir/etc/darkice.cfg" "$pkgdir/etc/darkice"
}
Pinned Comments
osamc commented on 2023-10-15 18:51 (UTC)
This AUR package is a mirror and automatically updated from the proaudio binary repo project at https://github.com/osam-cologne/archlinux-proaudio
If possible, open a GitHub issue or PR instead of commenting here, thanks!