libechonest and tomahawk update

This commit is contained in:
Martín 2012-09-02 09:42:04 +00:00
parent e7b5da88d6
commit 104b73ebb5
2 changed files with 59 additions and 7 deletions

54
libechonest/PKGBUILD Normal file
View File

@ -0,0 +1,54 @@
#
# Apps SC Packages for Chakra, part of chakra-project.org
#
# Maintainer: kote <koteccr at gmail dot com>
# Arch Linux contributors and maintainers:
# Maintainer: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
# https://github.com/zizzfizzix/pkgbuilds
# Contributor: Rick W. Chen <stuffcorpse@archlinux.us>
##############################################################
#### The section below can be adjusted to suit your needs ####
##############################################################
# What type of build do you want?
# See http://techbase.kde.org/Development/CMake/Addons_for_KDE#Buildtypes to check what is supported.
# You can change it to for example RelWithDebInfo to help with debugging.
_buildtype="Release"
############################################################
pkgname=libechonest
pkgver=2.0.1
pkgrel=1
pkgdesc="C++ library for interfacing with Echo Nest"
arch=('i686' 'x86_64')
url="https://projects.kde.org/projects/playground/libs/libechonest"
license=('GPL')
depends=('qjson')
makedepends=('cmake' 'pkg-config')
provides=('libechonest')
conflicts=('libechonest-git')
options=(!strip)
source=(http://pwsp.cleinias.com/${pkgname}-${pkgver}.tar.bz2)
md5sums=('d6dd16dd6ee28d279b4ec9fa64f67af3')
# Clean options array to strip pkg if release buildtype is chosen
if [[ ${_buildtype} == "Release" ]] || [[ ${_buildtype} == "release" ]]; then
options=()
fi
build() {
if [[ -e ${srcdir}/${pkgname}-${pkgver}-build ]]; then rm -rf ${srcdir}/${pkgname}-${pkgver}-build; fi
mkdir ${srcdir}/${pkgname}-${pkgver}-build
cd ${srcdir}/${pkgname}-${pkgver}-build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=${_buildtype} ../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}-build
make DESTDIR=${pkgdir} install
}

View File

@ -1,10 +1,8 @@
#
# Apps SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# maintainer (x86_64): Martín González <koteccr at gmail dot com>
# contributor: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
# contributor kote martini438[at]gmail.com
##############################################################
#### The section below can be adjusted to suit your needs ####
@ -19,21 +17,21 @@ _buildtype="RelWithDebInfo"
##############################################################
pkgname=tomahawk
pkgver=0.4.2
pkgver=0.5.5
pkgrel=1
pkgdesc="The social media player. A Music Player App written in C++/Qt"
arch=('i686' 'x86_64')
url="http://tomahawk-player.org/"
screenshot="https://img.skitch.com/20110813-n6w28ugdugyeptxgaj83y4ptp5.medium.jpg"
license=('GPL3')
depends=('phonon' 'taglib' 'boost' 'clucene' 'libechonest' 'jreen' 'qtweetlib' 'attica' 'quazip')
makedepends=('cmake')
depends=('phonon' 'taglib' 'boost' 'clucene' 'libechonest' 'jreen' 'qtweetlib' 'attica' 'quazip' 'qtwebkit')
makedepends=('cmake' 'git')
provides=('tomahawk')
conflicts=('tomahawk-git')
categories=('multimedia')
options=(!strip)
source=(http://download.tomahawk-player.org/${pkgname}-${pkgver}.tar.bz2)
md5sums=('2c5aadf3c6a3a9b8b7c66ca29bbf88fb')
md5sums=('708602116a849c4739480cf52a98bc1a')
install=tomahawk.install
# Clean options array to strip pkg if release buildtype is chosen