diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-23 05:53:12 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-23 05:53:12 -0500 |
commit | 0eb073effd58ce6a5a23d7dd502441ac1e0b11a3 (patch) | |
tree | 01609faf778918355ec0b00ba1caf01d1dc833cf /user | |
parent | 3a3eda47040b4a3f019e6e831d1779d7ae8b618b (diff) | |
download | packages-0eb073effd58ce6a5a23d7dd502441ac1e0b11a3.tar.gz packages-0eb073effd58ce6a5a23d7dd502441ac1e0b11a3.tar.bz2 packages-0eb073effd58ce6a5a23d7dd502441ac1e0b11a3.tar.xz packages-0eb073effd58ce6a5a23d7dd502441ac1e0b11a3.zip |
user/libmms: pull in, fix up, remove unnecessary GLib, modernise
Diffstat (limited to 'user')
-rw-r--r-- | user/libmms/APKBUILD | 43 | ||||
-rw-r--r-- | user/libmms/remove-glib-dep.patch | 14 |
2 files changed, 57 insertions, 0 deletions
diff --git a/user/libmms/APKBUILD b/user/libmms/APKBUILD new file mode 100644 index 000000000..85cec3b25 --- /dev/null +++ b/user/libmms/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Carlo Landmeter +# Maintainer: +pkgname=libmms +pkgver=0.6.4 +pkgrel=1 +pkgdesc="MMS stream protocol library" +url="https://sourceforge.net/projects/libmms/" +arch="all" +options="!check" # No test suite. +license="LGPL-2.1+" +depends="" +makedepends="" +subpackages="$pkgname-dev" +source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz + remove-glib-dep.patch + " + +prepare() { + cd "$builddir" + update_config_sub + default_prepare +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="9771c697515f5232eaeaff79e68fe15e34d8aa38aa5d3d68525216357223f314c544d71b5fe18d79a77682f41b1b5d9fb5e7c3c99d0cba5723d2e3de31faec96 libmms-0.6.4.tar.gz +1dc8de8f1851e9ffefc86482fa251d7117a500b153606ead7cd3972da354a4d85e3fb6d13faf098c0ce7ab8547e2117bfc6eacafce57b5784154fc547d3d0003 remove-glib-dep.patch" diff --git a/user/libmms/remove-glib-dep.patch b/user/libmms/remove-glib-dep.patch new file mode 100644 index 000000000..761733325 --- /dev/null +++ b/user/libmms/remove-glib-dep.patch @@ -0,0 +1,14 @@ +https://sourceforge.net/p/libmms/bugs/22/ + +libmms does not use GLib any more. + +--- libmms-0.6.4/pkgconfig/libmms.pc.in.old 2014-03-28 13:25:43.000000000 +0000 ++++ libmms-0.6.4/pkgconfig/libmms.pc.in 2018-07-23 10:52:10.130000000 +0000 +@@ -5,7 +5,6 @@ + + Name: libmms + Description: Library implementing the MMS protocol +-Requires: glib-2.0 + Version: @VERSION@ + Libs: -L${libdir} -lmms -lm + Cflags: -I${includedir} |