diff options
Diffstat (limited to 'media-sound/musepack-tools')
-rw-r--r-- | media-sound/musepack-tools/Manifest | 6 | ||||
-rw-r--r-- | media-sound/musepack-tools/files/musepack-tools-465-gentoo.patch | 40 | ||||
-rw-r--r-- | media-sound/musepack-tools/metadata.xml | 8 | ||||
-rw-r--r-- | media-sound/musepack-tools/musepack-tools-465-r1.ebuild | 27 |
4 files changed, 81 insertions, 0 deletions
diff --git a/media-sound/musepack-tools/Manifest b/media-sound/musepack-tools/Manifest new file mode 100644 index 000000000000..c3ab4d2714b1 --- /dev/null +++ b/media-sound/musepack-tools/Manifest @@ -0,0 +1,6 @@ +AUX musepack-tools-465-gentoo.patch 1550 SHA256 2be117d2d336a2245360dddef315ef6e48fb5b82e1c6dc64297fbe3a120e3739 SHA512 464513d49a290967b1fee8f9c27569e4b0b7004ddd5856f80dee9935a8ed4eeacabe48021f403136df0079a216b7da149edfea5079fa41eecd8caeaa13344369 WHIRLPOOL 39a9e521b9282fc9af30d8e2d25626f88f171d5d526a638638fab7d6b13616ccf8e46819b9c52593808da4dcb302e528b65c92934fb4759593ba9e124a07ea71 +DIST musepack-tools-465.tar.bz2 167612 SHA256 3c14ea0cbbabf3b3141d680ade1caa1c48d77fb0ab286a4fbf449643f302760a SHA512 ce933376bc127f6f4acc8500e50b6318a6bc5bf8443547fc0e25b4e8e5881fd7a73aff155560ffbc5161b5d7d03522c73bfbc31e14e1531fe511036a0f657d54 WHIRLPOOL fd598d7417ce20611da79c0382a686cc6ffa0e0f064e1260b94807c9f2028ad6603043b36c019e7b5d45efda749f8e3caa7d0607681e049c69b5d04f56b354c4 +EBUILD musepack-tools-465-r1.ebuild 961 SHA256 98e9b911cb19b55f4810993013859062b7251049c1a459945457e0cdd79c35d1 SHA512 813c509d4d404a44771f03530674e5d9f06bad42d81f34e84b4040c88d05076d7da7f1005d3dae9aada74894a20f28f21689f79cc88e7880e9e3e499c901209c WHIRLPOOL e03e9d40db82f6092516079fc9337def1b174e37814f870d8c5affbab9ed0469f4816c4db808d9bfa8302c1e79bff584250b00e38a5f377668cc87a25f6f7c0c +MISC ChangeLog 2495 SHA256 4aac3edaffc56ed4a9b237229f526fae08c2b943c0ec350b6eb4297587c2db1c SHA512 e5ed3147210f1bd1969b3d074689b19cca9fc166159e286fb8ba62608c60bc27dcd98ea09b88f47ebc8c8ef942b67c5c66fe0d319105577b09415963db17bee5 WHIRLPOOL 5fd853422f586743fff7226096369d29e6beb16c70266d64ef60e68300e3b9c04b106381e89603afd326e27baad239bb7360d12212ac5f0e1d4efabd8d54dd95 +MISC ChangeLog-2015 11933 SHA256 85237a12c392acd892747625a3dfd3e7f4e6a63aecd70392ddce9b22d3ef55ab SHA512 a916cc72838d07e0282e4a160ac6026bb376d132aed057f4b6750e9d91bcc23186373641602f5166ed767b9091dfb11900b699b8f75e41bd217970385376455d WHIRLPOOL 5b9ac27c22d9ac6ae5fb9fb18fde7c04ba8914c5b843cac95436d4fa0a93d209617fa6a7e1e3d0c61ee133fa33f7d9e8d3c446a5c694b5527a4c5b6ec6099e6b +MISC metadata.xml 259 SHA256 1321ae0a7e2232e5201f0537a1a6a49bd4fa5f03c1224a00e3edfb71d02bd29a SHA512 7315c86cee93f8109e30dd379dde35c51ad60e759a037cc8ee3feeec369434d65fecf785480861e7fc6a17baaf81517083284783b4b35143c911da98846d0360 WHIRLPOOL a2363e099d54512fba9b48dab9ebf3cb1346857aff3fedb1b318c5942093ee1fc6a5492f11faf5713e934dfa0fbbc70eab52e5319b5afc3d0e17ff56caa7c3fa diff --git a/media-sound/musepack-tools/files/musepack-tools-465-gentoo.patch b/media-sound/musepack-tools/files/musepack-tools-465-gentoo.patch new file mode 100644 index 000000000000..a93b5ebddadd --- /dev/null +++ b/media-sound/musepack-tools/files/musepack-tools-465-gentoo.patch @@ -0,0 +1,40 @@ +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -15,10 +15,6 @@ + + add_definitions(-DFAST_MATH -DCVD_FASTLOG) + +-if(NOT MSVC) +- set(CMAKE_C_FLAGS "-O3 -Wall -fomit-frame-pointer -pipe") +-endif(NOT MSVC) +- + add_subdirectory(libmpcdec) + add_subdirectory(libmpcpsy) + add_subdirectory(libmpcenc) +--- libmpcdec/CMakeLists.txt ++++ libmpcdec/CMakeLists.txt +@@ -1,7 +1,22 @@ + include_directories(${libmpc_SOURCE_DIR}/include) + if(SHARED) + add_library(mpcdec_shared SHARED huffman mpc_decoder mpc_reader streaminfo mpc_bits_reader mpc_demux requant synth_filter ${libmpc_SOURCE_DIR}/common/crc32) +-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_shared PROPERTIES OUTPUT_NAME mpcdec CLEAN_DIRECT_OUTPUT 1 VERSION 7.0.1 SOVERSION 7) ++ if(NOT MSVC) ++ target_link_libraries(mpcdec_shared m) ++ endif(NOT MSVC) + endif(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) ++ ++if(NOT MSVC) ++ target_link_libraries(mpcdec_static m) ++endif(NOT MSVC) ++ ++install(TARGETS mpcdec_static LIBRARY DESTINATION "lib${LIB_SUFFIX}" ARCHIVE DESTINATION "lib${LIB_SUFFIX}") ++ ++if(SHARED) ++ install(TARGETS mpcdec_shared LIBRARY DESTINATION "lib${LIB_SUFFIX}" ARCHIVE DESTINATION "lib${LIB_SUFFIX}") ++endif(SHARED) diff --git a/media-sound/musepack-tools/metadata.xml b/media-sound/musepack-tools/metadata.xml new file mode 100644 index 000000000000..39626a990be5 --- /dev/null +++ b/media-sound/musepack-tools/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> + </maintainer> +</pkgmetadata> diff --git a/media-sound/musepack-tools/musepack-tools-465-r1.ebuild b/media-sound/musepack-tools/musepack-tools-465-r1.ebuild new file mode 100644 index 000000000000..696f54ef075e --- /dev/null +++ b/media-sound/musepack-tools/musepack-tools-465-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit cmake-multilib + +# svn export http://svn.musepack.net/libmpc/trunk musepack-tools-${PV} +# tar -cjf musepack-tools-${PV}.tar.bz2 musepack-tools-${PV} + +DESCRIPTION="Musepack SV8 libraries and utilities" +HOMEPAGE="http://www.musepack.net" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="BSD LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +RDEPEND=">=media-libs/libcuefile-${PV}[${MULTILIB_USEDEP}] + >=media-libs/libreplaygain-${PV}[${MULTILIB_USEDEP}] + abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r5 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] ) + !media-libs/libmpcdec + !media-libs/libmpcdecsv7" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${P}-gentoo.patch" ) |