Package Details: droidcam-dkms-git 6.7.9.r69.1f2460a-1

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/linuxx
Licenses: GPL2
Conflicts: droidcam, droidcam-dkms
Submitter: grazzolini
Maintainer: grazzolini
Last Packager: grazzolini
Votes: 5
Popularity: 0.35
First Submitted: 2020-01-05 05:05
Last Updated: 2020-07-24 20:01

Latest Comments

1 2 Next › Last »

SolarAquarion commented on 2020-08-11 01:31

icon2 pkgsum needs to be updated

jsainea commented on 2020-07-20 15:42

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

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

grazzolini commented on 2020-07-07 14:00

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.

caleb commented on 2020-07-07 09:25

@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

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.

ngoonee commented on 2020-07-05 04:18

This isn't a git package at all, just grabbing the dev47apps release. ShayBox your gist has been deleted. grazzolini could you update appropriately to actually build from git rather than just grabbing latest?

ShayBox commented on 2020-06-07 23:42

This is a -git package, you must source the github repository and compile, not grab from dev47apps.com

I have updated the PKGBUILD https://gist.github.com/ShayBox/069b1224d9c7996484ac64fccbd9411f

Changes:
Skipped verification of untagged sources
Removed md5sums since sha256sums were present
Removed linking to $_pkgbase on unrelated package names and links

thiagoalmeidasa commented on 2020-06-05 10:04

md5sum validation failed for file: icon2.png

==> Validating source files with md5sums...
    droidcam-dkms-git ... Skipped
    droidcam-6.7.8.r55.cea6121.zip ... Passed
    dkms.conf ... Passed
    icon2.png ... FAILED                 
    droidcam.desktop ... Passed
    Makefile.dkms ... Passed
==> ERROR: One or more files did not pass the validity check!

yura121 commented on 2020-05-25 09:07

==> Проверка файлов source с использованием md5sums... droidcam-dkms-git ... Пропущено droidcam-6.7.7.r46.98cbf07.zip ... СБОЙ dkms.conf ... Готово icon2.png ... Готово droidcam.desktop ... Готово Makefile.dkms ... Готово ==> ОШИБКА: Исходные файлы не прошли проверку целостности! Не удалось собрать droidcam-dkms-git