summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMateusz Gozdek2020-09-27 21:42:56 +0200
committerMateusz Gozdek2020-09-27 21:57:26 +0200
commit4817ae631da699ae99c2ab961928f36fb31d04d8 (patch)
treed296a5a8dec8eef6c15b700047d8b4f370585124 /PKGBUILD
parent7d335c85637aa032a441b2f631dac282af30692b (diff)
downloadaur-4817ae631da699ae99c2ab961928f36fb31d04d8.tar.gz
Update to v1.5
Also Drop Makefile patch which allows building with system version of libraries, as it is now part of the upstream release. Also add 'libappindicator-gtk3' as build dependency, as Droidcam will now register application indicator while running. The indicator also requires an PNG icon to be loaded from /opt/droidcam-icon.png, so we place a copy there. Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 6 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 27a203fc885..19c31d6329b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,40 +5,34 @@
pkgbase=droidcam
pkgname=('droidcam' 'v4l2loopback-dc-dkms')
-pkgver=1.4
-pkgrel=3
+pkgver=1.5
+pkgrel=1
epoch=1
pkgdesc='A tool for using your android device as a wireless/usb webcam'
arch=('x86_64')
url="https://github.com/aramg/${pkgbase}"
license=('GPL')
backup=("etc/modprobe.d/${pkgbase}.conf")
-makedepends=('gtk3' 'ffmpeg' 'libusbmuxd')
+makedepends=('gtk3' 'libappindicator-gtk3' 'ffmpeg' 'libusbmuxd')
source=("${pkgbase}.desktop"
"dkms.conf"
"${pkgbase}.conf"
"${pkgbase}-${pkgver}.zip::${url}/archive/v${pkgver}.zip"
- "0001-Makefile-allow-to-modify-how-to-link-to-libusbmuxd.patch"
)
sha512sums=('72d21aa2d7eecc9bb070aaf7059a671246feb22f9c39b934a5463a4839f9347050de00754e5031dbc44f78eb2731f58f0cd2fcf781bc241f6fbd1abb4308b7ee'
'27848dc6825c965c0aaac8e86220c3916ba20df6d941f5f05caecbf9c329ee744ee883bd2638ba58fe0dc3f40a8ae804dafbfbbe2efc23237e2b5450606cb78d'
'ea457b46a2fc9f1a3ea8e99f2cd0771a587cff89f42335fdaf55988dda0376a1fea73b660174c9f1906a304bace68bffec30b70b20dafc05ebae8854d9aadb13'
- '3168d76d5d6f8b5a0f66858a40ac2ab6fb3b9e0db3ffdcab405367541569da6f4475b7893bb90b8dbd0478876678bc138afe9d472765c422e3300426215a5456'
- 'ee56372bd0f63c4b89ba860c7d6df3d8f7a4de19e72258425b008e405d32e3efc3695c6eca6a8f1b8b4822e0ac8515e8ec504f55f6257a0453b0cb08ba33a582')
+ '88329c9c002b2ed99bad9e88d0dfa63197774fe57e1561058536f038775516416e0aec810d4f43de165a72354f5a02ac1bab4f9ad28a4b263327a254ba8c59b3')
prepare() {
# Generate the module loading configuration files
echo "options v4l2loopback_dc width=640 height=480" >| "${pkgbase}.modprobe.conf"
- # Apply patches.
- cd "${pkgname}-${pkgver}"
- patch -p0 --input="${srcdir}/0001-Makefile-allow-to-modify-how-to-link-to-libusbmuxd.patch"
-
# Ensure that 'install' script from repository does not collide with install binary used for
# building the package.
- chmod -x ./linux/install
+ chmod -x ${pkgname}-${pkgver}/linux/install
}
build() {
@@ -61,6 +55,7 @@ package_droidcam() {
install -Dm755 "${pkgbase}" "$pkgdir/usr/bin/${pkgbase}"
install -Dm755 "${pkgbase}-cli" "$pkgdir/usr/bin/${pkgbase}-cli"
install -Dm644 icon2.png "$pkgdir/usr/share/pixmaps/${pkgbase}.png"
+ install -Dm644 icon2.png "${pkgdir}/opt/droidcam-icon.png"
install -Dm644 "../../${pkgbase}.desktop" "$pkgdir/usr/share/applications/${pkgbase}.desktop"
install -Dm644 "../../${pkgbase}.conf" "${pkgdir}/etc/modules-load.d/${pkgbase}.conf"
install -Dm644 README.md "$pkgdir/usr/share/licenses/${pkgbase}/LICENSE"