forked from ports/contrib
27 lines
969 B
Plaintext
27 lines
969 B
Plaintext
# Description: A music player and library organizer.
|
|
# URL: https://www.clementine-player.org/
|
|
# Packager: Chris Farrell, timcowchip at gmail dot com
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: boost crypto++ glew gst-plugins-bad gst-plugins-good gst-plugins-ugly protobuf qt5
|
|
|
|
name=clementine
|
|
version=1.4.0rc1-169
|
|
release=1
|
|
source=(https://github.com/clementine-player/Clementine/archive/$version-g934fd336d/$name-$version-g934fd336d.tar.gz
|
|
clementine-gcc6.patch)
|
|
|
|
build() {
|
|
# 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/:*$//')
|
|
|
|
cmake -SClementine-$version-g934fd336d -Bbuild \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE='Release' \
|
|
-DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-catch-value"
|
|
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --install build
|
|
}
|