From 75588174d69a68283103f63671ce3b478592d96b Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Thu, 29 Mar 2018 18:21:34 +0000 Subject: testing/libxspf: move to community --- community/libxspf/APKBUILD | 38 +++++++++++++++++++++++++++++ community/libxspf/add-missing-include.patch | 10 ++++++++ testing/libxspf/APKBUILD | 38 ----------------------------- testing/libxspf/add-missing-include.patch | 10 -------- 4 files changed, 48 insertions(+), 48 deletions(-) create mode 100644 community/libxspf/APKBUILD create mode 100644 community/libxspf/add-missing-include.patch delete mode 100644 testing/libxspf/APKBUILD delete mode 100644 testing/libxspf/add-missing-include.patch diff --git a/community/libxspf/APKBUILD b/community/libxspf/APKBUILD new file mode 100644 index 0000000000..3756b2294c --- /dev/null +++ b/community/libxspf/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Roberto Oliveira +# Maintainer: Roberto Oliveira +pkgname=libxspf +pkgver=1.2.0 +pkgrel=0 +pkgdesc="Brings XSPF playlist reading and writing support to C++ application" +url="http://libspiff.sourceforge.net" +arch="all" +license="BSD" +makedepends="expat-dev uriparser-dev cpptest-dev" +subpackages="$pkgname-dev" +source="http://downloads.xiph.org/releases/xspf/libxspf-1.2.0.tar.gz + add-missing-include.patch" +builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + default_prepare + update_config_guess +} + +build() { + cd "$builddir" + ./configure --prefix=/usr + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make install DESTDIR="$pkgdir" +} + +sha512sums="ff1816e782e8967c5d672acff268be33f21c2add86a057da6cee085ca87e9a985dc1ea07e94f046e95a18afaf55b014d089883cb9db0532f5ec0697ca4e806fb libxspf-1.2.0.tar.gz +f511bf02791e348492f45901454ec8db6ac2c3f5d1707aff8aa3471853870eed89767564749412e13c0542585057da48c453412bd533418ecc1e2b2a103cc8d6 add-missing-include.patch" diff --git a/community/libxspf/add-missing-include.patch b/community/libxspf/add-missing-include.patch new file mode 100644 index 0000000000..7cebb346a7 --- /dev/null +++ b/community/libxspf/add-missing-include.patch @@ -0,0 +1,10 @@ +--- a/examples/read/read.cpp ++++ b/examples/read/read.cpp +@@ -43,6 +43,7 @@ + #include + #include // MAX_PATH + #include // PATH_MAX ++#include // getcwd + + + #if defined(__WIN32__) || defined(WIN32) diff --git a/testing/libxspf/APKBUILD b/testing/libxspf/APKBUILD deleted file mode 100644 index 3756b2294c..0000000000 --- a/testing/libxspf/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Roberto Oliveira -# Maintainer: Roberto Oliveira -pkgname=libxspf -pkgver=1.2.0 -pkgrel=0 -pkgdesc="Brings XSPF playlist reading and writing support to C++ application" -url="http://libspiff.sourceforge.net" -arch="all" -license="BSD" -makedepends="expat-dev uriparser-dev cpptest-dev" -subpackages="$pkgname-dev" -source="http://downloads.xiph.org/releases/xspf/libxspf-1.2.0.tar.gz - add-missing-include.patch" -builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - default_prepare - update_config_guess -} - -build() { - cd "$builddir" - ./configure --prefix=/usr - make -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make install DESTDIR="$pkgdir" -} - -sha512sums="ff1816e782e8967c5d672acff268be33f21c2add86a057da6cee085ca87e9a985dc1ea07e94f046e95a18afaf55b014d089883cb9db0532f5ec0697ca4e806fb libxspf-1.2.0.tar.gz -f511bf02791e348492f45901454ec8db6ac2c3f5d1707aff8aa3471853870eed89767564749412e13c0542585057da48c453412bd533418ecc1e2b2a103cc8d6 add-missing-include.patch" diff --git a/testing/libxspf/add-missing-include.patch b/testing/libxspf/add-missing-include.patch deleted file mode 100644 index 7cebb346a7..0000000000 --- a/testing/libxspf/add-missing-include.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/examples/read/read.cpp -+++ b/examples/read/read.cpp -@@ -43,6 +43,7 @@ - #include - #include // MAX_PATH - #include // PATH_MAX -+#include // getcwd - - - #if defined(__WIN32__) || defined(WIN32) -- cgit v1.2.3