diff options
author | Devaev Maxim <[email protected]> | 2019-08-05 00:16:53 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-08-05 00:16:53 +0300 |
commit | 9aa464240c7daad147fe075f03f29c2e2828f366 (patch) | |
tree | 1383f8f1c20e0321794a1b4f3dc6ffca82a681ee /PKGBUILD | |
parent | cc34b2ae4b2f9cdc03ab9dcb272360011e160e78 (diff) |
pkgbuild: fixed platform deps
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -39,10 +39,6 @@ depends=( raspberrypi-io-access ustreamer ) -optdepends=( - dkms - tc358743-dkms -) makedepends=(python-setuptools) source=("$url/archive/v$pkgver.tar.gz") md5sums=(SKIP) @@ -104,6 +100,10 @@ for _platform in $PIKVM_PLATFORM; do for _board in $PIKVM_BOARD; do eval "package_kvmd-platform-$_platform-$_board() { pkgdesc=\"Pi-KVM platform configs - $_platform for $_board\" + depends=(kvmd) + if [[ $_platform =~ ^.*-hdmi$ ]]; then + depends=(\"\${depends[@]}\" tc358743-dkms) + fi mkdir -p \"\$pkgdir/etc\"/{kvmd,sysctl.d,udev/rules.d,modules-load.d} @@ -114,7 +114,7 @@ for _platform in $PIKVM_PLATFORM; do ln -sf \"\$_cfg_default/os/modules-load/$_platform.conf\" \"\$pkgdir/etc/modules-load.d/kvmd.conf\" ln -sf \"\$_cfg_default/kvmd/main/$_platform.yaml\" \"\$pkgdir/etc/kvmd/main.yaml\" - if [ $_platform == v1-hdmi ]; then + if [[ $_platform =~ ^.*-hdmi$ ]]; then ln -sf \"\$_cfg_default/kvmd/tc358743-edid.hex\" \"\$pkgdir/etc/kvmd/tc358743-edid.hex\" fi }" |