You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.1 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=opus-tools
  7. PKG_VERSION:=0.1.10
  8. PKG_RELEASE:=1
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  10. PKG_SOURCE_URL:=http://downloads.xiph.org/releases/opus/
  11. PKG_HASH:=a2357532d19471b70666e0e0ec17d514246d8b3cb2eb168f68bb0f6fd372b28c
  12. PKG_LICENSE:=BSD-2-Clause
  13. PKG_LICENSE_FILES:=COPYING
  14. PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>, \
  15. Nicolas Thill <nico@openwrt.org>
  16. PKG_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/opus-tools
  19. SECTION:=sound
  20. CATEGORY:=Sound
  21. DEPENDS:=+libogg +libopus
  22. TITLE:=OPUS Codec tools
  23. URL:=http://opus-codec.org/
  24. endef
  25. define Package/opus-tools/description
  26. This package provides command-line utilities to encode, inspect,
  27. and decode .opus files.
  28. endef
  29. CONFIGURE_ARGS += \
  30. --without-flac \
  31. define Package/opus-tools/install
  32. $(INSTALL_DIR) $(1)/usr/bin
  33. $(CP) $(PKG_INSTALL_DIR)/usr/bin/opus{dec,enc,info} $(1)/usr/bin/
  34. endef
  35. $(eval $(call BuildPackage,opus-tools))