Package Details: droidcam-dkms-git v2.1.2.r149.add5733-2

Git Clone URL: https://aur.archlinux.org/droidcam-dkms-git.git (read-only, click to copy)
Package Base: droidcam-dkms-git
Description: A tool for using your android device as a wireless/usb webcam (DKMS)
Upstream URL: https://www.dev47apps.com/droidcam/linux/
Licenses: GPL2
Conflicts: droidcam, droidcam-dkms
Submitter: grazzolini
Maintainer: grazzolini
Last Packager: ianis
Votes: 10
Popularity: 0.89
First Submitted: 2020-01-05 05:05 (UTC)
Last Updated: 2024-03-20 12:49 (UTC)

Latest Comments

1 2 3 Next › Last »

gree commented on 2025-06-10 13:37 (UTC) (edited on 2025-06-10 13:38 (UTC) by gree)

Stopped working with kernel 6.15.1:

==> dkms install --no-depmod droidcam/v2.1.2.r151.3aa9cc3 -k 6.15.1-arch1-2
Deprecated feature: CLEAN (/usr/src/droidcam-v2.1.2.r151.3aa9cc3/dkms.conf)

Error! Bad return status for module build on kernel: 6.15.1-arch1-2 (x86_64)
Consult /var/lib/dkms/droidcam/v2.1.2.r151.3aa9cc3/build/make.log for more information.
==> WARNING: `dkms install --no-depmod droidcam/v2.1.2.r151.3aa9cc3 -k 6.15.1-arch1-2' exited 10
==> dkms install --no-depmod droidcam/v2.1.2.r151.3aa9cc3 -k 6.15.1-zen1-2-zen
Deprecated feature: CLEAN (/var/lib/dkms/droidcam/v2.1.2.r151.3aa9cc3/source/dkms.conf)

Error! Bad return status for module build on kernel: 6.15.1-zen1-2-zen (x86_64)
Consult /var/lib/dkms/droidcam/v2.1.2.r151.3aa9cc3/build/make.log for more information.
==> WARNING: `dkms install --no-depmod droidcam/v2.1.2.r151.3aa9cc3 -k 6.15.1-zen1-2-zen' exited 10
$ cat /var/lib/dkms/droidcam/v2.1.2.r151.3aa9cc3/build/make.log
DKMS (dkms-3.2.1) make.log for droidcam/v2.1.2.r151.3aa9cc3 for kernel 6.15.1-zen1-2-zen (x86_64)

Building module(s)
# command: make -j16 KERNELRELEASE=6.15.1-zen1-2-zen KVERSION=6.15.1-zen1-2-zen
make -C /lib/modules/6.15.1-zen1-2-zen/build M="$(pwd)"
make[1]: Entering directory '/usr/lib/modules/6.15.1-zen1-2-zen/build'
make[2]: Entering directory '/var/lib/dkms/droidcam/v2.1.2.r151.3aa9cc3/build'
  CC [M]  v4l2loopback-dc.o
v4l2loopback-dc.c: In function ‘buffer_written’:
v4l2loopback-dc.c:1514:3: error: implicit declaration of function ‘del_timer_sync’ [-Wimplicit-function-declaration]
 1514 |   del_timer_sync(&dev->sustain_timer);
      |   ^~~~~~~~~~~~~~
v4l2loopback-dc.c: At top level:
v4l2loopback-dc.c:2347:4: error: ‘const struct v4l2_ioctl_ops’ has no member named ‘vidioc_queryctrl’; did you mean ‘vidioc_querycap’?
 2347 |   .vidioc_queryctrl         = &vidioc_queryctrl,
      |    ^~~~~~~~~~~~~~~~
      |    vidioc_querycap
v4l2loopback-dc.c:2347:31: error: initialization of ‘int (*)(struct file *, void *, struct v4l2_dv_timings *)’ from incompatible pointer type ‘int (*)(struct file *, void *, struct v4l2_queryctrl *)’ [-Wincompatible-pointer-types]
 2347 |   .vidioc_queryctrl         = &vidioc_queryctrl,
      |                               ^
