2013-11-02 10:44:14 +11:00
|
|
|
# Description: A music player and library organizer.
|
|
|
|
# URL: http://www.clementine-player.org/
|
|
|
|
# Packager: Chris Farrell, timcowchip at gmail dot com
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2019-09-21 00:35:09 +10:00
|
|
|
# Depends on: boost crypto++ glew gst-plugins-bad gst-plugins-good gst-plugins-ugly protobuf qt5
|
2013-11-02 10:44:14 +11:00
|
|
|
|
|
|
|
name=clementine
|
2020-01-12 16:38:39 +11:00
|
|
|
version=1.4.0rc1
|
2019-09-21 00:35:09 +10:00
|
|
|
release=1
|
2020-01-12 16:38:39 +11:00
|
|
|
source=(https://github.com/clementine-player/Clementine/archive/$version/$name-$version.tar.gz)
|
2013-11-02 10:44:14 +11:00
|
|
|
|
|
|
|
build() {
|
2020-01-12 16:38:39 +11:00
|
|
|
cd Clementine-$version
|
2018-11-04 23:02:49 +11:00
|
|
|
|
2016-05-17 23:03:01 +10:00
|
|
|
install -d build
|
|
|
|
cd build
|
|
|
|
|
2017-10-12 21:27:18 +11: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/:*$//')
|
|
|
|
|
2016-05-17 23:03:01 +10:00
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2018-11-04 23:02:49 +11:00
|
|
|
-DCMAKE_BUILD_TYPE='Release' \
|
|
|
|
-DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-catch-value"
|
2014-10-28 22:48:00 +11:00
|
|
|
|
2013-11-02 10:44:14 +11:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|