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: 8
Popularity: 0.001050
First Submitted: 2020-01-05 05:05 (UTC)
Last Updated: 2024-03-20 12:49 (UTC)

Latest Comments

1 2 3 Next › Last »

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

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

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.

grazzolini commented on 2020-07-07 02:33 (UTC)

As I've mentioned, upstream changed their versioning numbering, so, there's no clean way to move to the upstream git without adding an epoch to this package. The main reason I haven't done so is because I have been considering adding this package to the official repositories, without an epoch, but building from upstream git and right version.