add musicbrainz in main

This commit is contained in:
Ertuğrul Erata
2015-08-20 15:42:35 +03:00
parent 7ad53f61c2
commit 44bd24d0ea
9 changed files with 439 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure("--with-libxml2 \
--with-expat \
--without-gssapi \
--without-libproxy \
--with-ssl=openssl \
--with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt \
--enable-threadsafe-ssl=posix \
--enable-shared \
--disable-static")
def build():
autotools.make()
def install():
autotools.install()
pisitools.dodoc("THANKS", "TODO", "ChangeLog", "AUTHORS", "BUGS", "NEWS", "README", "doc/*.txt")
+11
View File
@@ -0,0 +1,11 @@
--- Makefile.in.orig 2009-01-29 03:13:36.000000000 +0200
+++ Makefile.in 2009-05-02 03:14:18.000000000 +0300
@@ -22,7 +22,7 @@
man3dir = $(mandir)/man3
datarootdir = @datarootdir@
datadir = @datadir@
-docdir = $(datadir)/doc/neon-@NEON_VERSION@
+docdir = $(datadir)/doc/neon
includedir = @includedir@
neonincludes = $(includedir)/neon
pkgconfigdir = $(libdir)/pkgconfig
+57
View File
@@ -0,0 +1,57 @@
--- neon-0.27.0/neon-config.in.multilib
+++ neon-0.27.0/neon-config.in
@@ -5,7 +5,11 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
-libdir=@libdir@
+
+libdir=`pkg-config --variable=libdir neon`
+CFLAGS=`pkg-config --cflags neon`
+LIBS=`pkg-config --libs neon`
+has_lfs=`pkg-config --variable=has_lfs neon`
usage()
{
@@ -23,7 +27,7 @@
--support FEATURE exit with success if feature is supported
Known features:
- dav [@NE_FLAG_DAV@], ssl [@NE_FLAG_SSL@], zlib [@NE_FLAG_ZLIB@], ipv6 [@NE_FLAG_IPV6@], lfs [@NE_FLAG_LFS@],
+ dav [@NE_FLAG_DAV@], ssl [@NE_FLAG_SSL@], zlib [@NE_FLAG_ZLIB@], ipv6 [@NE_FLAG_IPV6@], lfs [${has_lfs}],
i18n [@NE_FLAG_I18N@], ts_ssl [@NE_FLAG_TS_SSL@]
EOF
@@ -69,11 +73,10 @@
;;
--cflags)
- echo -I${includedir}/neon @NEON_CFLAGS@
+ echo ${CFLAGS}
;;
--libs)
- LIBS="-lneon @NEON_LIBS@"
# Don't add standard library paths
if test "$prefix" != "/usr"; then
LIBS="-L${libdir} ${LIBS}"
@@ -93,7 +96,7 @@
zlib|ZLIB) support @NE_FLAG_ZLIB@ ;;
ipv6|IPV6) support @NE_FLAG_IPV6@ ;;
dav|DAV) support @NE_FLAG_DAV@ ;;
- lfs|LFS) support @NE_FLAG_LFS@ ;;
+ lfs|LFS) support ${has_lfs} ;;
i18n|I18N) support @NE_FLAG_I18N@ ;;
ts_ssl|TS_SSL) support @NE_FLAG_TS_SSL@ ;;
*) support no ;;
--- neon-0.27.0/neon.pc.in.multilib
+++ neon-0.27.0/neon.pc.in
@@ -2,6 +2,7 @@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
+has_lfs=@NE_FLAG_LFS@
Name: neon
Description: HTTP/WebDAV client library
+79
View File
@@ -0,0 +1,79 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>neon</Name>
<Homepage>http://www.webdav.org/neon/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>HTTP and WebDAV client library</Summary>
<Description>neon is an HTTP and WebDAV client library with a C interface; providing a high-level interface to HTTP and WebDAV methods along with a low-level interface for HTTP request handling.</Description>
<Archive sha1sum="9e6297945226f90d66258b7ee05f757ff5cea10a" type="targz">http://www.webdav.org/neon/neon-0.30.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>openssl-devel</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>mit-kerberos</Dependency>
</BuildDependencies>
<Patches>
<Patch>fixdocdir.patch</Patch>
<Patch level="1">multilib.patch</Patch>
</Patches>
</Source>
<Package>
<Name>neon</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>expat</Dependency>
<Dependency>openssl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>neon-devel</Name>
<Summary>Development files for neon</Summary>
<RuntimeDependencies>
<Dependency release="current">neon</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-05-25</Date>
<Version>0.30.0</Version>
<Comment>Rebuild.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-30</Date>
<Version>0.30.0</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-09-03</Date>
<Version>0.29.6</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>neon</Name>
<Summary xml:lang="tr">C arayüzü ile birlikte gelen, Http ve WebDAV için istemci kitaplığı</Summary>
<Description xml:lang="tr">neon, C arayüzü sunan bir HTTP ve WebDAV istemci kitaplığıdır. HTTP ve WebDAV metodlarına yüksek seviyeli, HTTP istek değerlendirmesi için de düşük seviyeli bir arayüz sunar.</Description>
<Summary xml:lang="fr">Librairie cliente HTTP et WebDAV.</Summary>
</Source>
<Package>
<Name>neon-devel</Name>
<Summary xml:lang="tr">neon için geliştirme dosyaları</Summary>
</Package>
</PISI>