blob: 9750acd9170d3510bd114b5cbdeecbbbe0428383 (
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: robertfoster
pkgname=recordbox
pkgver=0.9.2 # renovate: datasource=gitea-tags depName=edestcroix/Recordbox registryUrl=https://codeberg.org
pkgrel=1
pkgdesc='A music player and library browser designed primarily to be as simple as possible, and tailored specifically to browsing and playing albums, rather than tracks or playlists.'
arch=(x86_64)
url="https://codeberg.org/edestcroix/Recordbox"
license=(GPL-3.0-only)
depends=(
dconf
gcc-libs
gdk-pixbuf2
glib2
glibc
graphene
gst-plugins-bad-libs
gst-plugins-base
gst-plugins-base-libs
gst-plugins-good
gstreamer
gtk4
hicolor-icon-theme
libadwaita
pango
)
makedepends=(
appstream
git
meson
rust
)
optdepends=(
'gst-libav: Extra media codecs'
'gst-plugins-bad: Extra media codecs'
'gst-plugins-ugly: Extra media codecs'
)
source=("${pkgname}-${pkgver}::https://codeberg.org/edestcroix/Recordbox/archive/v${pkgver}.tar.gz")
prepare() {
cd "${pkgname}"
CARGO_HOME="$srcdir/build/cargo-home" \
cargo fetch --target "$(rustc -vV | sed -n 's/host: //p')"
}
build() {
arch-meson "${pkgname}" build
CARGO_PROFILE_RELEASE_LTO=true \
CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1 \
CARGO_PROFILE_RELEASE_DEBUG=2 \
CARGO_PROFILE_RELEASE_STRIP=false \
meson compile -C build
}
package() {
meson install -C build --destdir "${pkgdir}" --no-rebuild
}
sha256sums=('ee84fa690a1061a17ead54d8cd62ee1c02f37fb5cdc8e1233019af02116c2f64')
|