Added patch

This commit is contained in:
Gerben Jan Dijkman 2023-02-21 15:14:56 +01:00
parent 54e1962c9e
commit 7826186a76
2 changed files with 22 additions and 0 deletions

View File

@ -25,6 +25,10 @@ DEPEND="
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
BDEPEND="" BDEPEND=""
PATCHES=(
"${FILESDIR}"/gentoo-linux-patch.patch
)
S="${WORKDIR}/camera-${COMMIT}" S="${WORKDIR}/camera-${COMMIT}"
src_prepare() { src_prepare() {

View File

@ -0,0 +1,18 @@
commit c89bac20537ae63779fef5403b21f9af9b435223
Author: Gerben Jan Dijkman <gjdijkman@gjdwebserver.nl>
Date: Tue Feb 21 15:12:55 2023 +0100
Removed for Gentoo Linux
diff --git a/src/meson.build b/src/meson.build
index f46e5d1..0cca8d5 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -28,7 +28,6 @@ camera_deps = [
camera_sources += camera_gresources
-commit_hash = run_command('git', ['rev-parse', '--short=8', 'HEAD'], check: true).stdout().strip()
camera_c_args = [
'-DHANDY_USE_UNSTABLE_API',
'-DCAMERA_APPLICATION_ID="@0@"'.format(application_id),