diff options
author | FabioLolix | 2020-09-02 23:25:39 +0200 |
---|---|---|
committer | FabioLolix | 2020-09-02 23:25:39 +0200 |
commit | 1473cd6efef74901f560618607c7cd139adc5d7b (patch) | |
tree | 816a41771fa2f34fa6da9aae40eca33d0711ccac | |
parent | 20f7ee211603107fc5ab2622f9256e4aac530bdd (diff) | |
download | aur-1473cd6efef74901f560618607c7cd139adc5d7b.tar.gz |
add flags
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 10 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = mjpg-streamer-git pkgdesc = Stream mjpeg frames from a webcam via http - pkgver = r346.501f636 - pkgrel = 2 + pkgver = r355.85f89a8 + pkgrel = 1 epoch = 1 url = https://github.com/jacksonliam/mjpg-streamer arch = x86_64 @@ -1,11 +1,11 @@ -# Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix +# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix # Contributor: Yunhui Fu <yhfudev@gmail.com> # Contributor: Tri Le <trile7@gmail.com> pkgname=mjpg-streamer-git epoch=1 -pkgver=r346.501f636 -pkgrel=2 +pkgver=r355.85f89a8 +pkgrel=1 pkgdesc="Stream mjpeg frames from a webcam via http" arch=(x86_64 i686 arm armv6h armv7h aarch64) url="https://github.com/jacksonliam/mjpg-streamer" @@ -17,6 +17,10 @@ makedepends=(git cmake protobuf-c zeromq sdl libgphoto2 v4l-utils python-numpy) source=("git+https://github.com/jacksonliam/mjpg-streamer.git") sha256sums=(SKIP) +export LDFLAGS="-Wl,-O1,--sort-common,--no-as-needed,-z,relro,-z,now" + +export CFLAGS="-fcommon" + pkgver() { cd "${pkgname/-git/}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" @@ -29,7 +33,7 @@ prepare() { build() { cd "${pkgname/-git/}/mjpg-streamer-experimental/_build" - cmake .. \ + cmake .. -Wno-dev \ -DCMAKE_INSTALL_PREFIX=/usr \ -DPLUGIN_INPUT_OPENCV=OFF \ -DENABLE_HTTP_MANAGEMENT=ON \ |