v4l2loopback-dc.c:2347:31: note: (near initialization for ‘v4l2_loopback_ioctl_ops.vidioc_s_dv_timings’)
v4l2loopback-dc.c:1151:1: note: ‘vidioc_queryctrl’ declared here
 1151 | vidioc_queryctrl(struct file *file, void *fh,
      | ^~~~~~~~~~~~~~~~
v4l2loopback-dc.c:2348:4: error: ‘const struct v4l2_ioctl_ops’ has no member named ‘vidioc_g_ctrl’; did you mean ‘vidioc_g_std’?
 2348 |   .vidioc_g_ctrl            = &vidioc_g_ctrl,
      |    ^~~~~~~~~~~~~
      |    vidioc_g_std
v4l2loopback-dc.c:2348:31: error: initialization of ‘int (*)(struct file *, void *, struct v4l2_dv_timings *)’ from incompatible pointer type ‘int (*)(struct file *, void *, struct v4l2_control *)’ [-Wincompatible-pointer-types]
 2348 |   .vidioc_g_ctrl            = &vidioc_g_ctrl,
      |                               ^
v4l2loopback-dc.c:2348:31: note: (near initialization for ‘v4l2_loopback_ioctl_ops.vidioc_g_dv_timings’)
v4l2loopback-dc.c:1200:1: note: ‘vidioc_g_ctrl’ declared here
 1200 | vidioc_g_ctrl(struct file *file, void *fh,
      | ^~~~~~~~~~~~~
v4l2loopback-dc.c:2349:4: error: ‘const struct v4l2_ioctl_ops’ has no member named ‘vidioc_s_ctrl’; did you mean ‘vidioc_s_std’?
 2349 |   .vidioc_s_ctrl            = &vidioc_s_ctrl,
      |    ^~~~~~~~~~~~~
      |    vidioc_s_std
v4l2loopback-dc.c:2349:31: error: initialization of ‘int (*)(struct file *, void *, struct v4l2_dv_timings *)’ from incompatible pointer type ‘int (*)(struct file *, void *, struct v4l2_control *)’ [-Wincompatible-pointer-types]
 2349 |   .vidioc_s_ctrl            = &vidioc_s_ctrl,
      |                               ^
v4l2loopback-dc.c:2349:31: note: (near initialization for ‘v4l2_loopback_ioctl_ops.vidioc_query_dv_timings’)
v4l2loopback-dc.c:1227:1: note: ‘vidioc_s_ctrl’ declared here
 1227 | vidioc_s_ctrl(struct file *file, void *fh,
      | ^~~~~~~~~~~~~
make[4]: *** [/usr/lib/modules/6.15.1-zen1-2-zen/build/scripts/Makefile.build:203: v4l2loopback-dc.o] Error 1
make[3]: *** [/usr/lib/modules/6.15.1-zen1-2-zen/build/Makefile:2001: .] Error 2
make[2]: *** [/usr/lib/modules/6.15.1-zen1-2-zen/build/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/droidcam/v2.1.2.r151.3aa9cc3/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.15.1-zen1-2-zen/build'
make: *** [Makefile:8: all] Error 2

# exit code: 2
# elapsed time: 00:00:01
----------------------------------------------------------------

Midov commented on 2021-08-02 21:27 (UTC)

https://github.com/aramg/droidcam/raw/master/linux/icon2.png returns 404

PedroHLC commented on 2021-05-25 18:36 (UTC)

missing libappindicator-gtk3:

Package 'appindicator3-0.1', required by 'virtual:world', not found
src/droidcam.c:13:10: fatal error: libappindicator/app-indicator.h: No such file or directory
   13 | #include <libappindicator/app-indicator.h>

freswa commented on 2020-12-09 16:34 (UTC)

Could we add the modprobe config to the backup array to keep changed webcam resolutions? Thank you :)

Marc.2377 commented on 2020-12-05 22:04 (UTC)

Error in the PKGBUILD; 'LICENCE' should be called 'LICENSE'.

SolarAquarion commented on 2020-08-11 01:31 (UTC)

icon2 pkgsum needs to be updated

juasai commented on 2020-07-20 15:42 (UTC) (edited on 2020-07-20 15:44 (UTC) by juasai)

Inside the pkgbuild, checksum must be changed to md5 and sha512


# Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org

_pkgbase=droidcam
pkgname=droidcam-dkms-git
_pkgver=6.7.8
pkgver=6.7.8.r55.cea6121
pkgrel=1
pkgdesc="A tool for using your android device as a wireless/usb webcam (DKMS)"
arch=('x86_64')
url="https://www.dev47apps.com/$_pkgbase/linuxx"
license=('GPL2')
depends=('dkms')
makedepends=('git')
conflicts=("${_pkgbase}" "${_pkgbase}-dkms")
#install=${pkgname}.install
source=("${pkgname}"::"git+https://github.com/aramg/droidcam"
        "$_pkgbase-$pkgver.zip"::"https://www.dev47apps.com/files/linux/droidcam_latest.zip"
        'dkms.conf'
        "https://github.com/aramg/$_pkgbase/raw/master/linux/icon2.png"
        "$_pkgbase.desktop"
        "Makefile.dkms")
md5sums=('SKIP'
         '73db3a4c0f52a285b6ac1f8c43d5b4c7'
         '3be4282edbff37ee6649c7c06c276003'
         '0f0e1d04146dd5be70d5028f144bd0a2'
         '22b9912d96bc7691dfb6b7f82ec0306d'
         'c4417957cf66d4e647c7d140fbaa13cd')
sha512sums=('SKIP'
            'cec5a798eb0f183b69e2410efa8c6b95e8221625063ca693572f9f49c997e6d9387b0886f2a57b84553384976f5846a20ef36c0a526bf3ae79deb578d05d1d56'
            'd1af1b94193fa65f42ca7fdc3b81180d8f141e72ead6b80e13a103e817cbcaf1470cbb9f97e8eb6c2f3012f1f2c3d3bbc9887a10f3def8fb80f1c12c7e9184de'
            '4cedbc823498a1ff70f6df1d312f29fa609c1316d15bbc8a23c5aa5055b87cb2d156e6da12aefa0195e1adbe65b94e6a79ae799083f9da4a959c21796280c491'
            '38e7e987e71696a209dde7cafe03e0910606d0dfd45aa1829910cbc40a336464bc8299c4fef0a32f0f74914537704f242331f8dae55cdf1884291866ea8a1e4c'
            '0113f278628aeb1688618a172c9e3494ac360701aaf685ab428da7f04e034150f99f6b8307e8f9c12aa0425ad4a2c9714ccff7cea80dd0155a1deaaf1c2e412a')

pkgver() {
  cd "$pkgname"
  printf "${_pkgver}.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  # Copy dkms.conf
  install -Dm644 dkms.conf "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf

  # Set name and version
  sed -e "s/@_PKGBASE@/${_pkgbase}/" \
      -e "s/@PKGVER@/${pkgver}/" \
      -i "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf

  # Copy sources (including Makefile)
  install -Dm644 "$srcdir/Makefile.dkms" "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/Makefile
  install -Dm644 "$srcdir/${pkgname}/linux/v4l2loopback/v4l2loopback-dc.c" "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/v4l2loopback-dc.c

  # Install droidcam program files
  install -Dm755 "$_pkgbase" "$pkgdir/usr/bin/$_pkgbase"
  install -Dm755 "$_pkgbase-cli" "$pkgdir/usr/bin/$_pkgbase-cli"
  install -Dm644 "$srcdir/icon2.png" "$pkgdir/usr/share/pixmaps/$_pkgbase.png"
  install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$_pkgbase/LICENSE"
  install -Dm644 "$srcdir/$_pkgbase.desktop" "$pkgdir/usr/share/applications/$_pkgbase.desktop"
  # Set version on the desktop file
  sed -e "s/@PKGVER@/${pkgver}/" -i "$pkgdir/usr/share/applications/$_pkgbase.desktop"
}
</code>

ngoonee commented on 2020-07-08 07:14 (UTC)

I think a 'droidcam-git' package makes the most sense, really.

grazzolini commented on 2020-07-07 14:00 (UTC)

This package can have an epoch, for sure. But I'm still not sure if that's the best approach. Another plan I had was to drop this and upload a new package with correct version. There are a few options, other than adding an epoch.

alerque commented on 2020-07-07 09:25 (UTC)

@grazzolini I understand the versioning issue, but there is no reason to keep duplicates in the AUR. If it does move to [community] both sets of non-VCS packages will be obsolete. In the mean time having an epoch in the AUR won't change the situation when/if migrating, and the current best packaging is actually the {{aur|droidcam}} package right now. Even if a migration does happen this VCS package can stay, but it should probably be renamed (dkms isn't a distinctive feature of this package, if anything it would only apply to the module subpackage) and an epoch should be added so it can be properly versioned.