blob: f940941073255fe5e4fb283f7ee7d3265f38cc5c (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Maintainer: DeltaCopy <7x0bb03yq@mozmail.com>
# Description: Builds Transistor from https://gitlab.com/driglu4it/transistor
# PKGBUILD issues: https://github.com/DeltaCopy/transistor-git-aur-ci
# basic info
pkgname="transistor-git"
_pkgname="transistor"
pkgver=r10.a1eaf2d3
pkgrel=2
pkgdesc="Internet radio player that provides access to a station database with over 50,000 stations."
url="https://gitlab.com/driglu4it/transistor"
arch=('x86_64' 'aarch64')
license=("GPL-3.0-or-later")
pkgdir="$srcdir/fakeinstall_kf6"
build_dir="build"
options=(!emptydirs)
source=("${_pkgname}.git::git+${url}")
sha256sums=('SKIP')
provides=($pkgname)
makedepends=(
'cmake'
'extra-cmake-modules'
'git'
'gcc'
'ninja'
)
depends=(
'qt6-base'
'qt6-declarative'
'qt6-multimedia-ffmpeg'
'qt6-svg'
'kirigami'
'kcoreaddons'
'kdbusaddons'
'kiconthemes'
'knotifications'
'jack'
)
depends=("${depends[@]}")
build() (
local cmake_options=(
-B $build_dir
-S "$_pkgname.git"
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_BUILD_TYPE=Release
-GNinja
-Wno-dev
)
cmake "${cmake_options[@]}"
ninja -C $build_dir
)
package() (
DESTDIR="$pkgdir" ninja install -C $build_dir
rm -rf "$pkgdir/usr/lib/cmake"
)
|