1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

testing/clementine: upgrade to 1.4.1_git20250503

This commit is contained in:
Leon White 2025-06-02 17:36:04 +02:00 committed by Natanael Copa
parent 6250450833
commit 24c4a067fe
2 changed files with 23 additions and 5 deletions

View file

@ -1,9 +1,9 @@
# Contributor: knuxify <knuxify@gmail.com>
# Maintainer:
pkgname=clementine
pkgver=1.4.1_git20250121
pkgrel=3
_tag=1.4.1-30-ga05464b42
pkgver=1.4.1_git20250503
pkgrel=0
_tag=1.4.1-44-g41bcdca7f
pkgdesc="A modern music player and library organizer"
url="https://clementine-player.org"
arch="all"
@ -36,7 +36,10 @@ makedepends="alsa-lib-dev
taglib-dev
"
checkdepends="gtest-dev"
source="https://github.com/clementine-player/Clementine/releases/download/$_tag/clementine-$_tag.tar.xz"
source="
https://github.com/clementine-player/Clementine/releases/download/$_tag/clementine-$_tag.tar.xz
cmake-4.patch
"
builddir="$srcdir/clementine-$_tag"
build() {
@ -48,6 +51,7 @@ build() {
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -std=c++17 -Wno-error=format" \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DBUNDLE_PROJECTM_PRESETS=OFF \
-DUSE_SYSTEM_PROJECTM=ON \
-DUSE_SYSTEM_TAGLIB=ON \
@ -70,5 +74,6 @@ package() {
}
sha512sums="
607296f946bfa96b997cc2c1fc81f51b0ce00cb3a13321d089cce2391128171a4e99057e6715bfa3c481b4cdd989db16a2c5a751191046f3248d9230bd645335 clementine-1.4.1-30-ga05464b42.tar.xz
eaef446cec91314ed52536b091a49ae44e23561ee042ff62c059a9eba2cfd8fd213c89cbd79ae7763344881572a5351dbd44c2457755db18001ebcfe704b5bf1 clementine-1.4.1-44-g41bcdca7f.tar.xz
bedf64cd1780c974f18663d383f747c7c22e5d3c7d3c10c663883554bac9ce1b8a41d9d79460b9275d773fa5c75045ed1e46073fe1ebc9fdfcd06304b23639ad cmake-4.patch
"

View file

@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 48b55f4c5..b681e8d88 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.13.0)
project(clementine)
-cmake_policy(SET CMP0053 OLD)
+cmake_policy(SET CMP0053 NEW)
include(CheckCXXCompilerFlag)
include(FindPkgConfig)