mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 03:41:29 +00:00
madplay: add PKG_RELEASE and keep oss variants name
* update PKG_RELEASE * dont change the name of the oss variant Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=madplay
|
||||
PKG_VERSION:=0.15.2b
|
||||
PKG_RELEASE:=4
|
||||
PKG_RELEASE:=5
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/mad \
|
||||
@@ -34,7 +34,7 @@ define Package/madplay/default
|
||||
endef
|
||||
|
||||
Package/madplay-alsa=$(call Package/madplay/default,alsa)
|
||||
Package/madplay-oss=$(call Package/madplay/default,oss)
|
||||
Package/madplay=$(call Package/madplay/default,oss)
|
||||
|
||||
define Package/madplay/description
|
||||
MAD is an MPEG audio decoder. It currently only supports the MPEG 1
|
||||
@@ -64,7 +64,7 @@ ifeq ($(BUILD_VARIANT),madplay-alsa)
|
||||
--with-alsa
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_VARIANT),madplay-oss)
|
||||
ifeq ($(BUILD_VARIANT),madplay)
|
||||
CONFIGURE_ARGS += \
|
||||
--without-alsa
|
||||
endif
|
||||
@@ -75,4 +75,4 @@ define Package/madplay-$(BUILD_VARIANT)/install
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,madplay-alsa))
|
||||
$(eval $(call BuildPackage,madplay-oss))
|
||||
$(eval $(call BuildPackage,madplay))
|
||||
|
||||
Reference in New Issue
Block a user