make audacious for both gtk2 and qt5, because I can has both
This commit is contained in:
parent
d025a7935b
commit
6a16d46e5e
2 changed files with 117 additions and 0 deletions
77
audacious-plugins/PKGBUILD
Normal file
77
audacious-plugins/PKGBUILD
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
# $Id$
|
||||||
|
# Original Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
|
||||||
|
# Contributor: Gaetan Bisson <bisson@archlinux.org>
|
||||||
|
# Contributor: Alexander Fehr <pizzapunk gmail com>
|
||||||
|
# Contributor: William Rea <sillywilly@gmail.com>
|
||||||
|
|
||||||
|
pkgname=audacious-plugins
|
||||||
|
pkgver=3.9
|
||||||
|
pkgrel=2
|
||||||
|
pkgdesc="Plugins for Audacious"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="http://audacious-media-player.org/"
|
||||||
|
license=('BSD' 'GPL')
|
||||||
|
|
||||||
|
makedepends=("audacious>=$pkgver" 'qt5-multimedia'
|
||||||
|
'glib2' 'python' # for gdbus-codegen
|
||||||
|
'alsa-lib' 'pulseaudio' 'jack2' 'lame' 'libvorbis' 'flac'
|
||||||
|
'mpg123' 'faad2' 'ffmpeg' 'libmodplug' 'fluidsynth' 'libcdio-paranoia' 'libsidplayfp' 'wavpack'
|
||||||
|
'dbus-glib' 'libsamplerate' 'libnotify' 'lirc' 'curl' 'libmtp'
|
||||||
|
'neon' 'libmms' 'libcue')
|
||||||
|
|
||||||
|
optdepends=('alsa-lib: Advanced Linux Sound Arch. output'
|
||||||
|
'pulseaudio: PulseAudio output'
|
||||||
|
'jack2: Jack Audio Connection Kit output'
|
||||||
|
'lame: FileWriter MP3 output'
|
||||||
|
'libvorbis: Vorbis input, FileWriter Vorbis output'
|
||||||
|
'flac: FLAC input, FileWriter FLAC output'
|
||||||
|
|
||||||
|
'mpg123: MP3 input'
|
||||||
|
'faad2: AAC input'
|
||||||
|
'ffmpeg: ffaudio input'
|
||||||
|
'libmodplug: modplug input'
|
||||||
|
'fluidsynth: MIDI FluidSynth backend input'
|
||||||
|
'libcdio-paranoia: CD Digital Audio input'
|
||||||
|
'libsidplayfp: Commodore 64 audio input'
|
||||||
|
'wavpack: WavPack input'
|
||||||
|
|
||||||
|
'dbus-glib: Gnome Shortcuts Plugin'
|
||||||
|
'libsamplerate: Speed and Pitch Plugin'
|
||||||
|
'libnotify: libnotify OSD'
|
||||||
|
'lirc: LIRC'
|
||||||
|
'curl: AudioScrobbler Client'
|
||||||
|
'libmtp: Upload to MTP device'
|
||||||
|
|
||||||
|
'neon: neon-based http transport'
|
||||||
|
'libmms: libmms-based mms transport'
|
||||||
|
'libcue: CUE playlist format'
|
||||||
|
'qt5-multimedia: qtaudio support')
|
||||||
|
|
||||||
|
source=(http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2)
|
||||||
|
sha256sums=('8bf7f21089cb3406968cc9c71307774aee7100ec4607f28f63cf5690d5c927b8')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"/src/qtui
|
||||||
|
|
||||||
|
# /usr/include/qt/QtGui/qstatictext.h:70:18: note: no known conversion for argument 1 from ‘QString’ to ‘const QStaticText&’
|
||||||
|
# Failed to compile info_bar.cc (plugin)!
|
||||||
|
sed -i 's|d.title = metrics.elidedText|d.title.text() = metrics.elidedText|' info_bar.cc
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-qt \
|
||||||
|
--enable-amidiplug
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
40
audacious/PKGBUILD
Normal file
40
audacious/PKGBUILD
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
# $Id$
|
||||||
|
# Original Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
|
||||||
|
# Contributor: Gaetan Bisson <bisson@archlinux.org>
|
||||||
|
# Contributor: Alexander Fehr <pizzapunk gmail com>
|
||||||
|
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
|
||||||
|
|
||||||
|
pkgname=audacious
|
||||||
|
pkgver=3.9
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Lightweight, advanced audio player focused on audio quality"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="http://audacious-media-player.org/"
|
||||||
|
license=('BSD')
|
||||||
|
depends=('qt5-base' 'gtk2' 'glib2' 'libguess' 'libsm' 'audacious-plugins'
|
||||||
|
'gnome-icon-theme' 'hicolor-icon-theme' 'desktop-file-utils')
|
||||||
|
makedepends=('python') # for gdbus-codegen
|
||||||
|
optdepends=('unzip: zipped skins support')
|
||||||
|
provides=('audacious-player')
|
||||||
|
conflicts=('audacious-player')
|
||||||
|
replaces=('audacious-player')
|
||||||
|
source=(http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2)
|
||||||
|
sha256sums=('2d8044673ac786d71b08004f190bbca368258bf60e6602ffc0d9622835ccb05e')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-qt \
|
||||||
|
--with-buildstamp='Arch Linux'
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue