From: Maarten ter Huurne Date: Sun, 19 Oct 2014 00:00:46 +0000 (+0200) Subject: modplugtools: Added package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=267dc1c159bf6bf36e0a9b324d850f1a744ec222;p=buildroot.git modplugtools: Added package This installs the 'modplug123' command line tool to play tracker music files (MOD, S3M, XM etc.) using libmodplug. The modplugtools package can build two players: modplugplay that plays directly via OSS and modplug123 that plays via libao. Since modplugplay won't work without OSS support and modern kernels are likely to have no OSS or OSS emulation, we build only modplug123. If you have a system without ALSA support for some reason, you can still use modplug123 to play over OSS via libao. http://modplug-xmms.sourceforge.net/ [Thomas: add missing Config.in comment about the C++ dependency.] Signed-off-by: Maarten ter Huurne Reviewed-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/package/Config.in b/package/Config.in index 4c6685a89f..8b8a20f099 100644 --- a/package/Config.in +++ b/package/Config.in @@ -17,6 +17,7 @@ menu "Audio and video applications" source "package/lame/Config.in" source "package/libvpx/Config.in" source "package/madplay/Config.in" + source "package/modplugtools/Config.in" source "package/mpd/Config.in" source "package/mpg123/Config.in" source "package/mplayer/Config.in" diff --git a/package/modplugtools/Config.in b/package/modplugtools/Config.in new file mode 100644 index 0000000000..89c32206fb --- /dev/null +++ b/package/modplugtools/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_MODPLUGTOOLS + bool "modplugtools" + depends on BR2_INSTALL_LIBSTDCPP # libmodplug + select BR2_PACKAGE_LIBAO + select BR2_PACKAGE_LIBMODPLUG + help + This installs the 'modplug123' command line tool to play music files + in the tracker formats supported by libmodplug: MOD, S3M, XM etc. + Audio output is handled by libao. + + http://modplug-xmms.sourceforge.net/ + +comment "modplugtools needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/modplugtools/modplugtools.mk b/package/modplugtools/modplugtools.mk new file mode 100644 index 0000000000..e8d73afeff --- /dev/null +++ b/package/modplugtools/modplugtools.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# modplugtools +# +################################################################################ + +MODPLUGTOOLS_VERSION = 0.5.3 +MODPLUGTOOLS_SITE = http://downloads.sourceforge.net/project/modplug-xmms/modplug-tools +MODPLUGTOOLS_LICENSE = GPLv3 +MODPLUGTOOLS_LICENSE_FILES = COPYING + +MODPLUGTOOLS_DEPENDENCIES = libao libmodplug + +# Only build the 'mp123' subdir, which contains 'modplug123' that plays through +# various backends via libao. This excludes the 'mpplay' subdir, which contains +# 'modplugplay' that can play only through the deprecated OSS interface. +MODPLUGTOOLS_MAKE_OPTS = SUBDIRS=mp123 +MODPLUGTOOLS_INSTALL_TARGET_OPTS = SUBDIRS=mp123 DESTDIR=$(TARGET_DIR) install + +$(eval $(autotools-package))