blob: 14f9513a415d81ed4e6f449ed4e5cb421b51b8f5 (
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
41
42
43
44
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Sven Fischer <aur.archlinux@linux4tw.de>
pkgname=guayadeque-git
pkgver=0.5.2.r0.gca56337c
pkgrel=3
pkgdesc="Lightweight music player"
arch=(x86_64 i686)
url="https://github.com/thothix/guayadeque"
license=(GPL-3.0-only)
depends=(wxsqlite3 wxwidgets-gtk3 taglib gst-plugins-base gst-plugins-good jsoncpp)
makedepends=(cmake git)
optdepends=('gst-libav: additional codecs'
'gst-plugins-bad: additional codecs'
'gst-plugins-ugly: additional codecs')
provides=(guayadeque)
conflicts=(guayadeque)
source=("git+https://github.com/thothix/guayadeque.git")
sha512sums=('SKIP')
pkgver() {
cd "guayadeque"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
# buildtype None introduce problems
local _flags=(
-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config
-D_GUREVISION_:STRING="${pkgrel}"
)
cmake -B build -S "guayadeque" -Wno-dev \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
"${_flags[@]}"
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --install build
}
|