diff options
author | FabioLolix | 2023-10-31 07:38:00 +0100 |
---|---|---|
committer | FabioLolix | 2023-10-31 07:38:00 +0100 |
commit | 23974ae009bdbba4676d370290249a4f91255074 (patch) | |
tree | ae1a123c6dd3694e609ab68020d7d3cf955cfc01 | |
parent | 9d0fd8f21c7cb58a1c20221a2bfc9bd4854d2342 (diff) | |
download | aur-23974ae009bdbba4676d370290249a4f91255074.tar.gz |
revision
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 44 insertions, 26 deletions
@@ -1,6 +1,6 @@ pkgbase = clementine-git pkgdesc = A modern music player and library organizer - pkgver = 1.4.0rc1.r886.g6ff576863.0.g6ff576863 + pkgver = 1.4.0rc1.r901.g7b678f26e.4.gf3ddd7eee pkgrel = 1 url = http://www.clementine-player.org/ arch = x86_64 @@ -8,19 +8,29 @@ pkgbase = clementine-git makedepends = boost makedepends = cmake makedepends = git + makedepends = qt5-tools + makedepends = sparsehash depends = chromaprint - depends = glew depends = gst-plugins-base-libs + depends = libcdio + depends = libgpod + depends = liblastfm-qt5 + depends = libmtp depends = libmygpo-qt5 + depends = taglib depends = protobuf depends = qt5-x11extras - optdepends = fftw: moodbar support - optdepends = libcdio: Audio CD support - optdepends = libgpod: iPod and iPhone support - optdepends = liblastfm-qt5: LastFM support - optdepends = libmtp: MTP support - optdepends = sparsehash: Box, Dropbox, Google Drive, Seafile, Skydrive support - optdepends = qt5-tools: translations + depends = projectm + depends = alsa-lib + depends = libpulse + depends = crypto++ + depends = hicolor-icon-theme + optdepends = gst-plugins-base: "Base" plugin libraries + optdepends = gst-plugins-good: "Good" plugin libraries + optdepends = gst-plugins-bad: "Bad" plugin libraries + optdepends = gst-plugins-ugly: "Ugly" plugin libraries + optdepends = gst-libav: Libav plugin + optdepends = gvfs: Various devices support provides = clementine conflicts = clementine source = git+https://github.com/clementine-player/Clementine.git @@ -1,4 +1,5 @@ -# Maintainer: zan <zan@nie.rs> +# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix +# Contributor: zan <zan@420blaze.it> # Contributor: Jacob Henner <code@ventricle.us> # Contributor: Eduardo Sánchez Muñoz # Contributor: Maxime Gauduin <alucryd@archlinux.org> @@ -9,35 +10,42 @@ # Based on community/clementine PKGBUILD pkgname=clementine-git -pkgver=1.4.0rc1.r886.g6ff576863.0.g6ff576863 +pkgver=1.4.0rc1.r901.g7b678f26e.4.gf3ddd7eee pkgrel=1 pkgdesc='A modern music player and library organizer' url='http://www.clementine-player.org/' license=(GPL) arch=(x86_64) -depends=(chromaprint glew gst-plugins-base-libs libmygpo-qt5 protobuf qt5-x11extras) -makedepends=(boost cmake git) -optdepends=('fftw: moodbar support' - 'libcdio: Audio CD support' - 'libgpod: iPod and iPhone support' - 'liblastfm-qt5: LastFM support' - 'libmtp: MTP support' - 'sparsehash: Box, Dropbox, Google Drive, Seafile, Skydrive support' - 'qt5-tools: translations') +depends=(chromaprint gst-plugins-base-libs libcdio libgpod liblastfm-qt5 libmtp libmygpo-qt5 + taglib protobuf qt5-x11extras projectm alsa-lib libpulse crypto++ hicolor-icon-theme) +makedepends=(boost cmake git qt5-tools sparsehash) +optdepends=( + 'gst-plugins-base: "Base" plugin libraries' + 'gst-plugins-good: "Good" plugin libraries' + 'gst-plugins-bad: "Bad" plugin libraries' + 'gst-plugins-ugly: "Ugly" plugin libraries' + 'gst-libav: Libav plugin' + 'gvfs: Various devices support') conflicts=(clementine) provides=(clementine) -_name=Clementine -source=("git+https://github.com/clementine-player/$_name.git") +source=("git+https://github.com/clementine-player/Clementine.git") sha256sums=('SKIP') pkgver() { - cd $_name - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + cd Clementine + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + #git describe --long --tags --exclude 1.4.0rc1-* | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cmake -B build -S $_name \ - -DCMAKE_INSTALL_PREFIX=/usr + export LDFLAGS="-Wl,--copy-dt-needed-entries" + cmake -B build -S Clementine -Wno-dev \ + -DCMAKE_CXX_FLAGS="-fpermissive" \ + -DCMAKE_CXX_STANDARD=17 \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DUSE_SYSTEM_PROJECTM=ON \ + -DUSE_SYSTEM_TAGLIB=ON + cmake --build build } |