summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Reimer2021-03-14 16:47:38 +0100
committerManuel Reimer2021-03-14 16:47:38 +0100
commit6a5c1af5c64fc736b095c581a9e301ec40d02e1f (patch)
treee9b6bbaff11fe8c6e99d4cf5e9e3315dbc98f671
parent74f62834afab6e5084cac0357ff522fdaf4a4c38 (diff)
downloadaur-6a5c1af5c64fc736b095c581a9e301ec40d02e1f.tar.gz
Sync from VDR4Arch (https://github.com/VDR4Arch/vdr4arch/commit/3e857acc37274d833a6fdfe3ba40f6ade1e74865)
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cc129b98165..ebef9625628 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by makepkg 5.2.2
-# Wed Dec 23 12:07:23 UTC 2020
+# Sun Mar 14 15:47:37 UTC 2021
pkgbase = dfatmo
pkgver = 0.5.0
- pkgrel = 6
+ pkgrel = 7
epoch = 1
url = https://github.com/durchflieger/dfatmo
arch = x86_64
@@ -12,7 +12,7 @@ pkgbase = dfatmo
arch = armv7h
license = GPL2
makedepends = libusb
- makedepends = python2
+ makedepends = python
makedepends = vdr-api=2.4.6
makedepends = zip
source = dfatmo-0.5.0.tar.gz::https://github.com/durchflieger/dfatmo/archive/v0.5.0.tar.gz
@@ -25,7 +25,7 @@ pkgbase = dfatmo
pkgname = dfatmo
pkgdesc = Analyzes the video picture and generates output data for so called 'Atmolight' controllers
depends = libusb
- depends = python2
+ depends = python
conflicts = dfatmo-driver
replaces = dfatmo-driver
diff --git a/PKGBUILD b/PKGBUILD
index a268d7976b2..ec64e56c2a5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,12 +6,12 @@ pkgbase=dfatmo
pkgname=('dfatmo' 'vdr-dfatmo' 'kodi-addon-dfatmo')
pkgver=0.5.0
_vdrapi=2.4.6
-pkgrel=6
+pkgrel=7
epoch=1
url="https://github.com/durchflieger/${pkgbase}"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
license=('GPL2')
-makedepends=('libusb' 'python2' "vdr-api=${_vdrapi}" 'zip')
+makedepends=('libusb' 'python' "vdr-api=${_vdrapi}" 'zip')
source=("$pkgname-$pkgver.tar.gz::https://github.com/durchflieger/${pkgbase}/archive/v${pkgver}.tar.gz"
'45-df10ch.rules'
"50-dfatmo.conf")
@@ -20,7 +20,7 @@ md5sums=('6de5945600b0f2bea6af52ccf8f1cc32'
'f8f2376c860c78f522e40b1afd02d38c')
prepare() {
cd "${srcdir}/DFAtmo-${pkgver}"
- sed -i "s/python-config/python2-config/" Makefile
+ sed -i 's/this->ob_type/Py_TYPE(this)/' atmodriver.c
sed -i 's/static const char \*libusb/const char \*libusb/g' df10choutputdriver.c
}
@@ -39,7 +39,7 @@ package_dfatmo() {
pkgdesc="Analyzes the video picture and generates output data for so called 'Atmolight' controllers"
replaces=('dfatmo-driver')
conflicts=('dfatmo-driver')
- depends=('libusb' 'python2')
+ depends=('libusb' 'python')
cd "${srcdir}/DFAtmo-${pkgver}"
make DFATMOINSTDIR="${pkgdir}/usr" ATMODRIVER=atmodriver.so dfatmoinstall