Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
Meta MAR Fast Boot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Qiyang Sun
Meta MAR Fast Boot
Commits
1770e54d
Verified
Commit
1770e54d
authored
9 months ago
by
Qiyang Sun
Browse files
Options
Downloads
Patches
Plain Diff
Add Gstreamer plugin libcamerasrc
parent
8b81f9d8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
recipes-multimedia/libcamera/libcamera_0.3.0.bb
+10
-7
10 additions, 7 deletions
recipes-multimedia/libcamera/libcamera_0.3.0.bb
with
10 additions
and
7 deletions
recipes-multimedia/libcamera/libcamera_0.3.0.bb
+
10
−
7
View file @
1770e54d
...
@@ -16,13 +16,11 @@ PE = "1"
...
@@ -16,13 +16,11 @@ PE = "1"
S = "${WORKDIR}/git"
S = "${WORKDIR}/git"
DEPENDS = "python3-pyyaml-native python3-jinja2-native python3-ply-native python3-jinja2-native udev gnutls chrpath-native libevent libyaml"
DEPENDS = "python3-pyyaml-native python3-jinja2-native python3-ply-native python3-jinja2-native udev gnutls chrpath-native libevent libyaml
glib-2.0 gstreamer1.0 gstreamer1.0-plugins-bad gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly
"
DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}"
DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}"
PACKAGES =+ "${PN}-gst"
PACKAGECONFIG ?= ""
PACKAGECONFIG ??= "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base"
PACKAGECONFIG ??= ""
PACKAGECONFIG[gst] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base"
LIBCAMERA_PIPELINES ??= "auto"
LIBCAMERA_PIPELINES ??= "auto"
...
@@ -33,6 +31,7 @@ EXTRA_OEMESON = " \
...
@@ -33,6 +31,7 @@ EXTRA_OEMESON = " \
-Dlc-compliance=disabled \
-Dlc-compliance=disabled \
-Dtest=false \
-Dtest=false \
-Ddocumentation=disabled \
-Ddocumentation=disabled \
-Dgstreamer=enabled \
"
"
RDEPENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland qt', 'qtwayland', '', d)}"
RDEPENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland qt', 'qtwayland', '', d)}"
...
@@ -64,9 +63,13 @@ do_package_recalculate_ipa_signatures() {
...
@@ -64,9 +63,13 @@ do_package_recalculate_ipa_signatures() {
${S}/src/ipa/ipa-sign-install.sh ${B}/src/ipa-priv-key.pem "${modules}"
${S}/src/ipa/ipa-sign-install.sh ${B}/src/ipa-priv-key.pem "${modules}"
}
}
FILES:${PN} += " ${libexecdir}/libcamera/v4l2-compat.so"
FILES:${PN} += " \
FILES:${PN}-gst = "${libdir}/gstreamer-1.0"
${libexecdir}/libcamera/v4l2-compat.so \
${libdir}/gstreamer-1.0 \
"
# libcamera-v4l2 explicitly sets _FILE_OFFSET_BITS=32 to get access to
# libcamera-v4l2 explicitly sets _FILE_OFFSET_BITS=32 to get access to
# both 32 and 64 bit file APIs.
# both 32 and 64 bit file APIs.
GLIBC_64BIT_TIME_FLAGS = ""
GLIBC_64BIT_TIME_FLAGS = ""
INSANE_SKIP =+ "32bit-time"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment