aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/networking.scm
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-08-14 00:32:53 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-08-14 00:32:53 +0200
commit51deacd8604b59aa434e944c73aecefd5183d13e (patch)
tree7429b8652ce656f883e8277ec95e273d88fe0fe3 /gnu/packages/networking.scm
parent3349a50d700a2112a31ac4ce6cc6639d3b4cf1e2 (diff)
parentbe6f5edd445850720dfcec2642db643b84fc0645 (diff)
downloadguix-51deacd8604b59aa434e944c73aecefd5183d13e.tar.gz
guix-51deacd8604b59aa434e944c73aecefd5183d13e.zip
Merge branch 'master' into emacs-team
Diffstat (limited to 'gnu/packages/networking.scm')
-rw-r--r--gnu/packages/networking.scm62
1 files changed, 30 insertions, 32 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 488d015107..82987d5f9c 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -256,7 +256,7 @@ protocols.")
(define-public lcrq
(package
(name "lcrq")
- (version "0.0.1")
+ (version "0.1.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -265,7 +265,7 @@ protocols.")
(file-name (git-file-name name version))
(sha256
(base32
- "0jf7x3zcdbz5b99qz7liw4i90hn9s457zr82n0r8g9qsi81a1d8c"))))
+ "13mfg866scvy557zrvjxjhkzam39h8d07s2w3fqbwhw6br6axkxk"))))
(build-system gnu-build-system)
(arguments
`(#:parallel-tests? #f
@@ -350,47 +350,45 @@ them in order to efficiently transfer a minimal amount of data.")
(define-public libcamera
(package
(name "libcamera")
- (version "0.0.0-1")
+ (version "0.1.0")
(source
(origin
(method git-fetch)
(uri
(git-reference
- (url "git://linuxtv.org/libcamera.git")
- (commit "10be87fa7c3bfb097b21ca3d469c67e40c333f7e")))
+ (url "https://git.libcamera.org/libcamera/libcamera.git")
+ (commit (string-append "v" version))))
(file-name
(git-file-name name version))
(sha256
- (base32 "0qgirhlalmk9f9v6piwz50dr2asb64rvbb9zb1vix7y9zh7m11by"))))
+ (base32 "06dj3dpfbayj61015n5kffin2g3hyys11ra0px2g4hmrznvdkhc9"))))
(build-system meson-build-system)
- (outputs '("out" "doc"))
+ (outputs '("out" "doc" "gst" "tools"))
(arguments
- `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
- #:configure-flags
- (list
- "-Dv4l2=true"
- ;; XXX: Requires bundled pybind11.
- "-Dpycamera=disabled")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'disable-failing-tests
- (lambda _
- (substitute* "test/meson.build"
- (("\\['list-cameras', 'list-cameras.cpp'\\],")
- "")
- ;; TODO: Why do the gstreamer tests fail.
- (("^subdir\\('gstreamer'\\)")
- ""))))
- (add-after 'install 'move-doc
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (doc (assoc-ref outputs "doc")))
- (mkdir-p (string-append doc "/share"))
- (rename-file
- (string-append out "/share/doc")
- (string-append doc "/share/doc"))))))))
+ (list #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:configure-flags
+ #~(list (string-append "-Dbindir="
+ (assoc-ref %outputs "tools") "/bin")
+ "-Dtest=true" "-Dv4l2=true"
+ ;; XXX: Requires bundled pybind11.
+ "-Dpycamera=disabled")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'move-doc-and-gst
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc"))
+ (gst (assoc-ref outputs "gst")))
+ (mkdir-p (string-append doc "/share"))
+ (rename-file (string-append out "/share/doc")
+ (string-append doc "/share/doc"))
+ (mkdir-p (string-append gst "/lib"))
+ (rename-file
+ (string-append out "/lib/gstreamer-1.0")
+ (string-append gst "/lib/gstreamer-1.0"))))))))
(native-inputs
- (list graphviz ;for 'dot'
+ (list googletest
+ graphviz ;for 'dot'
doxygen
pkg-config
python-wrapper