aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-04-15 05:28:03 +0000
committerTimo Teräs <timo.teras@iki.fi>2014-04-15 05:28:03 +0000
commit752efc30f48441457ce8a8a4f7ad9443e446cceb (patch)
tree4f78557ce1392cd468bfddc674139d08953a7c2d
parent9190e1db891841cd138597ff4b9c157720ebba7d (diff)
downloadalpine_aports-752efc30f48441457ce8a8a4f7ad9443e446cceb.tar.bz2
alpine_aports-752efc30f48441457ce8a8a4f7ad9443e446cceb.tar.xz
alpine_aports-752efc30f48441457ce8a8a4f7ad9443e446cceb.zip
main/pjproject: upgrade to 2.2.1
-rw-r--r--main/pjproject/APKBUILD13
-rw-r--r--main/pjproject/fix-bb-cp-uniqueness.patch12
2 files changed, 21 insertions, 4 deletions
diff --git a/main/pjproject/APKBUILD b/main/pjproject/APKBUILD
index 24f017275c..795c667f20 100644
--- a/main/pjproject/APKBUILD
+++ b/main/pjproject/APKBUILD
@@ -1,7 +1,7 @@
1# Contributor: Michael Mason <ms13sp@gmail.com> 1# Contributor: Michael Mason <ms13sp@gmail.com>
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=pjproject 3pkgname=pjproject
4pkgver=2.2 4pkgver=2.2.1
5pkgrel=0 5pkgrel=0
6pkgdesc="CLI Softphone" 6pkgdesc="CLI Softphone"
7url="http://www.pjsip.org/pjsua.htm" 7url="http://www.pjsip.org/pjsua.htm"
@@ -13,6 +13,7 @@ makedepends="$depends_dev"
13install= 13install=
14subpackages="$pkgname-dev pjsua" 14subpackages="$pkgname-dev pjsua"
15source="http://www.pjsip.org/release/$pkgver/$pkgname-$pkgver.tar.bz2 15source="http://www.pjsip.org/release/$pkgver/$pkgname-$pkgver.tar.bz2
16 fix-bb-cp-uniqueness.patch
16 musl-fixes.patch" 17 musl-fixes.patch"
17 18
18_builddir="$srcdir/$pkgname-$pkgver" 19_builddir="$srcdir/$pkgname-$pkgver"
@@ -70,6 +71,7 @@ build() {
70 71
71package() { 72package() {
72 cd "$_builddir" 73 cd "$_builddir"
74 install -d "$pkgdir"/usr/lib
73 make -j1 DESTDIR="$pkgdir" prefix=/usr install 75 make -j1 DESTDIR="$pkgdir" prefix=/usr install
74} 76}
75 77
@@ -79,9 +81,12 @@ pjsua() {
79 install -D -m755 pjsua "$subpkgdir"/usr/bin/pjsua 81 install -D -m755 pjsua "$subpkgdir"/usr/bin/pjsua
80} 82}
81 83
82md5sums="0172c649ce68a150dee04011133cfd09 pjproject-2.2.tar.bz2 84md5sums="6ed4bb7750c827dc1d881e209a3b62db pjproject-2.2.1.tar.bz2
851f152ad611b5fb0e44676e2701b53a15 fix-bb-cp-uniqueness.patch
83e92287afb144883546e39c382bd75cdd musl-fixes.patch" 86e92287afb144883546e39c382bd75cdd musl-fixes.patch"
84sha256sums="d926e7a9b76ccfcff493cf3cbc003ed6cd183d2bb29d96061b3fd38f70753014 pjproject-2.2.tar.bz2 87sha256sums="da1933336b38b65ff2254bed05ea1076531b16915777a252ea999cf7f3284cb3 pjproject-2.2.1.tar.bz2
88cae0255ddb8b6b6e07f6da5b448ec669b0727dc6d6c795e0d1cd8ce9ae504d40 fix-bb-cp-uniqueness.patch
85a9768e1ddc6e519048a5acc084ed1e9d2007bd0cd6291dde0828ea7efc837266 musl-fixes.patch" 89a9768e1ddc6e519048a5acc084ed1e9d2007bd0cd6291dde0828ea7efc837266 musl-fixes.patch"
86sha512sums="08d75d23c83a54deebcad4a980cb60e47a0ecaaebf8ae552296b088fbda8b69299763ae0b41a062e9b2e0f5c467fe91efd3b5d22855578a1d16ba20cbefde458 pjproject-2.2.tar.bz2 90sha512sums="ead780282a1b3df8ca326992d30b83236c3fdb9dbafb134b33d3f59484ce7253ca8014f2d7d8b98968a696b75e8a29a545b3aa34a66acdf55a21942ca9b30370 pjproject-2.2.1.tar.bz2
91cc4077c9999d4eb28cfc34080ea2cdfdc905726565afdca96d26979d734a1d70522c5e6307ec33c0d4f5f1a5b26699787cbd31fecb73b860b6b417eda50f37a1 fix-bb-cp-uniqueness.patch
871dd0d8dabe0c27f8d314a776b8873700755ae59346223a5bb5ec816ab42d4fa4c8d9281ed33ced9cba87177cdf6249e458c404c8fd0ac9ec0be8607b4a4e8a73 musl-fixes.patch" 921dd0d8dabe0c27f8d314a776b8873700755ae59346223a5bb5ec816ab42d4fa4c8d9281ed33ced9cba87177cdf6249e458c404c8fd0ac9ec0be8607b4a4e8a73 musl-fixes.patch"
diff --git a/main/pjproject/fix-bb-cp-uniqueness.patch b/main/pjproject/fix-bb-cp-uniqueness.patch
new file mode 100644
index 0000000000..c6846cd569
--- /dev/null
+++ b/main/pjproject/fix-bb-cp-uniqueness.patch
@@ -0,0 +1,12 @@
1diff -ru pjproject-2.2.1.orig/Makefile pjproject-2.2.1/Makefile
2--- pjproject-2.2.1.orig/Makefile 2014-04-15 08:14:35.075716775 -0300
3+++ pjproject-2.2.1/Makefile 2014-04-15 08:21:39.683417350 -0300
4@@ -108,7 +108,7 @@
5 install:
6 mkdir -p $(DESTDIR)$(libdir)/
7 # cp -af $(APP_LIB_FILES) $(DESTDIR)$(libdir)/
8- cp -af $(APP_LIBXX_FILES) $(DESTDIR)$(libdir)/
9+ cp -af $(sort $(APP_LIBXX_FILES)) $(DESTDIR)$(libdir)/
10 mkdir -p $(DESTDIR)$(includedir)/
11 for d in pjlib pjlib-util pjnath pjmedia pjsip; do \
12 cp -RLf $$d/include/* $(DESTDIR)$(includedir)/; \