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

Generated by cgit