From b03a70339cf04a7c7ebf481073cb00cfc1b2c6e2 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sun, 18 Sep 2022 13:00:57 +0200 Subject: [PATCH] libcamera-clang-git: remove --- libcamera-clang-git/.SRCINFO | 38 ------------------ libcamera-clang-git/.gitignore | 6 --- libcamera-clang-git/.gitrepo | 12 ------ libcamera-clang-git/PKGBUILD | 71 ---------------------------------- 4 files changed, 127 deletions(-) delete mode 100644 libcamera-clang-git/.SRCINFO delete mode 100644 libcamera-clang-git/.gitignore delete mode 100644 libcamera-clang-git/.gitrepo delete mode 100644 libcamera-clang-git/PKGBUILD diff --git a/libcamera-clang-git/.SRCINFO b/libcamera-clang-git/.SRCINFO deleted file mode 100644 index ffaeee8..0000000 --- a/libcamera-clang-git/.SRCINFO +++ /dev/null @@ -1,38 +0,0 @@ -pkgbase = libcamera-clang-git - pkgdesc = A complex camera support library for Linux, Android, and ChromeOS (built with LLVM toolchain) - pkgver = r3203.76bd9f3d - pkgrel = 1 - url = https://libcamera.org/ - arch = x86_64 - arch = i686 - license = LGPL - license = GPL - license = Apache - license = BSD - license = MIT - license = custom - makedepends = python-yaml - makedepends = python-ply - makedepends = python-jinja - makedepends = pkgconf - makedepends = gnutls - makedepends = openssl - makedepends = git - makedepends = udev - makedepends = gstreamer - makedepends = qt5-tools - makedepends = libevent - makedepends = meson - makedepends = clang>=5.0 - depends = libc++ - depends = gst-plugins-base-libs - optdepends = qt5-base: for qcam test application - optdepends = libevent: for test commands - provides = libcamera - provides = libcamera-git - conflicts = libcamera - options = !docs - source = git+https://git.linuxtv.org/libcamera.git - md5sums = SKIP - -pkgname = libcamera-clang-git diff --git a/libcamera-clang-git/.gitignore b/libcamera-clang-git/.gitignore deleted file mode 100644 index 171919b..0000000 --- a/libcamera-clang-git/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -libcamera/ -src/ -pkg/ -.vscode/ -*.tar* -*.log \ No newline at end of file diff --git a/libcamera-clang-git/.gitrepo b/libcamera-clang-git/.gitrepo deleted file mode 100644 index 8bbe098..0000000 --- a/libcamera-clang-git/.gitrepo +++ /dev/null @@ -1,12 +0,0 @@ -; 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-clang-git.git - branch = master - commit = 2750f4678a3a4250f6d84636b2b3572d3ed4794c - parent = 675f6cd6a9a867a64d2ad00d5848966f841b2825 - method = merge - cmdver = 0.4.3 diff --git a/libcamera-clang-git/PKGBUILD b/libcamera-clang-git/PKGBUILD deleted file mode 100644 index 9543a05..0000000 --- a/libcamera-clang-git/PKGBUILD +++ /dev/null @@ -1,71 +0,0 @@ -# Maintainer: Sam L. Yes - -pkgname=libcamera-clang-git -pkgver=r3425.e68e0f1e -pkgrel=1 -pkgdesc='A complex camera support library for Linux, Android, and ChromeOS (built with LLVM toolchain)' -arch=('x86_64' 'i686') -url='https://libcamera.org/' -provides=('libcamera' 'libcamera-git') -conflicts=('libcamera') -makedepends=( - 'python-yaml' 'python-ply' 'python-jinja' 'pkgconf' 'gnutls' 'openssl' 'git' - 'udev' # for device hotplug enumeration - 'gstreamer' # for gstreamer support - 'qt5-tools' # for 'qcam' - 'libevent' # for 'cam' - #'gtest' # for 'lc-compliance' - 'meson' - 'clang>=5.0' -) -depends=( - 'libc++' - 'gst-plugins-base-libs' # for gstreamer support - #'lttng-ust' # for tracing with LTTng -) -optdepends=( - 'qt5-base: for qcam test application' - 'libevent: for test commands' -) -license=('LGPL' 'GPL' 'Apache' 'BSD' 'MIT' 'custom') -options=('!docs') -source=('git+https://git.linuxtv.org/libcamera.git') -md5sums=('SKIP') -_licensedir=/usr/share/licenses/${pkgname} - -prepare() { - sed -i 's|py_compile=True,||' ${srcdir}/libcamera/utils/ipc/mojo/public/tools/mojom/mojom/generate/template_expander.py -} - -pkgver() { - cd libcamera - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - -build() { - cd "${srcdir}/libcamera" - CC=clang CXX=clang++ arch-meson build \ - -Dwerror=false \ - -Dv4l2=true \ - -Dipas=ipu3,vimc \ - -Dpipelines=ipu3,uvcvideo,vimc \ - -Ddocumentation=disabled \ - -Dlc-compliance=disabled \ - -Dtracing=disabled # comment this line to enable LTTng support - ninja -C build -} - -check() { - cd ${srcdir}/libcamera - meson test -C build -} - -package() { - cd "$srcdir/libcamera" - DESTDIR="${pkgdir}" ninja -C build install - - # Install licenses - install -d ${pkgdir}/${_licensedir}/LICENSES - install -m644 COPYING.rst ${pkgdir}/${_licensedir} - install -m644 LICENSES/{BSD-{2,3}-Clause,CC-BY-SA-4.0,CC0-1.0,MIT,Linux-syscall-note}.txt ${pkgdir}/${_licensedir}/LICENSES -}