diff options
author | FabioLolix | 2024-05-24 14:32:32 +0200 |
---|---|---|
committer | FabioLolix | 2024-05-24 14:32:32 +0200 |
commit | 143dc0b2615f266dd6d8c33a349ba75377b60624 (patch) | |
tree | 7d72779963ecab57cba19aab8e62930aa209f259 | |
download | aur-143dc0b2615f266dd6d8c33a349ba75377b60624.tar.gz |
upload
-rw-r--r-- | .SRCINFO | 38 | ||||
-rw-r--r-- | PKGBUILD | 54 |
2 files changed, 92 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..83ba0ddcb805 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,38 @@ +pkgbase = cantata-qt6-git + pkgdesc = Qt6 graphical client for Music Player Daemon (MPD), nullobsi fork + pkgver = 3.0.2.r5.ge925ef5 + pkgrel = 1 + url = https://github.com/nullobsi/cantata + arch = x86_64 + arch = i686 + arch = aarch64 + arch = armv7h + license = GPL3 + makedepends = git + makedepends = cmake + makedepends = qt6-tools + depends = qt6-base + depends = qt6-multimedia + depends = qt6-svg + depends = libcdio-paranoia + depends = libmtp + depends = libmusicbrainz5 + depends = libcddb + depends = taglib + depends = libebur128 + depends = media-player-info + depends = mpg123 + depends = udisks2 + depends = ffmpeg + depends = avahi + depends = gcc-libs + depends = zlib + depends = glibc + optdepends = perl-uri: Dynamic playlist + optdepends = mpd: Playback + provides = cantata + conflicts = cantata + source = cantata-nullobsi::git+https://github.com/nullobsi/cantata.git + sha256sums = SKIP + +pkgname = cantata-qt6-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5800cd647088 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,54 @@ +# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix +# Contributor: goetzc +# Contributor: Kim Scarborough <sluggo@unknown.nu> + +pkgname=cantata-qt6-git +pkgver=3.0.2.r5.ge925ef5 +pkgrel=1 +pkgdesc="Qt6 graphical client for Music Player Daemon (MPD), nullobsi fork" +arch=(x86_64 i686 aarch64 armv7h) +url="https://github.com/nullobsi/cantata" +license=(GPL3) +depends=(qt6-base + qt6-multimedia + qt6-svg + libcdio-paranoia + libmtp + libmusicbrainz5 + libcddb + taglib + libebur128 + media-player-info + mpg123 + #taglib-extras + udisks2 + ffmpeg + + avahi gcc-libs zlib glibc + ) +makedepends=(git cmake qt6-tools) +optdepends=('perl-uri: Dynamic playlist' + 'mpd: Playback') +conflicts=(cantata) +provides=(cantata) +source=("cantata-nullobsi::git+https://github.com/nullobsi/cantata.git") +sha256sums=('SKIP') + +pkgver() { + cd "cantata-nullobsi" + git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cmake -B build -S "cantata-nullobsi" -Wno-dev \ + -DQT_DIR=/usr/lib/cmake/Qt6 \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBEXECDIR=/usr/bin + + cmake --build build +} + +package() { + DESTDIR="${pkgdir}" cmake --install build +} |