summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Susha2018-02-12 12:06:08 +0300
committerAlexander Susha2018-02-12 12:06:08 +0300
commit86d06bea0b3ab065927b25095153bc9c81f4f420 (patch)
treee0f34715c837a96ccefa0971962f7c45b18a8473
downloadaur-86d06bea0b3ab065927b25095153bc9c81f4f420.tar.gz
Initial commit
-rw-r--r--.SRCINFO30
-rw-r--r--PKGBUILD33
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e7470d428cf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,30 @@
+pkgbase = kms-elements
+ pkgdesc = Kurento elements module
+ pkgver = 6.6.3
+ pkgrel = 1
+ url = http://www.kurento.org/
+ arch = any
+ license = LGPL v2.1
+ makedepends = cmake
+ makedepends = libnice
+ makedepends = boost-libs
+ makedepends = gstreamer
+ makedepends = gst-plugins-openwebrtc
+ makedepends = libsoup
+ makedepends = openssl-1.0
+ makedepends = kms-core
+ makedepends = valgrind
+ depends = boost-libs
+ depends = libnice
+ depends = gstreamer
+ depends = gst-plugins-openwebrtc
+ depends = libsoup
+ depends = openssl-1.0
+ depends = kms-core
+ provides = kms-elements
+ conflicts = kms-elements
+ source = https://github.com/Kurento/kms-elements/archive/6.6.3.tar.gz
+ sha256sums = 38b69a36009a17f3f74d822a594bb1faff7e0859733893667bcd936e10dfe26d
+
+pkgname = kms-elements
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..afc75f18ad3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Alexander Susha <isushik94@gmail.com>
+pkgname=kms-elements
+pkgver=6.6.3
+pkgrel=1
+pkgdesc='Kurento elements module'
+arch=('any')
+url='http://www.kurento.org/'
+license=('LGPL v2.1')
+depends=('boost-libs' 'libnice' 'gstreamer' 'gst-plugins-openwebrtc' 'libsoup' 'openssl-1.0' 'kms-core')
+makedepends=('cmake' 'libnice' 'boost-libs' 'gstreamer' 'gst-plugins-openwebrtc' 'libsoup' 'openssl-1.0' 'kms-core' 'valgrind')
+provides=(${pkgname})
+conflicts=(${pkgname})
+source=("https://github.com/Kurento/${pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('38b69a36009a17f3f74d822a594bb1faff7e0859733893667bcd936e10dfe26d')
+
+prepare(){
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ for FILE in $(find . -type f)
+ do
+ sed -i -E "s/gstreamer\-((\w|\d)+\-)?1\.5/gstreamer-\11.0/g" $FILE
+ done
+}
+build() {
+ mkdir -p "build"
+ cd "build"
+
+ cmake ${srcdir}/${pkgname}-${pkgver}/. -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations"
+}
+package() {
+ make -C build DESTDIR="${pkgdir}" install
+ mv ${pkgdir}/usr/etc ${pkgdir}/
+}