git subrepo clone --branch=master https://aur.archlinux.org/libcamera-git.git
subrepo: subdir: "libcamera-git" merged: "8571fdc" upstream: origin: "https://aur.archlinux.org/libcamera-git.git" branch: "master" commit: "8571fdc" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
This commit is contained in:
parent
2d7d6b40ca
commit
537d77870a
38
libcamera-git/.SRCINFO
Normal file
38
libcamera-git/.SRCINFO
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
pkgbase = libcamera-git
|
||||||
|
pkgdesc = A complex camera support library for Linux, Android, and ChromeOS
|
||||||
|
pkgver = r3687.3fa79cc6
|
||||||
|
pkgrel = 1
|
||||||
|
url = http://libcamera.org/
|
||||||
|
arch = x86_64
|
||||||
|
arch = i686
|
||||||
|
arch = aarch64
|
||||||
|
license = LGPL2.1
|
||||||
|
checkdepends = gtest
|
||||||
|
makedepends = boost
|
||||||
|
makedepends = gcc
|
||||||
|
makedepends = git
|
||||||
|
makedepends = gnutls
|
||||||
|
makedepends = lttng-ust
|
||||||
|
makedepends = meson
|
||||||
|
makedepends = openssl
|
||||||
|
makedepends = python-jinja
|
||||||
|
makedepends = python-ply
|
||||||
|
makedepends = python-yaml
|
||||||
|
makedepends = sed
|
||||||
|
makedepends = gst-plugins-base
|
||||||
|
optdepends = doxygen
|
||||||
|
optdepends = graphviz
|
||||||
|
optdepends = gstreamer
|
||||||
|
optdepends = libevent
|
||||||
|
optdepends = libtiff
|
||||||
|
optdepends = python-sphinx
|
||||||
|
optdepends = qt5-base
|
||||||
|
optdepends = qt5-tools
|
||||||
|
optdepends = udev
|
||||||
|
provides = libcamera
|
||||||
|
conflicts = libcamera
|
||||||
|
options = !buildflags
|
||||||
|
source = git+https://git.linuxtv.org/libcamera.git/
|
||||||
|
sha256sums = SKIP
|
||||||
|
|
||||||
|
pkgname = libcamera-git
|
12
libcamera-git/.gitrepo
Normal file
12
libcamera-git/.gitrepo
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
; DO NOT EDIT (unless you know what you are doing)
|
||||||
|
;
|
||||||
|
; This subdirectory is a git "subrepo", and this file is maintained by the
|
||||||
|
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
|
||||||
|
;
|
||||||
|
[subrepo]
|
||||||
|
remote = https://aur.archlinux.org/libcamera-git.git
|
||||||
|
branch = master
|
||||||
|
commit = 8571fdcc1f69911936426a8c367e669dd66d6980
|
||||||
|
parent = 2d7d6b40ca70e91bb67959df65fd8edcdaaeca4e
|
||||||
|
method = merge
|
||||||
|
cmdver = 0.4.3
|
86
libcamera-git/PKGBUILD
Normal file
86
libcamera-git/PKGBUILD
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
# Maintainer: Gennadiy Mykhailiuta <gmykhailiuta@gmail.com>
|
||||||
|
# Contributor: Sourav Das <souravdas142@gmail.com>
|
||||||
|
# Contributor: fordprefect <fordprefect@dukun.de>
|
||||||
|
|
||||||
|
pkgname=libcamera-git
|
||||||
|
_pkgname=libcamera
|
||||||
|
pkgver=r3687.3fa79cc6
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='A complex camera support library for Linux, Android, and ChromeOS'
|
||||||
|
arch=('x86_64' 'i686' 'aarch64' )
|
||||||
|
url='http://libcamera.org/'
|
||||||
|
makedepends=(
|
||||||
|
"boost"
|
||||||
|
"gcc"
|
||||||
|
"git"
|
||||||
|
"gnutls"
|
||||||
|
"lttng-ust"
|
||||||
|
"meson"
|
||||||
|
"openssl"
|
||||||
|
"python-jinja"
|
||||||
|
"python-ply"
|
||||||
|
"python-yaml"
|
||||||
|
"sed"
|
||||||
|
"gst-plugins-base"
|
||||||
|
)
|
||||||
|
checkdepends=(
|
||||||
|
"gtest"
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
"doxygen"
|
||||||
|
"graphviz"
|
||||||
|
"gstreamer"
|
||||||
|
"libevent"
|
||||||
|
"libtiff"
|
||||||
|
"python-sphinx"
|
||||||
|
"qt5-base"
|
||||||
|
"qt5-tools"
|
||||||
|
"udev"
|
||||||
|
)
|
||||||
|
license=('LGPL2.1')
|
||||||
|
options=('!buildflags')
|
||||||
|
source=(
|
||||||
|
'git+https://git.linuxtv.org/libcamera.git/'
|
||||||
|
)
|
||||||
|
sha256sums=(
|
||||||
|
'SKIP'
|
||||||
|
)
|
||||||
|
provides=("$_pkgname")
|
||||||
|
conflicts=("$_pkgname")
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "$srcdir/$_pkgname"
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$_pkgname"
|
||||||
|
|
||||||
|
arch-meson build \
|
||||||
|
-D b_lto=false \
|
||||||
|
-D werror=false \
|
||||||
|
-D documentation=disabled \
|
||||||
|
-D tracing=disabled \
|
||||||
|
-D lc-compliance=auto \
|
||||||
|
-D qcam=auto \
|
||||||
|
-D pycamera=disabled
|
||||||
|
|
||||||
|
meson compile -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
# Disabled because it's impoossible to build libcamera-git without webcam
|
||||||
|
# plugged in: https://aur.archlinux.org/packages/libcamera-git#comment-839459
|
||||||
|
# Enable once https://github.com/mesonbuild/meson/issues/6999 is resolved
|
||||||
|
#check() {
|
||||||
|
# cd "$srcdir/$_pkgname"
|
||||||
|
# meson test --no-rebuild --print-errorlogs --skip single_stream_test
|
||||||
|
# #ninja -C build test
|
||||||
|
#}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$_pkgname"
|
||||||
|
DESTDIR="$pkgdir" ninja -C build install
|
||||||
|
install -d -m 755 "$pkgdir"/usr/share/licenses/"$_pkgname"
|
||||||
|
install -D -m 644 ./LICENSES/* "$pkgdir"/usr/share/licenses/"$_pkgname"/
|
||||||
|
rm -rf "$pkgdir"/usr/share/doc/libcamera-0.0.0/html/.doctrees/
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user