diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-29 09:53:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-29 09:53:01 +0100 |
commit | f7436a5ce1c11f1c33cd09dd757f768cd07b19fd (patch) | |
tree | 6296aa82e3fe61664c80ba6cdd0d7cc410a1c2ad /media-libs/rubberband | |
parent | 80422eacf48ea819f1aeefc7a809533aa63fb85a (diff) |
gentoo auto-resync : 29:03:2023 - 09:53:01
Diffstat (limited to 'media-libs/rubberband')
-rw-r--r-- | media-libs/rubberband/Manifest | 4 | ||||
-rw-r--r-- | media-libs/rubberband/files/rubberband-3.1.1-build.patch | 4 | ||||
-rw-r--r-- | media-libs/rubberband/rubberband-3.1.3.ebuild | 87 |
3 files changed, 90 insertions, 5 deletions
diff --git a/media-libs/rubberband/Manifest b/media-libs/rubberband/Manifest index 0c75dabb7858..c74c061fd9aa 100644 --- a/media-libs/rubberband/Manifest +++ b/media-libs/rubberband/Manifest @@ -1,6 +1,8 @@ -AUX rubberband-3.1.1-build.patch 6962 BLAKE2B 78dce6bb9f749bf2504735302f8aec74eb1405496d376485fc020155652d7726676a7d1bc701ecf1ebecd012c974e50306f2c0eafcdd1a12d9f0f812597a299a SHA512 425b8fdb99d38c8b070b4e42d8809acaf16b8955403604a0329fcdb5dfe2237615712dab4b17fd5faa110946ef246f54d3171191725760b495b7f550b318f428 +AUX rubberband-3.1.1-build.patch 6812 BLAKE2B bbc737c3721fcecbe133acda980c31d90fd0009d697e5dfdbdc38ab47bc381ce8ce65bbde011a6974f363c69fe33b22daf6a8d4a950b113dc905e5fce9b01465 SHA512 d6bfd803cdead6b1b744bc980258e8e41752ea3e2caeb8a6b8ccba0b1d1ddee3cdb5d580a13ee4316dc26310b3fed4dc11e832e55371624c7ba0676518089158 DIST rubberband-3.1.1.tar.bz2 217586 BLAKE2B 17f616eab563f0949dc89103775dac2c932b8ade79e7445524c87d9ced46ecd30d9cff53960e2638ce571c1f6ddbc9ad50e7371900b96eb0ec22c58cc80e585e SHA512 240ad6cd486f975099f76c6ac8bcf34add45670f58164089ffc9767ebef4c7dfdd7e58ad0c3d99a96f56af0d1f7669e55c5fc3e79277357c62fba21cb3bfe4cd DIST rubberband-3.1.2.tar.bz2 218361 BLAKE2B 26d2850adea8b564e49ce1eb24abcd9cd83d20a5eda6bcfc1254b3357a0e720b04faa9e9f2de769b65f6449afe138de9051505f745f69a73cc1275786029838c SHA512 b21605a0cf882e34fc2eada38a446220257e4b067475e36dfeef00d491425ad51398fbb49773dbd162683531b70f7c864ab02bff744d7e0dde7ed1d64aa1d327 +DIST rubberband-3.1.3.tar.bz2 218532 BLAKE2B edc9ada6a67af2b45f15a6240b46d77830068595f5b873b50b55e91be29abc30600025713e7bd84e99d05ea1d0fcdb36873cbf966b00d7e805cfea99a4462e1d SHA512 c7e42020c543b1741e1d3e7ad79f92081177953f63a8b7b1c302a185cb7a0b828d9519e03a6df39c1cff356b324370313501df54bc74be32dcdb955c789b6485 EBUILD rubberband-3.1.1-r1.ebuild 1777 BLAKE2B 006f2b1e51b9445703d547d8a8bbf5c0b793ab824738bbf9274b4b7acaf11b982f6bf52db67e982359c8b8456927d2a320889faefde2e92b6de8f3b9a0a95a28 SHA512 e42edbfa26c594a74acdf6230fc6f60fe7b4c928c698216e327c1528039c4c6238d69dd79c227ad3211ab96ea981e94ba67dd185bcbb407db5aada1b8d4d5e75 EBUILD rubberband-3.1.2.ebuild 2433 BLAKE2B cf669664027b15cf972e5a500adce631e7dbeaba4ac8aaf59eeb3434c285f45fe31fee8a052fbb182e7d061d2ecc1d3cab91a960c6853c488117018c38cd6e7e SHA512 4abfae1b4fdcc8ecb23358e30968529525f910d0f05540270e5ada1b0d1eca179e27d105a042f892203ac8b0d440861cb2c4660d6b382e518516b5332088f2d7 +EBUILD rubberband-3.1.3.ebuild 2433 BLAKE2B cf669664027b15cf972e5a500adce631e7dbeaba4ac8aaf59eeb3434c285f45fe31fee8a052fbb182e7d061d2ecc1d3cab91a960c6853c488117018c38cd6e7e SHA512 4abfae1b4fdcc8ecb23358e30968529525f910d0f05540270e5ada1b0d1eca179e27d105a042f892203ac8b0d440861cb2c4660d6b382e518516b5332088f2d7 MISC metadata.xml 542 BLAKE2B 3a2847c1efdc85bd471215d4ab69c44a8e209e701de1d3aece7c1800dfc74107d6c93ea5736a3587a23146f2ed4a8a58f0829c305db9c32aebf92b9bfc8dff46 SHA512 852f9c71e2bce0df67a5a45bd7833472abc6e66dabe149a5a22938a0aef5c29477f2545d03fff5fe39e5eee14a21d30d0e7fcb7597f0b05c7570a0abf9265b54 diff --git a/media-libs/rubberband/files/rubberband-3.1.1-build.patch b/media-libs/rubberband/files/rubberband-3.1.1-build.patch index 650deb8d996f..9dce52ec5e03 100644 --- a/media-libs/rubberband/files/rubberband-3.1.1-build.patch +++ b/media-libs/rubberband/files/rubberband-3.1.1-build.patch @@ -1,5 +1,3 @@ -diff --git a/meson.build b/meson.build -index 43cbf33..2024964 100644 --- a/meson.build +++ b/meson.build @@ -117,12 +117,18 @@ sleef_dep = dependency('sleef', version: '>= 3.3.0', required: false) @@ -158,8 +156,6 @@ index 43cbf33..2024964 100644 message('Will build command-line utilities') target_summary += { 'Command-line utility (R2)': [ true, 'Name: ' + rubberband_program_name ] } rubberband_program = executable( -diff --git a/meson_options.txt b/meson_options.txt -index e44837c..4e4ca29 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -26,3 +26,18 @@ option('extra_lib_dirs', diff --git a/media-libs/rubberband/rubberband-3.1.3.ebuild b/media-libs/rubberband/rubberband-3.1.3.ebuild new file mode 100644 index 000000000000..021e7a03c3e6 --- /dev/null +++ b/media-libs/rubberband/rubberband-3.1.3.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson-multilib flag-o-matic toolchain-funcs + +DESCRIPTION="An audio time-stretching and pitch-shifting library and utility program" +HOMEPAGE="https://www.breakfastquay.com/rubberband/" +SRC_URI="https://breakfastquay.com/files/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="ladspa lv2 jni static-libs +programs test vamp" + +BDEPEND=" + virtual/pkgconfig +" +CDEPEND=" + media-libs/libsamplerate[${MULTILIB_USEDEP}] + sci-libs/fftw:3.0[${MULTILIB_USEDEP}] + jni? ( >=virtual/jdk-1.8:* ) + ladspa? ( media-libs/ladspa-sdk[${MULTILIB_USEDEP}] ) + lv2? ( media-libs/lv2[${MULTILIB_USEDEP}] ) + programs? ( media-libs/libsndfile[${MULTILIB_USEDEP}] ) + vamp? ( media-libs/vamp-plugin-sdk[${MULTILIB_USEDEP}] ) +" +RDEPEND=" + ${CDEPEND} + sys-devel/gcc:* +" +DEPEND="${CDEPEND}" +BDEPEND="test? ( dev-libs/boost )" +RESTRICT="!test? ( test )" + +src_prepare() { + sed -i \ + -e "s/if have_jni/if get_option('jni')/g" \ + -e "s/if have_ladspa/if get_option('ladspa')/g" \ + -e "s/if have_lv2/if get_option('lv2')/g" \ + -e "s/if have_vamp/if get_option('vamp')/g" \ + -e "s/if have_sndfile/if get_option('cmdline')/g" \ + "meson.build" || die + + sed -i -e "s/type: 'feature', value: 'auto'/type: 'boolean', value: 'false'/g" "meson_options.txt" || die + + default +} + +multilib_src_configure() { + if use ppc ; then + # bug #827203 + # meson doesn't respect/use LIBS but mangles LDFLAGS with libs + # correctly. Use this until we get a Meson test for libatomic. + append-ldflags -latomic + elif tc-is-clang && [[ $(tc-get-cxx-stdlib) == libstdc++ ]] ; then + # bug #860078 + # undefined reference to `__atomic_is_lock_free' + append-ldflags -latomic + fi + + local emesonargs=( + --buildtype=release + -Dfft=fftw + -Dresampler=libsamplerate + -Ddefault_library=$(use static-libs && echo "both" || echo "shared") + $(meson_use ladspa) + $(meson_use lv2) + $(meson_use jni) + $(meson_use programs cmdline) + $(meson_use vamp) + $(meson_use test tests) + ) + use jni && emesonargs+=( + -Dextra_include_dirs="$(java-config -g JAVA_HOME)/include,$(java-config -g JAVA_HOME)/include/linux" + ) + meson_src_configure +} + +multilib_src_test() { + meson_src_test --timeout-multiplier=30 +} + +multilib_src_install_all() { + ! use jni && find "${ED}" -name "*.a" -delete +} |