alsa-utils: depends on systemd otherwise udev rules installed incorrectly

udev rules will be installed to /lib/udev/rules.d and not /usr/lib/udev/rules.d
if udev (via systemd) is not already installed.

if test "${with_udev_rules_dir+set}" = set; then :
  withval=$with_udev_rules_dir; udevrulesdir="$withval"
else
  udevdir=$($PKG_CONFIG udev --variable=udevdir)
        if test "x$udevdir" = "x"; then
            udevrulesdir="/lib/udev/rules.d"
        else
            udevrulesdir="$udevdir/rules.d"
        fi
fi
This commit is contained in:
MilhouseVH 2019-02-08 17:17:43 +00:00
parent 12cc464155
commit 2cfc2b3077

View File

@ -8,7 +8,7 @@ PKG_SHA256="fd9bf528922b3829a91913b89a1858c58a0b24271a7b5f529923aa9ea12fa4cf"
PKG_LICENSE="GPL"
PKG_SITE="http://www.alsa-project.org/"
PKG_URL="ftp://ftp.alsa-project.org/pub/utils/alsa-utils-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain alsa-lib ncurses"
PKG_DEPENDS_TARGET="toolchain alsa-lib ncurses systemd"
PKG_LONGDESC="This package includes the utilities for ALSA, like alsamixer, aplay, arecord, alsactl, iecset and speaker-test."
PKG_CONFIGURE_OPTS_TARGET="--disable-alsaconf \