mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 08:57:14 +08:00
update musicbrainz
This commit is contained in:
parent
7609f603c0
commit
7a818bdb47
28
libdiscid/PKGBUILD
Normal file
28
libdiscid/PKGBUILD
Normal file
@ -0,0 +1,28 @@
|
||||
#
|
||||
# Platform 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>
|
||||
|
||||
pkgname=libdiscid
|
||||
pkgver=0.2.2
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
pkgdesc="A Library for creating MusicBrainz DiscIDs"
|
||||
url="http://musicbrainz.org/doc/libdiscid"
|
||||
depends=('glibc')
|
||||
source=("http://users.musicbrainz.org/~matt/${pkgname}-${pkgver}.tar.gz")
|
||||
md5sums=('ee21ddbe696a3c60e14827a75f3bcf5b')
|
||||
options=('!libtool')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make prefix=${pkgdir}/usr install
|
||||
}
|
@ -1,34 +1,32 @@
|
||||
# $Id: PKGBUILD 69566 2010-02-21 05:29:26Z allan $
|
||||
# Maintainer:
|
||||
# Contributor: Alexander Baldeck <alexander@archlinux.org>
|
||||
# Contributor: dorphell <dorphell@archlinux.org>
|
||||
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
||||
# Contributor: Sarah Hay <sarah@archlinux.org>
|
||||
#
|
||||
# Platform 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>
|
||||
|
||||
pkgname=musicbrainz
|
||||
pkgver=2.1.5
|
||||
pkgrel=3
|
||||
pkgdesc="The second generation incarnation of the CD Index"
|
||||
pkgver=3.0.3
|
||||
pkgrel=1
|
||||
pkgdesc="Library That Provides Access to the MusicBrainz Server "
|
||||
url="http://musicbrainz.org/"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.musicbrainz.org/index.html"
|
||||
license=('LGPL')
|
||||
depends=('expat>=2.0')
|
||||
makedepends=('python')
|
||||
options=('!libtool')
|
||||
source=(ftp://ftp.musicbrainz.org/pub/$pkgname/libmusicbrainz-${pkgver}.tar.gz
|
||||
'gcc4.3.patch')
|
||||
|
||||
|
||||
license=('LGPL2.1')
|
||||
depends=('neon' 'libdiscid')
|
||||
makedepends=('cmake')
|
||||
source=(ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-$pkgver.tar.gz)
|
||||
md5sums=('f4824d0a75bdeeef1e45cc88de7bb58a')
|
||||
build() {
|
||||
cd ${srcdir}/lib${pkgname}-${pkgver}
|
||||
|
||||
patch -p1 -i ${srcdir}/gcc4.3.patch
|
||||
./configure --prefix=/usr
|
||||
make || return 1
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
cd python
|
||||
python setup.py install --root=${pkgdir} || return 1
|
||||
cd ${srcdir}
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../libmusicbrainz-${pkgver} \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
|
||||
-DBUILD_SHARED_LIBS:BOOL=ON \
|
||||
-DBUILD_STATIC_LIBS:BOOL=OFF
|
||||
make
|
||||
}
|
||||
md5sums=('d5e19bb77edd6ea798ce206bd05ccc5f'
|
||||
'9455555d03e3bd15d488ffdb2287ffa7')
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/build
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
Loading…
Reference in New Issue
Block a user