diff options
author | Alexander Susha | 2018-04-14 14:58:05 +0300 |
---|---|---|
committer | Alexander Susha | 2018-04-14 14:58:05 +0300 |
commit | 1e742b23419119c126a7409e0d418f0f92d8e40b (patch) | |
tree | 69e32c519eae976897a98aa5c5711bfc02073fbb | |
parent | 85e6fe0abc03afb5bfdeaa445e75fbb599673512 (diff) | |
download | aur-1e742b23419119c126a7409e0d418f0f92d8e40b.tar.gz |
Upgrade. Added a patch for a gstreamer plugin
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | opencvfilter.c.patch | 10 |
2 files changed, 20 insertions, 6 deletions
@@ -1,21 +1,25 @@ # Maintainer: Alexander Susha <isushik94@gmail.com> pkgname=kms-filters -pkgver=6.6.2 +pkgver=6.7.1 pkgrel=1 pkgdesc='Kurento filters module' arch=('any') url='http://www.kurento.org/' license=('LGPL v2.1') -depends=('libsoup' 'kms-core' 'kms-elements' 'opencv') -makedepends=('cmake' 'pkg-config' 'libsoup' 'kms-core' 'kms-elements' 'opencv') +depends=('libsoup' 'kms-core>=6.7.0' 'kms-elements>=6.7.0' 'opencv') +makedepends=('cmake' 'pkg-config' 'libsoup' 'kms-core>=6.7.0' 'kms-elements>=6.7.0' 'opencv') provides=(${pkgname}) conflicts=(${pkgname}) -source=("https://github.com/Kurento/${pkgname}/archive/${pkgver}.tar.gz") -sha256sums=('d970382ace5e03587a3107ef133095a5be7bbd9ae0dac90157051442277c0506') +source=("https://github.com/Kurento/${pkgname}/archive/${pkgver}.tar.gz" + 'opencvfilter.c.patch') +sha256sums=('d26b751e282657c8406bdf6d0d39b8c3472132d7692375437c72ec52adc1b13f' + '36f865b924dcb2fc85e9c00bd06a47daeeccbf633085886b21c288ae5000564a') prepare(){ cd ${srcdir}/${pkgname}-${pkgver} + patch -Nup0 < ../opencvfilter.c.patch + for FILE in $(find . -type f) do sed -i -E "s/gstreamer\-((\w|\d)+\-)?1\.5/gstreamer-\11.0/g" $FILE @@ -34,7 +38,7 @@ 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" + 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 diff --git a/opencvfilter.c.patch b/opencvfilter.c.patch new file mode 100644 index 000000000000..1a2f1f61c69d --- /dev/null +++ b/opencvfilter.c.patch @@ -0,0 +1,10 @@ +--- src/gst-plugins/opencvfilter/opencvfilter.c 2018-04-13 16:22:46.256710296 +0300 ++++ src/gst-plugins/opencvfilter/opencvfilter.c 2018-04-14 14:39:23.549210435 +0300 +@@ -33,6 +33,6 @@ + + GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, + GST_VERSION_MINOR, +- kmsopencvfilter, ++ opencvfilter, + "Kurento generic opencv filter", + init, VERSION, GST_LICENSE_UNKNOWN, "Kurento", "http://kurento.com/") |