2013-11-02 00:44:14 +01:00
|
|
|
# Description: A music player and library organizer.
|
2020-06-01 17:45:48 +02:00
|
|
|
# URL: https://www.clementine-player.org/
|
2014-11-10 13:28:07 +01:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2019-09-20 16:35:09 +02:00
|
|
|
# Depends on: boost crypto++ glew gst-plugins-bad gst-plugins-good gst-plugins-ugly protobuf qt5
|
2013-11-02 00:44:14 +01:00
|
|
|
|
|
|
|
name=clementine
|
2020-08-20 19:25:29 +02:00
|
|
|
version=1.4.0rc1-269
|
2019-09-20 16:35:09 +02:00
|
|
|
release=1
|
2020-08-20 19:25:29 +02:00
|
|
|
source=(https://github.com/clementine-player/Clementine/archive/$version-g68d375c43/$name-$version.tar.gz
|
2020-04-18 15:47:36 +02:00
|
|
|
clementine-gcc6.patch)
|
2013-11-02 00:44:14 +01:00
|
|
|
|
|
|
|
build() {
|
2017-10-12 12:27:18 +02:00
|
|
|
# make sure we do not have ccache masquerade directory in PATH
|
|
|
|
# as cmake calls ccache directly, this avoids recursvely
|
|
|
|
# calling ccache and CCACHE_PREFIX
|
|
|
|
PATH=$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')
|
|
|
|
|
2020-08-20 19:25:29 +02:00
|
|
|
cmake -SClementine-68d375c43c108d1888c64b14d736597dbb83f0b7 -Bbuild -GNinja \
|
2016-05-17 15:03:01 +02:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2018-11-04 13:02:49 +01:00
|
|
|
-DCMAKE_BUILD_TYPE='Release' \
|
|
|
|
-DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-catch-value"
|
2014-10-28 12:48:00 +01:00
|
|
|
|
2020-04-18 15:47:36 +02:00
|
|
|
cmake --build build
|
2020-07-08 15:01:36 +02:00
|
|
|
DESTDIR=$PKG cmake --install build
|
2013-11-02 00:44:14 +01:00
|
|
|
}
|