aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-08-19 04:46:13 +0000
committerpsykose <alice@ayaya.dev>2022-08-19 06:46:13 +0200
commitfa0dffbe149c0225245e2557a85e2c3c46592567 (patch)
tree8a58f53ae31224b8b36848e4eb5c9f86db5166f8
parent1d4e2d796ad208cad51ee94ea276a6fada18893f (diff)
downloadaports-fa0dffbe149c0225245e2557a85e2c3c46592567.tar.gz
aports-fa0dffbe149c0225245e2557a85e2c3c46592567.tar.bz2
aports-fa0dffbe149c0225245e2557a85e2c3c46592567.tar.xz
community/libcamera: fix build with new py3-sphinx
-rw-r--r--community/libcamera/APKBUILD4
-rw-r--r--community/libcamera/sphinx.patch13
2 files changed, 16 insertions, 1 deletions
diff --git a/community/libcamera/APKBUILD b/community/libcamera/APKBUILD
index cb0759425d..a106ff3242 100644
--- a/community/libcamera/APKBUILD
+++ b/community/libcamera/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=libcamera
pkgver=0_git20211109
-pkgrel=6
+pkgrel=7
_commit="f2a1817275db8fb77acb5f2771b7577be8642194"
pkgdesc="Linux camera framework"
url="https://libcamera.org/"
@@ -46,6 +46,7 @@ source="https://dev.alpinelinux.org/archive/libcamera/libcamera-$_commit.tar.gz
0003-smaller-resolutions.patch
build.patch
gtest.patch
+ sphinx.patch
qcam.desktop
"
options="!check" # gstreamer tests fail
@@ -110,5 +111,6 @@ c1ebd6f3c46a252021cd52796a281a84b390a77609459697ebdbaf1489b6f7bacd71ad29951446af
d396b15ff02ce1eacc15fa55f069c0c84ef8adf65fb9f391352025a7f3bd7076b70144e408a4eef61c56372988d1765b800a8290686df3d37aa89fc9cd4d0ac7 0003-smaller-resolutions.patch
aab9ac6dd029d5cf661931f22c548b9dc0e692b98e7ba4827da7f54f996856df5f16ac372a17daac68b8d875f1f7d427a6826eb7dfba17222255a32323fc6200 build.patch
1c260217bc88cca8a64bfbcc658ea21c3941c711240475ac7a53c5b1e0fd951e910ba180989f9785c6dd240a4a21919af23158503f3d3e8e6556f32af6439b65 gtest.patch
+c435bd0e3990420b11c4efc22211ae0e7bf251884e2477a92a45c9ae601fe0d1cbbb3ea3591de2b9d19ef6250202f50f0f76aecf05c4cb9e0307ee2fd269f538 sphinx.patch
22167a4eceb6d1b40b0b7c45fdf116c71684f5340de7f767535cb8e160ad9d2ae0f00cb3d461f73a344520a48a4641cf46226841d78bee06bfbfd2a91337f754 qcam.desktop
"
diff --git a/community/libcamera/sphinx.patch b/community/libcamera/sphinx.patch
new file mode 100644
index 0000000000..94b8586125
--- /dev/null
+++ b/community/libcamera/sphinx.patch
@@ -0,0 +1,13 @@
+diff --git a/Documentation/conf.py b/Documentation/conf.py
+index 78602c85..222e05a7 100644
+--- a/Documentation/conf.py
++++ b/Documentation/conf.py
+@@ -56,7 +56,7 @@ master_doc = 'index'
+ #
+ # This is also used if you do content translation via gettext catalogs.
+ # Usually you set "language" from the command line for these cases.
+-language = None
++language = "en"
+
+ # List of patterns, relative to source directory, that match files and
+ # directories to ignore when looking for source files.