Skip to content

Commit

Permalink
add: libcamera-git (#4481)
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer authored Aug 30, 2023
1 parent 8dd69fd commit bdef3cf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ lbry-deb
lemonbar-xft-git
lens
lf-bin
libcamera-git
libcutefish-git
libicu-deb
libndi4-deb
Expand Down
19 changes: 19 additions & 0 deletions packages/libcamera-git/libcamera-git.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name="libcamera-git"
gives="libcamera"
pkgver="0.1.0"
url="https://git.libcamera.org/libcamera/libcamera.git"
makedepends=("build-essential" "meson" "ninja-build" "pkg-config" "libyaml-dev" "python3-yaml" "python3-ply" "python3-jinja2" "libssl-dev" "openssl" "libdw-dev" "libunwind-dev" "libudev-dev" "python3-sphinx" "doxygen" "graphviz" "texlive-latex-extra" "libgstreamer1.0-dev" "libgstreamer-plugins-base1.0-dev" "libevent-dev" "libdrm-dev" "libjpeg-dev" "libsdl2-dev" "libexif-dev" "qtbase5-dev" "libqt5core5a" "libqt5gui5" "libqt5widgets5" "qttools5-dev-tools" "libtiff-dev" "liblttng-ust-dev" "python3-jinja2" "lttng-tools")
maintainer="Oren Klopfer <[email protected]>"
pkgdesc="Open source camera stack and framework"
pkgver() {
git ls-remote "${url}" master | cut -f1 | cut -c1-8
}

build() {
sudo meson setup build
sudo ninja -C build -j"${NCPU}"
}

package() {
sudo DESTDIR="${pkgdir}" ninja -C build install
}

0 comments on commit bdef3cf

Please sign in to comment.