mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
Remove multimedia subdirectory
Unless it was a group of sub-packages, packages was never regrouped by category. multimedia/ was an exception to this rule. This patch move packages/multimedia/ sub-directories to packages/. It keeps two subdirectories for gstream 0.10 and gstreamer 1.X. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
bafa8fcc6c
commit
adf6511013
11
package/musepack/Config.in
Normal file
11
package/musepack/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_MUSEPACK
|
||||
bool "musepack"
|
||||
select BR2_PACKAGE_LIBCUEFILE
|
||||
select BR2_PACKAGE_LIBREPLAYGAIN
|
||||
help
|
||||
Musepack is an audio compression format with a strong emphasis
|
||||
on high quality. It's not lossless, but it is designed
|
||||
for transparency, so that you won't be able to hear differences
|
||||
between the original wave file and the much smaller MPC file.
|
||||
|
||||
http://www.musepack.net/
|
||||
24
package/musepack/musepack-shared.patch
Normal file
24
package/musepack/musepack-shared.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
Fixup installation of shared mpcdec library.
|
||||
Based on gentoo patch.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
---
|
||||
|
||||
diff -Nura musepack_src_r475.orig/libmpcdec/CMakeLists.txt musepack_src_r475/libmpcdec/CMakeLists.txt
|
||||
--- musepack_src_r475.orig/libmpcdec/CMakeLists.txt 2010-08-21 12:55:01.000000000 -0300
|
||||
+++ musepack_src_r475/libmpcdec/CMakeLists.txt 2011-08-17 15:53:06.126873408 -0300
|
||||
@@ -1,7 +1,12 @@
|
||||
include_directories(${libmpc_SOURCE_DIR}/include)
|
||||
if(SHARED)
|
||||
- add_library(mpcdec SHARED huffman mpc_decoder mpc_reader streaminfo mpc_bits_reader mpc_demux requant synth_filter ${libmpc_SOURCE_DIR}/common/crc32)
|
||||
+ add_library(mpcdec_shared SHARED huffman mpc_decoder mpc_reader streaminfo mpc_bits_reader mpc_demux requant synth_filter ${libmpc_SOURCE_DIR}/common/crc32)
|
||||
+ set_target_properties(mpcdec_shared PROPERTIES OUTPUT_NAME mpcdec CLEAN_DIRECT_OUTPUT 1 VERSION 7.0.1 SOVERSION 7)
|
||||
+ target_link_libraries(mpcdec_shared m)
|
||||
+ install(TARGETS mpcdec_shared LIBRARY DESTINATION "lib${LIB_SUFFIX}" ARCHIVE DESTINATION "lib${LIB_SUFFIX}")
|
||||
else(SHARED)
|
||||
add_library(mpcdec_static STATIC huffman mpc_decoder mpc_reader streaminfo mpc_bits_reader mpc_demux requant synth_filter ${libmpc_SOURCE_DIR}/common/crc32)
|
||||
+ set_target_properties(mpcdec_static PROPERTIES OUTPUT_NAME mpcdec CLEAN_DIRECT_OUTPUT 1)
|
||||
+ target_link_libraries(mpcdec_static m)
|
||||
+ install(TARGETS mpcdec_static LIBRARY DESTINATION "lib${LIB_SUFFIX}" ARCHIVE DESTINATION "lib${LIB_SUFFIX}")
|
||||
endif(SHARED)
|
||||
-
|
||||
14
package/musepack/musepack.mk
Normal file
14
package/musepack/musepack.mk
Normal file
@@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# musepack
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MUSEPACK_VERSION = r475
|
||||
MUSEPACK_SITE = http://files.musepack.net/source
|
||||
MUSEPACK_SOURCE = musepack_src_$(MUSEPACK_VERSION).tar.gz
|
||||
MUSEPACK_DEPENDENCIES = libcuefile libreplaygain
|
||||
MUSEPACK_INSTALL_STAGING = YES
|
||||
MUSEPACK_MAKE = $(MAKE1)
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user