blob: 233a4f2bb6d795f05f7c79b178cda72302661140 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Fabio Loli <loli_fabio@protonmail.com>
# Contributor: alex korobtsov <korobcoff@gmail.com>
# Contributor: Alexander Bantyev <balsoft@yandex.ru>
pkgname=qomp
pkgver=1.3.1
pkgrel=1
pkgdesc="Quick(Qt) Online Music Player"
arch=('i686' 'x86_64')
url="http://qomp.sourceforge.net/"
license=('GPL2')
depends=('taglib' 'qt5-base' 'qt5-tools' 'qt5-x11extras'
'qt5-multimedia' 'qt5-xmlpatterns'
'gstreamer' 'libcue' 'gst-plugins-good')
optdepends=('gst-plugins-bad'
'gst-plugins-ugly')
makedepends=('git' 'cmake')
_commit=230443ed40a99cedbfee7624dcce6db16977a9f6 #tag 1.3.1
source=("git+https://github.com/qomp/qomp#commit=$_commit")
md5sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^v//;s/-/+/g'
}
build() {
cd "$srcdir/${pkgname}"
git submodule init
git submodule update
cmake \
-DCMAKE_INSTALL_PREFIX=/usr/ \
-DUSE_QT5=ON \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "$srcdir/${pkgname}"
make DESTDIR="$pkgdir/" install
}
|