aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-03-30 12:45:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-03-31 14:08:41 +0000
commit461c611d9e2de5f4c61eeb9ba3afeaf4c5e99afe (patch)
tree85d6685b7578bf63ee7221b4cfa79f4b5b95aba8
parentb4927e7bcf959fbe5bd185f80cc11b37e736ba32 (diff)
downloadaports-461c611d9e2de5f4c61eeb9ba3afeaf4c5e99afe.tar.gz
aports-461c611d9e2de5f4c61eeb9ba3afeaf4c5e99afe.tar.bz2
aports-461c611d9e2de5f4c61eeb9ba3afeaf4c5e99afe.tar.xz
main/gsm: upgrade to 1.0.14
-rw-r--r--main/gsm/APKBUILD18
-rw-r--r--main/gsm/gsm-warnings.patch43
2 files changed, 11 insertions, 50 deletions
diff --git a/main/gsm/APKBUILD b/main/gsm/APKBUILD
index e2548140fd..d29d8f584b 100644
--- a/main/gsm/APKBUILD
+++ b/main/gsm/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gsm
-pkgver=1.0.13
+pkgver=1.0.14
pkgrel=0
_soname=1.0.12
pkgdesc="Shared libraries for GSM speech compressor"
@@ -16,10 +16,9 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="http://www.quut.com/gsm/gsm-$pkgver.tar.gz
gsm-64bit.patch
gsm-makefile.patch
- gsm-warnings.patch
"
-_builddir="$srcdir"/gsm-1.0-pl13
+_builddir="$srcdir"/gsm-${pkgver%.*}-pl${pkgver##*.}
prepare() {
local i
cd "$_builddir"
@@ -43,7 +42,7 @@ package() {
"$pkgdir"/usr/lib \
"$pkgdir"/usr/share/man/man1 \
"$pkgdir"/usr/share/man/man3
-
+
make install \
INSTALL_ROOT="$pkgdir"/usr \
GSM_INSTALL_INC="$pkgdir"/usr/include/gsm \
@@ -63,7 +62,12 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}
-md5sums="c1ba392ce61dc4aff1c29ea4e92f6df4 gsm-1.0.13.tar.gz
+md5sums="4cbb4e7b73842de3d12d30b0d74200d4 gsm-1.0.14.tar.gz
1e4f975729e58fe309bda013b26020d9 gsm-64bit.patch
-5d7da37bbc094b392c406df24a15958b gsm-makefile.patch
-a04797e67d809de42c77f9bd0027eb34 gsm-warnings.patch"
+5d7da37bbc094b392c406df24a15958b gsm-makefile.patch"
+sha256sums="5814a16a30b3c026871b3739812dc4a2a84299331182c987da1c212c93e9352c gsm-1.0.14.tar.gz
+2b00d592f7b69e0e223e821a19f155d5e98648df07e34e338cb1b1420e4e0751 gsm-64bit.patch
+c400c9fad3b4f154929deb9cf987996ff554d725749de76acbb18427c101a2e7 gsm-makefile.patch"
+sha512sums="eefe19bdbc1fd3bc7499db664067b997c57d718e40598d6d330be971d9d2b0a744fc92b135acb5bbad83aacea59bdb061b4230dc0ebcf063bf4afede0e4a2827 gsm-1.0.14.tar.gz
+5b01f6d2fd3ee7cd859da70870463e2ccc6614c5fb1bd5efc88a223a0c5477271221557fef13ba46697e70cc5820c13efff738413f8990d5884b95cc89c30152 gsm-64bit.patch
+8a9b32ca6bf049e92840ac4ada40b6963fac7ffec23f4764f353795d29d58e1be28e83a927fa0919b95da42f97f603fe82764e999aaed566f88b4031a12877ca gsm-makefile.patch"
diff --git a/main/gsm/gsm-warnings.patch b/main/gsm/gsm-warnings.patch
deleted file mode 100644
index 8bec416adf..0000000000
--- a/main/gsm/gsm-warnings.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- gsm-1.0-pl12/src/code.c.warn 2006-04-26 21:16:50.000000000 +0200
-+++ gsm-1.0-pl12/src/code.c 2007-05-11 00:26:52.000000000 +0200
-@@ -9,8 +9,8 @@
- #include "config.h"
-
-
--#ifdef HAS_STDLIB_H
--#include <stdlib.h>
-+#ifdef HAS_STRING_H
-+#include <string.h>
- #else
- # include "proto.h"
- extern char * memcpy P((char *, char *, int));
---- gsm-1.0-pl12/src/toast.c.warn 2006-04-26 21:14:26.000000000 +0200
-+++ gsm-1.0-pl12/src/toast.c 2007-05-11 00:26:52.000000000 +0200
-@@ -6,6 +6,8 @@
-
- /* $Header: /home/fedora/jkeating/pkgs/rpms/gsm/devel/gsm-warnings.patch,v 1.1 2007/05/11 23:18:21 rathann Exp $ */
-
-+#include <stdio.h>
-+#include <getopt.h>
- #include "toast.h"
-
- /* toast -- lossy sound compression using the gsm library.
---- gsm-1.0-pl12/add-test/add_test.c.warn 2006-04-26 21:14:25.000000000 +0200
-+++ gsm-1.0-pl12/add-test/add_test.c 2007-05-11 00:28:03.000000000 +0200
-@@ -9,6 +9,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <unistd.h>
-
- #include "gsm.h"
-
-@@ -29,7 +30,7 @@
- longword M_gsm_L_mult P((word op1, word op2));
- longword M_gsm_L_add P((longword op1, longword op2));
-
--help()
-+void help(void)
- {
- puts( " add a b sub a b mult a b div a b" );
- puts( "L_add A B L_sub A B L_mult A B mult_r a b" );