Package Details: libuvc 0.0.7-4

Git Clone URL: https://aur.archlinux.org/libuvc.git (read-only, click to copy)
Package Base: libuvc
Description: a cross-platform library for USB video devices
Upstream URL: https://libuvc.github.io/libuvc/
Licenses: BSD-3-Clause
Submitter: de-vries
Maintainer: buzo
Last Packager: buzo
Votes: 34
Popularity: 0.73
First Submitted: 2018-04-05 21:37 (UTC)
Last Updated: 2026-07-12 14:11 (UTC)

Latest Comments

1 2 Next › Last »

Martchus commented on 2026-07-06 09:04 (UTC)

Using an soname dependency would make sense but make sure to use the right one and also follow https://archlinux.org/todo/packages-prone-to-elf-architecture-confusion-due-to-the-use-of-soname-dependencies/.

armujahid commented on 2026-07-03 16:15 (UTC)

I built that by replacing libjpeg with libjpeg.so in dependencies.

sed -i "s/'libjpeg'/'libjpeg.so'/g" PKGBUILD
makepkg --printsrcinfo > .SRCINFO
makepkg -si

ggnoredo commented on 2026-07-02 19:30 (UTC)

Libjpeg-turbo dependency error

Martchus commented on 2026-07-02 13:28 (UTC)

This needs to be updated to depend on libjpeg-turbo.

lucasl0st commented on 2025-04-04 13:12 (UTC)

Getting following error compiling with cmake 4.0:

==> Starting prepare()...
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

Adding -DCMAKE_POLICY_VERSION_MINIMUM=3.5 works

arenm commented on 2024-09-08 16:52 (UTC)

It looks like the source code has moved to https://github.com/libuvc/libuvc and the upstream url is now https://libuvc.github.io/libuvc/

de-vries commented on 2023-05-15 16:45 (UTC)

Added the staticlibs option. Thanks!

pix3l commented on 2023-05-14 20:37 (UTC)

staticlibs are built and referenced by cmake file, by deleted during package. staticlibs option is needed, otherwise cmake projects will fail (like osvr-core-git below)

diff --git a/PKGBUILD b/PKGBUILD
index 949600b..70b0c3e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,6 +10,7 @@ url="https://int80k.com/libuvc/"
 license=('BSD')
 depends=('glibc' 'libusb' 'libjpeg')
 makedepends=('cmake')
+options=(staticlibs)
 source=("$pkgname-$pkgver.tar.gz::https://github.com/ktossell/libuvc/archive/v$pkgver.tar.gz")
 sha256sums=('7c6ba79723ad5d0ccdfbe6cadcfbd03f9f75b701d7ba96631eb1fd929a86ee72')
- Git reports version 0.6-2231-g495648e4
-- Found JPEG: /usr/lib/libjpeg.so (found version "80")
-- Found JPEG library using standard module
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (JPEG) does
  not match the name of the calling package (JpegPkg).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /usr/lib/cmake/libuvc/FindJpegPkg.cmake:58 (find_package_handle_standard_args)
  /usr/lib/cmake/libuvc/libuvcConfig.cmake:13 (find_package)
  CMakeLists.txt:108 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found JPEG: /usr/lib/libjpeg.so
-- libusb-1.0 found using pkgconfig
CMake Error at /usr/lib/cmake/libuvc/libuvcTargets.cmake:101 (message):
  The imported target "LibUVC::UVCStatic" references the file

     "/usr/lib/libuvc.a"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/cmake/libuvc/libuvcTargets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/cmake/libuvc/libuvcConfig.cmake:15 (include)
  CMakeLists.txt:108 (find_package)

de-vries commented on 2022-09-30 14:54 (UTC)

Added aarch64 :)

petaramesh commented on 2022-09-30 14:05 (UTC)

Hi, Could you please add 'aarch64' to the supported architectures in PKGBUILD, as it compiles and works fine there ? Thanks in advance.