Merge pull request #13547 from zpc0/beep-depends
beep: fix dependency to support non-x86 target and kmod-gpio-beeper
This commit is contained in:
commit
ba68d4c0b8
1 changed files with 3 additions and 2 deletions
|
@ -10,13 +10,14 @@ include $(TOPDIR)/rules.mk
|
|||
PKG_NAME:=beep
|
||||
PKG_REV:=0d790fa45777896749a885c3b93b2c1476d59f20
|
||||
PKG_VERSION:=1.3
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://github.com/johnath/beep.git
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=$(PKG_REV)
|
||||
PKG_MIRROR_HASH:=fc97d41e68d7b7e43a972e3416dd9326acc40efe66856271ccb36e3678464dec
|
||||
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
|
@ -26,7 +27,7 @@ include $(INCLUDE_DIR)/package.mk
|
|||
define Package/beep
|
||||
SECTION:=sound
|
||||
CATEGORY:=Sound
|
||||
DEPENDS:=@(TARGET_x86||TARGET_x86_64) +kmod-pcspkr
|
||||
DEPENDS:=@(PACKAGE_kmod-pcspkr||PACKAGE_kmod-gpio-beeper)
|
||||
TITLE:=Play beep sounds through a PC speaker
|
||||
URL:=http://johnath.com/beep/README
|
||||
endef
|
||||
|
|
Loading…
Reference in a new issue