aboutsummaryrefslogtreecommitdiffstats
path: root/main/live-media/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-04-24 14:52:15 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-04-24 14:52:15 +0000
commit0e1618a05b60a4a00be8fea97becbdb9c7349d8a (patch)
tree9108c5fe8cad2fd232e6b55fb025acaca2db031a /main/live-media/APKBUILD
parente64d28e54f5b0f9796e6971b46765afa5ef041c1 (diff)
downloadaports-0e1618a05b60a4a00be8fea97becbdb9c7349d8a.tar.bz2
aports-0e1618a05b60a4a00be8fea97becbdb9c7349d8a.tar.xz
main/live-media: upgrade to 2017.04.10, check() unsupported, modernize APKBUILD
Diffstat (limited to 'main/live-media/APKBUILD')
-rw-r--r--main/live-media/APKBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/main/live-media/APKBUILD b/main/live-media/APKBUILD
index 046f449aff..f68b128c04 100644
--- a/main/live-media/APKBUILD
+++ b/main/live-media/APKBUILD
@@ -1,26 +1,24 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=live-media
-pkgver=2017.01.26
+pkgver=2017.04.10
pkgrel=0
pkgdesc="A set of C++ libraries for multimedia streaming"
url="http://live555.com/liveMedia"
arch="all"
license="LGPL"
-depends=
-makedepends=
subpackages="$pkgname-dev $pkgname-utils"
+options="!check"
source="http://live555.com/liveMedia/public/live.$pkgver.tar.gz"
-
-_builddir="$srcdir"/live
+builddir="$srcdir"/live
prepare() {
- cd "$_builddir"
+ cd "$builddir"
sed -e "/^COMPILE_OPTS/s/$/ $CFLAGS -fPIC -DPIC -DXLOCALE_NOT_USED=1 -DRTSPCLIENT_SYNCHRONOUS_INTERFACE/" \
-i config.linux-with-shared-libraries
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./genMakefiles linux-with-shared-libraries
make C_COMPILER="${CC:-gcc}" CPLUSPLUS_COMPILER="${CXX:-g++}" \
|| return 1
@@ -28,7 +26,7 @@ build() {
package() {
local testprog f so
- cd "$_builddir"
+ cd "$builddir"
mkdir -p "$pkgdir"/usr/lib
for f in BasicUsageEnvironment UsageEnvironment liveMedia groupsock; do
mkdir -p "$pkgdir"/usr/include/$f
@@ -55,6 +53,4 @@ utils() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-md5sums="9656e2e818cb2f34987ded2593802fba live.2017.01.26.tar.gz"
-sha256sums="3c4d440b79e415eb3a86d30d0cd061d3edcaaa0281909e8629e9756c2c375458 live.2017.01.26.tar.gz"
-sha512sums="2123d78c18cb2a0f522450aa426beceefe7f70b659ec9c9f04045cbde8e53a927b7909172a42da3967be73989b16f444f02e0b70dab671d4c75e567d8939ad23 live.2017.01.26.tar.gz"
+sha512sums="ab5e790c654b01893fc5409ec69007096b31b19ccecb323319f759738e264f3cde06c7d60b84a4d078fbd20e44aa832352fec61d7ba6e0abbc24027203613349 live.2017.04.10.tar.gz"