clementine: add distfiles+checksum

This commit is contained in:
Andrea Brancaleoni 2015-07-27 00:16:04 +02:00
parent f764721ad2
commit da901d0072
1 changed files with 5 additions and 11 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'clementine'
pkgname=clementine
version=1.2.3
revision=2
revision=3
build_style=cmake
hostmakedepends="git cmake sparsehash pkg-config"
makedepends="chromaprint-devel boost-devel gst-plugins-base-devel liblastfm-devel
@ -13,13 +13,7 @@ short_desc="A modern music player and library organizer"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="GPL-3"
homepage="https://www.clementine-player.org/"
do_fetch() {
local url="git://github.com/clementine-player/Clementine"
msg_normal "Fetching source from $url ...\n"
git clone --branch ${version} ${url} ${wrksrc}
cd ${wrksrc}
git config user.email "one@two.com"
git config user.name "oh my gold"
git cherry-pick ec580cb815c16ec1ab43a469d5af7d51d8d03082 # No namespaces for DBus interfaces. Fixes issue n4401
}
wrksrc="Clementine-$version"
distfiles="https://github.com/clementine-player/Clementine/archive/$version.tar.gz"
checksum=7df5650445a005c09f5f0e1a1b0d077037c37ecbe4ee77baf9d45f121308a1bf
patch_args="-p1"