summaryrefslogtreecommitdiff
path: root/clementine/Pkgfile
blob: 57e65053c753d83df84873c97d273938299aeae9 (plain)
    1 # Description: A music player and library organizer.
    2 # URL: http://www.clementine-player.org/
    3 # Packager: Chris Farrell, timcowchip at gmail dot com
    4 # Maintainer: Danny Rawlins, crux at romster dot me
    5 # Depends on: boost crypto++ glew gst-plugins-bad gst-plugins-good gst-plugins-ugly protobuf qt5
    6 
    7 name=clementine
    8 version=1.4.0rc1-169
    9 release=1
   10 source=(https://github.com/clementine-player/Clementine/archive/$version-g934fd336d/$name-$version-g934fd336d.tar.gz
   11 	clementine-gcc6.patch)
   12 
   13 build() {
   14 	# make sure we do not have ccache masquerade directory in PATH
   15 	# as cmake calls ccache directly, this avoids recursvely
   16 	# calling ccache and CCACHE_PREFIX
   17 	PATH=$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')
   18 
   19 	cmake -HClementine-$version-g934fd336d -Bbuild \
   20 		-DCMAKE_INSTALL_PREFIX=/usr \
   21 		-DCMAKE_BUILD_TYPE='Release' \
   22 		-DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-catch-value"
   23 
   24 	cmake --build build
   25 	DESTDIR=$PKG cmake --build build --target install
   26 }

Generated by cgit