[arch-commits] Commit in clementine/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Mar 3 15:24:22 UTC 2020


    Date: Tuesday, March 3, 2020 @ 15:24:20
  Author: arojas
Revision: 589778

Update to 1.4.0rc1

Modified:
  clementine/trunk/PKGBUILD

----------+
 PKGBUILD |   74 +++++++------------------------------------------------------
 1 file changed, 9 insertions(+), 65 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-03 14:59:12 UTC (rev 589777)
+++ PKGBUILD	2020-03-03 15:24:20 UTC (rev 589778)
@@ -4,42 +4,14 @@
 # Contributor: Dany Martineau <dany.luc.martineau at gmail.com>
 
 pkgname=clementine
-pkgver=1.3.1.r831.664c5a31f
-pkgrel=3
+pkgver=1.4.0rc1
+pkgrel=1
 pkgdesc='A modern music player and library organizer'
 url=https://www.clementine-player.org/
 license=(GPL)
 arch=(x86_64)
-depends=(
-  chromaprint
-  crypto++
-  fftw
-  glew
-  glib2
-  gst-plugins-base-libs
-  gstreamer
-  libcdio
-  libgl
-  libgpod
-  liblastfm-qt5
-  libmtp
-  libmygpo-qt5
-  libpulse
-  libx11
-  protobuf
-  qt5-base
-  qt5-x11extras
-  sqlite
-  zlib
-)
-makedepends=(
-  boost
-  cmake
-  git
-  mesa
-  qt5-tools
-  sparsehash
-)
+depends=(chromaprint crypto++ glew gst-plugins-base-libs libcdio libgpod liblastfm-qt5 libmtp libmygpo-qt5 protobuf qt5-x11extras)
+makedepends=(boost cmake qt5-tools sparsehash)
 optdepends=(
   'gst-plugins-base: "Base" plugin libraries'
   'gst-plugins-good: "Good" plugin libraries'
@@ -48,50 +20,22 @@
   'gst-libav: Libav plugin'
   'gvfs: Various devices support'
 )
-source=(
-  git+https://github.com/clementine-player/Clementine.git#commit=664c5a31f9cf519af5a4c3adcb30dbbc73d037d6
-  clementine-gcc6.patch
-)
-sha256sums=(
-  SKIP
-  05bd4dc0138eed084332fa1a688a96858418731f337f54e0d8ab0853123f40ee
-)
+source=("https://github.com/clementine-player/Clementine/releases/download/$pkgver/$pkgname-$pkgver.tar.xz")
 
-pkgver() {
-  cd Clementine
+sha256sums=('96ba2f5f3ece47b2c1065e980dcc37ada93ea42cf37b794ee804514ce4a65459')
 
-  git describe --tags | sed 's/-/.r/; s/-g/./'
-}
-
 prepare() {
-  if [[ -d build ]]; then
-    rm -rf build
-  fi
-  mkdir build
-
-  cd Clementine
-
-  # Fix build with GCC 6
-  patch -p1 -i ../clementine-gcc6.patch
-  # https://github.com/clementine-player/Clementine/pull/5630
-  git cherry-pick -n 8a6cc8b5069265e1e92e22def985e22c5955e503
-  # FS#58413
-  git cherry-pick -n -m 1 75f9439843a0e9cdc26cd739d5e1dbd93bd974bc
-  # Fix DI.FM
-  git cherry-pick -n ddfa5e63f1ef0e243a007efbe576fceb9b2442e8
+  mkdir -p build
 }
 
 build() {
   cd build
 
-  cmake ../Clementine \
-    -DCMAKE_BUILD_TYPE=Release \
+  cmake ../$pkgname-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr
   make
 }
 
 package() {
-  make DESTDIR="${pkgdir}" -C build install
+  make DESTDIR="$pkgdir" -C build install
 }
-
-# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list