From 02ec446e7c6c2c727f3901a56e697896ec2d8a56 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 22 Jul 2018 00:15:19 -0500 Subject: user/gavl: pull in, fix up somewhat --- user/gavl/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ user/gavl/musl-sched_h.patch | 11 +++++++++++ 2 files changed, 51 insertions(+) create mode 100644 user/gavl/APKBUILD create mode 100644 user/gavl/musl-sched_h.patch (limited to 'user/gavl') diff --git a/user/gavl/APKBUILD b/user/gavl/APKBUILD new file mode 100644 index 000000000..bc81e1a5b --- /dev/null +++ b/user/gavl/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter +# Maintainer: +pkgname=gavl +pkgver=1.4.0 +pkgrel=2 +pkgdesc="Generic metadata container library" +url="http://gmerlin.sourceforge.net/" +arch="all" +options="!check" # No test suite. +license="GPL-2.0+" +depends="" +makedepends="doxygen" +subpackages="$pkgname-dev $pkgname-doc" +source="https://downloads.sourceforge.net/sourceforge/gmerlin/gavl-$pkgver.tar.gz + musl-sched_h.patch" + +prepare() { + default_prepare + update_config_sub +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="beda0073cab865fdb3a55de5d5c800fabcd40b21c5bb5b5f9d43046db3602d8967fb8b893325fcdaca3fa66d978aa3cae79a4a797d43d40ad50ea5af752a650a gavl-1.4.0.tar.gz +eb73637c3b9d1ed5376eda689aa48d189d35e3b891259e016dc48af743a6fd46c30ea552707c8b563362cb1bab18c49d4b4098aca2cc6ebf0d271a4c1e9b7d8c musl-sched_h.patch" diff --git a/user/gavl/musl-sched_h.patch b/user/gavl/musl-sched_h.patch new file mode 100644 index 000000000..2de369fbc --- /dev/null +++ b/user/gavl/musl-sched_h.patch @@ -0,0 +1,11 @@ +--- ./src/benchmark.c 2012-06-08 13:49:30.000000000 +0200 ++++ ./src/benchmark.c 2015-10-03 13:23:43.279324001 +0200 +@@ -21,6 +21,8 @@ + + + #include ++#define _GNU_SOURCE ++#include + #include + #include + #include /* Private header */ -- cgit v1.2.3-70-g09d2