summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2018-02-15 13:54:54 +0300
committerCaleb Maclennan2018-02-15 13:56:16 +0300
commit984342c13eeaab3d3d5f20eced009140b2c150a1 (patch)
treed464a3e401c945039f634ad2e9dc09030d465cd5
parent3ce4ddeca6d3641517ef7f9b5e4579e6b46da991 (diff)
downloadaur-984342c13eeaab3d3d5f20eced009140b2c150a1.tar.gz
Adopt and move post install message to optdepends
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD19
-rw-r--r--pjproject.install18
3 files changed, 15 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5079392901f..3b9ebde923f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
# Generated by mksrcinfo v8
-# Fri Dec 8 05:31:54 UTC 2017
+# Thu Feb 15 10:54:35 UTC 2018
pkgbase = pjproject
pkgdesc = Open source SIP stack and media stack
pkgver = 2.7.1
- pkgrel = 1
+ pkgrel = 2
url = http://www.pjsip.org/
- install = pjproject.install
arch = i686
arch = x86_64
arch = armv7h
@@ -21,6 +20,9 @@ pkgbase = pjproject
depends = ffmpeg
depends = libsrtp
depends = opus
+ optdepends = alsa-lib
+ optdepends = e2fsprogs
+ optdepends = python
source = http://www.pjsip.org/release/2.7.1/pjproject-2.7.1.tar.bz2
sha256sums = 59fabc62a02b2b80857297cfb10e2c68c473f4a0acc6e848cfefe8421f2c3126
diff --git a/PKGBUILD b/PKGBUILD
index 01d1b74b2dd..4b07704b13a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,19 @@
-# Maintainer: Xavier Devlamynck <magicrhesus@ouranos.be>
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+# Contributor: Xavier Devlamynck <magicrhesus@ouranos.be>
# Contributor: Marti Raudsepp <marti@juffo.org>
-#Contributor: Travis Hegner <travis.hegner@gmail.com>
+# Contributor: Travis Hegner <travis.hegner@gmail.com>
pkgname=pjproject
pkgver=2.7.1
-pkgrel=1
-pkgdesc="Open source SIP stack and media stack"
+pkgrel=2
+pkgdesc='Open source SIP stack and media stack'
arch=('i686' 'x86_64' 'armv7h')
-url="http://www.pjsip.org/"
+url='http://www.pjsip.org/'
license=('GPL')
depends=('openssl' 'portaudio' 'speex' 'alsa-lib' 'libsamplerate' 'util-linux' 'ffmpeg' 'libsrtp' 'opus')
makedepends=('e2fsprogs' 'python')
-install=pjproject.install
-source=(http://www.pjsip.org/release/${pkgver}/pjproject-${pkgver}.tar.bz2)
+optdepends=('alsa-lib' 'e2fsprogs' 'python')
+source=("http://www.pjsip.org/release/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('59fabc62a02b2b80857297cfb10e2c68c473f4a0acc6e848cfefe8421f2c3126')
build() {
@@ -21,8 +22,8 @@ build() {
export CFLAGS="${CXXFLAGS} -DNDEBUG"
./configure --prefix=/usr --with-external-speex --with-external-srtp --with-external-pa --with-external-gsm --disable-oss --enable-shared --disable-opencore-amr --disable-v4l2 --disable-video --disable-sound
echo "#define PJ_HAS_IPV6 1" >> "${srcdir}/${pkgname}-${pkgver}/pjlib/include/pj/config_site.h"
- make -j1 dep
- make -j1
+ make -j1 dep
+ make -j1
}
package() {
diff --git a/pjproject.install b/pjproject.install
deleted file mode 100644
index b7fa377cfef..00000000000
--- a/pjproject.install
+++ /dev/null
@@ -1,18 +0,0 @@
-post_install() {
- cat << EOF
-==>
-==> To use py_pjsua (Python bindings for PJSUA),
-==> install 'alsa-lib', 'e2fsprogs', and 'python'
-==>
-EOF
-}
-
-post_upgrade() {
- post_install
-}
-
-op=$1
-shift
-[ "$(type -t "$op")" = "function" ] && $op "$@"
-
-# vim:set ts=2 sw=2 et: