mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
bd0dd9d134
Due to the change in the version description, the package must be
downloaded again. In addition, the standard compression method has changed
to zst. The checksum must therefore be recalculated.
Fixes: 0c13c5e3c8 ("faad2: fix version for APK")
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
90 lines
2.2 KiB
Makefile
90 lines
2.2 KiB
Makefile
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=faad2
|
|
PKG_VERSION:=2.11.1
|
|
PKG_RELEASE:=2
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_VERSION:=$(PKG_VERSION)
|
|
PKG_SOURCE_URL:=https://github.com/knik0/faad2
|
|
PKG_MIRROR_HASH:=3bedd29eb3a55a052158bb27f68c69177ebacb93c6a0643c0aac6303512eeb15
|
|
|
|
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
|
|
PKG_LICENSE:=GPL-2.0-or-later
|
|
PKG_LICENSE_FILES:=COPYING
|
|
PKG_CPE_ID:=cpe:/a:audiocoding:freeware_advanced_audio_decoder_2
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/faad2/Default
|
|
URL:=http://www.audiocoding.com/faad2.html
|
|
TITLE:=Freeware Advanced Audio Decoder
|
|
endef
|
|
|
|
define Package/faad2/Default/description
|
|
FAAD2 is the fastest ISO AAC audio decoder available.
|
|
FAAD2 correctly decodes all MPEG-4 and MPEG-2 MAIN,
|
|
LOW, LTP, LD and ER object type AAC files.
|
|
endef
|
|
|
|
define Package/faad2
|
|
$(call Package/faad2/Default)
|
|
SECTION:=sound
|
|
CATEGORY:=Sound
|
|
TITLE+=player
|
|
DEPENDS:=+libfaad2
|
|
endef
|
|
|
|
define Package/faad2/description
|
|
$(call Package/faad2/Default/description)
|
|
This package contains a binary to play AAC or MP4 files.
|
|
endef
|
|
|
|
define Package/libfaad2
|
|
$(call Package/faad2/Default)
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
TITLE+=library
|
|
MENU:=1
|
|
endef
|
|
|
|
define Package/libfaad2/description
|
|
$(call Package/faad2/Default/description)
|
|
This package contains the library.
|
|
endef
|
|
|
|
TARGET_CFLAGS += \
|
|
$(if $(CONFIG_BUILD_PATENTED),,-DLC_ONLY_DECODER -DDISABLE_SBR) \
|
|
$(if $(CONFIG_SOFT_FLOAT),-DFIXED_POINT)
|
|
|
|
CONFIGURE_ARGS += \
|
|
--without-drm \
|
|
--without-mpeg4ip \
|
|
--without-xmms
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(1)/usr/include
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfaad.so* $(1)/usr/lib/
|
|
endef
|
|
|
|
define Package/faad2/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/faad $(1)/usr/bin/
|
|
endef
|
|
|
|
define Package/libfaad2/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfaad.so.* $(1)/usr/lib/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,faad2))
|
|
$(eval $(call BuildPackage,libfaad2))
|