mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
81 lines
1.8 KiB
Text
81 lines
1.8 KiB
Text
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
|
|
pkgname=audacious-plugins
|
|
pkgver=4.2
|
|
pkgrel=5
|
|
pkgdesc="A playlist-oriented media player with multiple interfaces (plugins)"
|
|
url="https://audacious-media-player.org/"
|
|
arch="all !s390x"
|
|
license="BSD-2-Clause AND BSD-3-Clause AND ISC AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later"
|
|
depends="audacious"
|
|
install_if="audacious"
|
|
makedepends="
|
|
alsa-lib-dev
|
|
audacious-dev
|
|
autoconf
|
|
automake
|
|
curl-dev
|
|
dbus-glib-dev
|
|
faad2-dev
|
|
ffmpeg-dev
|
|
flac-dev
|
|
lame-dev
|
|
libcddb-dev
|
|
libcdio-dev
|
|
libcdio-paranoia-dev
|
|
libcue-dev
|
|
libmms-dev
|
|
libnotify-dev
|
|
libogg-dev
|
|
libopenmpt-dev
|
|
libsamplerate-dev
|
|
libsndfile-dev
|
|
libvorbis-dev
|
|
libxcomposite-dev
|
|
libxml2-dev
|
|
mpg123-dev
|
|
neon-dev
|
|
pulseaudio-dev
|
|
sdl2-dev
|
|
wavpack-dev
|
|
"
|
|
subpackages="$pkgname-dbg $pkgname-lang"
|
|
source="http://distfiles.audacious-media-player.org/audacious-plugins-$pkgver.tar.bz2"
|
|
options="!check" # No test suite (or any plans for one)
|
|
|
|
case "$CTARGET_ARCH" in
|
|
arm*|aarch64) _qtglspectrum="--disable-qtglspectrum" ;;
|
|
*) _qtglspectrum="--enable-qtglspectrum" ;;
|
|
esac
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
update_config_sub
|
|
update_config_guess
|
|
}
|
|
|
|
build() {
|
|
# temp fix for ffmpeg-5
|
|
CXXFLAGS="$CXXFLAGS -fpermissive" \
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--disable-gtk \
|
|
--enable-qt \
|
|
$_qtglspectrum
|
|
make
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" make install
|
|
}
|
|
|
|
sha512sums="
|
|
632f1ac90c3a079bb92120e4bc6ef6b13f3f809f150809a64569fae49c908dafeb30e16a34d18bb081e099fe2a252a7ed8b76da129ffa0d51b16216f0b6d1282 audacious-plugins-4.2.tar.bz2
|
|
"
|