beep: restore a dependency definition to the previous one on x86 target

Commit 9bcea2de2c causes a dependency
problem with some out-of-tree packages which expect "DEPENDS:=+kmod-pcspkr".

To fix this problem, this commit restores a dependency definition to
the previous one on x86 target.

Signed-off-by: Yanase Yuki <dev@zpc.sakura.ne.jp>
This commit is contained in:
Yanase Yuki 2020-12-03 21:50:16 +09:00
parent 2aee3b04c0
commit 8b1216fb49
No known key found for this signature in database
GPG Key ID: C87ED4BBF53B1447
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=beep
PKG_REV:=0d790fa45777896749a885c3b93b2c1476d59f20
PKG_VERSION:=1.3
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/johnath/beep.git
@ -27,7 +27,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/beep
SECTION:=sound
CATEGORY:=Sound
DEPENDS:=@(PACKAGE_kmod-pcspkr||PACKAGE_kmod-gpio-beeper)
DEPENDS:=+TARGET_x86:kmod-pcspkr @!TARGET_x86:kmod-gpio-beeper
TITLE:=Play beep sounds through a PC speaker
URL:=http://johnath.com/beep/README
endef