Github messages for voidlinux
 help / color / mirror / Atom feed
From: strec007 <strec007@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New pcakage: rpi-libcamera-apps-1.1.1
Date: Sat, 04 Mar 2023 11:31:32 +0100	[thread overview]
Message-ID: <20230304103132.M7OnA9Q_FFRq0y3_ACeIxFWJBJGAxsrUphjzpA1O6Rk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42579@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]

There is an updated pull request by strec007 against master on the void-packages repository

https://github.com/strec007/void-packages _pc_rpi-libcamera-apps
https://github.com/void-linux/void-packages/pull/42579

New pcakage: rpi-libcamera-apps-1.1.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/42579.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-_pc_rpi-libcamera-apps-42579.patch --]
[-- Type: text/x-diff, Size: 3659 bytes --]

From 281dec0dafc8bdd04ffa9cad17bacf4d172c5b9e Mon Sep 17 00:00:00 2001
From: Petr Cizmar <xxb0322@xpc.ovh>
Date: Fri, 3 Mar 2023 12:44:45 +0000
Subject: [PATCH 1/2] New package: rpi-libcamera:20230303

---
 common/shlibs                  |  2 ++
 srcpkgs/rpi-libcamera-devel    |  1 +
 srcpkgs/rpi-libcamera/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 33 insertions(+)
 create mode 120000 srcpkgs/rpi-libcamera-devel
 create mode 100644 srcpkgs/rpi-libcamera/template

diff --git a/common/shlibs b/common/shlibs
index 0f9c75af44bc..7c4f4d5c071f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4238,3 +4238,5 @@ libdate-tz.so.3 chrono-date-3.0.1_1
 libayatana-ido3-0.4.so.0 ayatana-ido-0.9.2_1
 libayatana-indicator3.so.7 libayatana-indicator-0.9.3_1
 libayatana-appindicator3.so.1 libayatana-appindicator-0.5.91_1
+libcamera.so.0.0.4 rpi-libcamera-230303_1
+libcamera-base.so.0.0.4 rpi-libcamera-230303_1
diff --git a/srcpkgs/rpi-libcamera-devel b/srcpkgs/rpi-libcamera-devel
new file mode 120000
index 000000000000..db165d6c689c
--- /dev/null
+++ b/srcpkgs/rpi-libcamera-devel
@@ -0,0 +1 @@
+rpi-libcamera
\ No newline at end of file
diff --git a/srcpkgs/rpi-libcamera/template b/srcpkgs/rpi-libcamera/template
new file mode 100644
index 000000000000..a8a8ab280b7a
--- /dev/null
+++ b/srcpkgs/rpi-libcamera/template
@@ -0,0 +1,30 @@
+# Template file for 'rpi-libcamera'
+_githash="923f5d707bb760bd3e724b3373568fa88c68454f"
+
+pkgname=rpi-libcamera
+version=20230303
+revision=1
+archs="armv6l* armv7l* aarch64*"
+build_style=meson
+hostmakedepends="pkg-config python3-yaml python3-ply python3-Jinja2 libcrypto1.1"
+makedepends="libyaml-devel gnutls-devel"
+short_desc="Raspberry Pi's clone of libcamera"
+maintainer="Petr Cizmar <xxb0322@xpc.ovh>"
+license="LGPL-2.1-or-later"
+homepage="https://github.com/raspberrypi/libcamera"
+distfiles="https://github.com/raspberrypi/libcamera/archive/${_githash}.tar.gz"
+checksum="ce3047b491308cf8027faf9ee3538d9d53e3b62e18ce39f282d6f84789ed57c5"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+rpi-libcamera-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}

From 8cffd45c98ce7b1cd2d784e7a7254adbd5fd321b Mon Sep 17 00:00:00 2001
From: Petr Cizmar <xxb0322@xpc.ovh>
Date: Fri, 3 Mar 2023 21:59:51 +0000
Subject: [PATCH 2/2] New package: rpi-libcamera-apps-1.1.1

---
 srcpkgs/rpi-libcamera-apps/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/rpi-libcamera-apps/template

diff --git a/srcpkgs/rpi-libcamera-apps/template b/srcpkgs/rpi-libcamera-apps/template
new file mode 100644
index 000000000000..96e1942dd316
--- /dev/null
+++ b/srcpkgs/rpi-libcamera-apps/template
@@ -0,0 +1,18 @@
+# Template file for 'rpi-libcamera-apps'
+pkgname=rpi-libcamera-apps
+version=1.1.2
+revision=1
+archs="aarch64* armv7l* armv6l*"
+build_style=cmake
+hostmakedepends="pkg-config"
+makedepends="rpi-libcamera-devel libopenjpeg-devel tiff-devel libdrm-devel libexif-devel boost-devel libpng-devel"
+short_desc="App suite to copy the functionality of the existing raspicam apps"
+maintainer="Petr Cizmar <xxb0322@xpc.ovh>"
+license="BSD-2-Clause"
+homepage="https://www.raspberrypi.com/documentation/computers/camera_software.html#libcamera-and-libcamera-apps"
+distfiles="https://github.com/raspberrypi/libcamera-apps/archive/refs/tags/v${version}.tar.gz"
+checksum=a19f3960b97ec1c0d42df8af972868ff0d4c48be6096e7ac02dbaaa4c7c75636
+
+post_install() {
+	vlicense license.txt
+}

  parent reply	other threads:[~2023-03-04 10:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-03 22:03 [PR PATCH] " strec007
2023-03-03 22:14 ` [PR PATCH] [Updated] " strec007
2023-03-04 10:10 ` strec007
2023-03-04 10:31 ` strec007 [this message]
2023-03-04 10:42 ` New pcakage: rpi-libcamera-apps-1.1.2 strec007
2023-03-04 15:18 ` classabbyamp
2023-03-04 15:28 ` strec007
2023-03-05 16:46 ` [PR REVIEW] New pcakages: rpi-libcamera:20230303 and rpi-libcamera-apps-1.1.2 paper42
2023-03-05 22:57 ` strec007
2023-06-04  2:12 ` github-actions
2023-06-19  1:59 ` [PR PATCH] [Closed]: " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230304103132.M7OnA9Q_FFRq0y3_ACeIxFWJBJGAxsrUphjzpA1O6Rk@z \
    --to=strec007@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).