mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-10-16 18:54:13 +00:00
updated pkgbuild
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
# Contributor: Maxim Devaev <mdevaev@gmail.com>
|
# Maintainer: Maxim Devaev <mdevaev@gmail.com> [Software author]
|
||||||
# Author: Maxim Devaev <mdevaev@gmail.com>
|
|
||||||
|
|
||||||
|
|
||||||
pkgname=ustreamer
|
pkgname=ustreamer
|
||||||
@@ -7,10 +6,10 @@ pkgver=6.65
|
|||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Lightweight and fast MJPEG-HTTP streamer"
|
pkgdesc="Lightweight and fast MJPEG-HTTP streamer"
|
||||||
url="https://github.com/pikvm/ustreamer"
|
url="https://github.com/pikvm/ustreamer"
|
||||||
license=(GPL)
|
license=(GPL-3.0-or-later)
|
||||||
arch=(i686 x86_64 armv6h armv7h aarch64)
|
arch=(i686 x86_64 armv6h armv7h aarch64)
|
||||||
depends=(libjpeg-turbo libevent libbsd libgpiod systemd)
|
depends=(libjpeg-turbo libevent libbsd libgpiod systemd)
|
||||||
makedepends=(gcc make pkgconf systemd)
|
makedepends=(git)
|
||||||
source=(${pkgname}::"git+https://github.com/pikvm/ustreamer#commit=v${pkgver}")
|
source=(${pkgname}::"git+https://github.com/pikvm/ustreamer#commit=v${pkgver}")
|
||||||
md5sums=(SKIP)
|
md5sums=(SKIP)
|
||||||
|
|
||||||
@@ -19,7 +18,7 @@ _options="WITH_GPIO=1 WITH_SYSTEMD=1"
|
|||||||
if [ -e /usr/bin/python3 ]; then
|
if [ -e /usr/bin/python3 ]; then
|
||||||
_options="$_options WITH_PYTHON=1"
|
_options="$_options WITH_PYTHON=1"
|
||||||
depends+=("python>=3.14" "python<3.15")
|
depends+=("python>=3.14" "python<3.15")
|
||||||
makedepends+=(python-setuptools python-pip python-build python-wheel python-installer)
|
makedepends+=(python-setuptools python-build python-wheel python-installer)
|
||||||
fi
|
fi
|
||||||
if [ -e /usr/include/janus/plugins/plugin.h ];then
|
if [ -e /usr/include/janus/plugins/plugin.h ];then
|
||||||
depends+=(janus-gateway alsa-lib opus)
|
depends+=(janus-gateway alsa-lib opus)
|
||||||
|
|||||||
Reference in New Issue
Block a user