package/multimeda: add flac package
Patch by Sven Neumann (from #99). Removed optimization patch, cleaned up configure args and fixed download URL.
This commit is contained in:
parent
b3d48af90d
commit
24981139f6
@ -3,6 +3,7 @@ source "package/multimedia/alsa-lib/Config.in"
|
||||
source "package/multimedia/alsa-utils/Config.in"
|
||||
source "package/multimedia/asterisk/Config.in"
|
||||
source "package/multimedia/aumix/Config.in"
|
||||
source "package/multimedia/flac/Config.in"
|
||||
source "package/multimedia/gstreamer/Config.in"
|
||||
source "package/multimedia/gst-plugins-base/Config.in"
|
||||
source "package/multimedia/gst-plugins-good/Config.in"
|
||||
|
6
package/multimedia/flac/Config.in
Normal file
6
package/multimedia/flac/Config.in
Normal file
@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_FLAC
|
||||
bool "flac"
|
||||
help
|
||||
FLAC is an Open Source lossless audio codec.
|
||||
|
||||
http://flac.sourceforge.net/
|
26
package/multimedia/flac/flac.mk
Normal file
26
package/multimedia/flac/flac.mk
Normal file
@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# flac
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FLAC_VERSION = 1.2.1
|
||||
FLAC_SOURCE = flac-$(FLAC_VERSION).tar.gz
|
||||
FLAC_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/flac/
|
||||
FLAC_AUTORECONF = NO
|
||||
FLAC_INSTALL_TARGET = YES
|
||||
FLAC_INSTALL_STAGING = YES
|
||||
|
||||
FLAC_CONF_OPT = \
|
||||
--enable-shared \
|
||||
--disable-cpplibs \
|
||||
--disable-xmms-plugin
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBOGG),y)
|
||||
FLAC_CONF_OPT += --with-ogg=$(STAGING_DIR)/usr
|
||||
FLAC_DEPENDENCIES = libogg
|
||||
else
|
||||
FLAC_CONF_OPT += --disable-ogg
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS,package/multimedia,flac))
|
Loading…
Reference in New Issue
Block a user