Blob Blame Raw
#!/bin/bash

MODULE=phonon-gstreamer
TARBALL=phonon-backend-gstreamer
BRANCH=remotes/origin/4.6
VERSION=4.6.2
DATE=$(date +%Y%m%d)

set -x

rm -rf $MODULE

git clone git://anongit.kde.org/phonon-gstreamer $MODULE/
pushd $MODULE
git archive ${BRANCH} --format tar --prefix=${TARBALL}-${VERSION}/ | xz -9 > ../${TARBALL}-${VERSION}-${DATE}.tar.xz
popd

rm -rf $MODULE