diff options
-rw-r--r-- | .SRCINFO | 67 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 60 |
3 files changed, 130 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6763add6ab17 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,67 @@ +pkgbase = qmmp-1 + pkgdesc = Qt based audio-player (1.x branch, Qt5) + pkgver = 1.6.1 + pkgrel = 1 + url = https://qmmp.ylsoftware.com + arch = x86_64 + license = GPL + makedepends = cmake + makedepends = flac + makedepends = jack + makedepends = libmpcdec + makedepends = pipewire + makedepends = pulseaudio + makedepends = ffmpeg + makedepends = libcdio-paranoia + makedepends = libcddb + makedepends = libmms + makedepends = libsamplerate + makedepends = libmodplug + makedepends = libsndfile + makedepends = wavpack + makedepends = mpg123 + makedepends = mesa + makedepends = projectm + makedepends = faad2 + makedepends = libgme + makedepends = libsidplayfp + makedepends = opusfile>=0.12 + makedepends = wildmidi + makedepends = qt5-tools + depends = alsa-lib + depends = curl + depends = desktop-file-utils + depends = hicolor-icon-theme + depends = libmad + depends = libvorbis + depends = libogg + depends = libxkbcommon-x11 + depends = taglib + depends = xdg-utils + depends = qt5-base + optdepends = mpg123: to play MP3 files + optdepends = flac: native FLAC support + optdepends = jack: JACK sound output + optdepends = libmpcdec: Musepack support + optdepends = pulseaudio: PulseAudio output + optdepends = pipewire: pipewire support + optdepends = libcdio-paranoia: Compact Disc input and control support + optdepends = libcddb: CDDB server support + optdepends = libmms: MMS stream protocol support + optdepends = libmodplug: MOD playing library + optdepends = libsndfile: sampled sound support + optdepends = projectm: visual efects + optdepends = faad2: ADTS AAC support + optdepends = libgme: support for chiptunes from various platforms + optdepends = libsidplayfp: C64 music support + optdepends = opusfile: Opus support + optdepends = wildmidi: MIDI support + optdepends = ffmpeg + optdepends = libsamplerate + optdepends = wavpack + provides = qmmp=1.6.1 + conflicts = qmmp + source = https://qmmp.ylsoftware.com/files/qmmp/1.6/qmmp-1.6.1.tar.bz2 + sha256sums = 2d8d5be8ed81dfa3b67de98b00800f7ea0fe9ac2d0f912e49265b0f4f7f5693f + +pkgname = qmmp-1 diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..b63977a0ed66 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +src/ +pkg/ +*.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6223bdfb6a82 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,60 @@ +pkgname=qmmp-1 +pkgver=1.6.1 +pkgrel=1 +pkgdesc="Qt based audio-player (1.x branch, Qt5)" +arch=('x86_64') +url="https://qmmp.ylsoftware.com" +license=('GPL') + +_name="${pkgname%-1}" +provides=("${_name}=${pkgver}") +conflicts=("${_name}") + +depends=( + 'alsa-lib' 'curl' 'desktop-file-utils' 'hicolor-icon-theme' 'libmad' 'libvorbis' + 'libogg' 'libxkbcommon-x11' 'taglib' 'xdg-utils' 'qt5-base' +) +makedepends=( + 'cmake' 'flac' 'jack' 'libmpcdec' 'pipewire' 'pulseaudio' 'ffmpeg' 'libcdio-paranoia' + 'libcddb' 'libmms' 'libsamplerate' 'libmodplug' 'libsndfile' 'wavpack' 'mpg123' 'mesa' + 'projectm' 'faad2' 'libgme' 'libsidplayfp' 'opusfile>=0.12' 'wildmidi' 'qt5-tools' +) +optdepends=( + 'mpg123: to play MP3 files' + 'flac: native FLAC support' + 'jack: JACK sound output' + 'libmpcdec: Musepack support' + 'pulseaudio: PulseAudio output' + 'pipewire: pipewire support' + 'libcdio-paranoia: Compact Disc input and control support' + 'libcddb: CDDB server support' + 'libmms: MMS stream protocol support' + 'libmodplug: MOD playing library' + 'libsndfile: sampled sound support' + 'projectm: visual efects' + 'faad2: ADTS AAC support' + 'libgme: support for chiptunes from various platforms' + 'libsidplayfp: C64 music support' + 'opusfile: Opus support' + 'wildmidi: MIDI support' + 'ffmpeg' 'libsamplerate' 'wavpack' +) + +_snapshot="${_name}-${pkgver}" +source=("${url}/files/${_name}/${pkgver%.*}/${_snapshot}.tar.bz2") +sha256sums=('2d8d5be8ed81dfa3b67de98b00800f7ea0fe9ac2d0f912e49265b0f4f7f5693f') + +build() { + cd "${srcdir}/${_snapshot}" + + cmake . -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DUSE_HAL:BOOL=FALSE + + make +} + +package() { + cd "${srcdir}/${_snapshot}" + make DESTDIR="${pkgdir}" install +} |