Date: Friday, May 12, 2023 @ 15:09:36
  Author: alex19ep
Revision: 1460101

archrelease: copy trunk to community-staging-x86_64

Added:
  baresip/repos/community-staging-x86_64/
  baresip/repos/community-staging-x86_64/PKGBUILD
    (from rev 1460100, baresip/trunk/PKGBUILD)

----------+
 PKGBUILD |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

Copied: baresip/repos/community-staging-x86_64/PKGBUILD (from rev 1460100, 
baresip/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2023-05-12 15:09:36 UTC (rev 1460101)
@@ -0,0 +1,54 @@
+# Maintainer: Alexander Epaneshnikov <[email protected]>
+# Contributor: Andrew Sun <adsun701 at gmail dot com>
+# Contributor: Dmitrij D. Czarkoff <czarkoff at gmail dot com>
+
+pkgname=baresip
+pkgver=3.1.0
+pkgrel=1
+pkgdesc="portable and modular SIP User-Agent with audio and video support"
+arch=('x86_64')
+url="https://github.com/baresip/baresip";
+license=('BSD')
+depends=(libre.so openssl)
+optdepends=('libfdk-aac: AAC audio codec'
+            'alsa-lib: ALSA audio driver'
+            'opencore-amr: Adaptive Multi-Rate (AMR) audio codec'
+            'aom: (av1 module}'
+            'codec2: CODEC2 low-bitrate speech audio codec'
+            'ffmpeg: (avcodec, avformat, h265 modules)'
+            'gsm: (gsm module)'
+            'gst-plugins-bad: (gst1, gst_video1 modules)'
+            'gst-plugins-base: (gst1, gst_video1 modules)'
+            'gst-plugins-good: (gst1, gst_video1 modules)'
+            'gst-plugins-ugly: (gst1, gst_video1 modules)'
+            'gtk3: gtk+ user interface'
+            'jack2: JACK Audio Connection Kit audio driver'
+            'lame: MPA audio codec'
+            'libvpx: (vpx module)'
+            'libsndfile: (sndfile module)'
+            'libpng: Snapshot video module'
+            'libpulse: Pulseaudio audio driver'
+            'libx11: (x11, x11grab modules)'
+            'mpg123: (rst module)'
+            'opus: (opus module)'
+            'portaudio: Portaudio audio driver'
+            'sdl2: (sdl2 module)'
+            'spandsp: (g722, g726,plc modules)'
+            'speexdsp: (speex_aec, speex_pp modules)'
+            'sndio: sndio audio driver'
+            'v4l-utils: (v4l2 module)')
+makedepends=(${optdepends[@]/%:*/} python cmake)
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/baresip/baresip/archive/v${pkgver}.tar.gz";)
+sha256sums=('de69823a54ecd057a9ffc0ca6f9b3cf9562848da1f15d5df8a97a4ae6f8daf37')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  cmake -B build -DCMAKE_BUILD_TYPE='None' -DCMAKE_INSTALL_PREFIX='/usr' 
-Wno-dev
+  cmake --build build
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  DESTDIR="$pkgdir" cmake --install build
+  install -vDm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Reply via email to