From 0bb8253b38dc8638a46b66ba909c1bfd1054e1ef Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 4 Nov 2022 09:13:50 +0000 Subject: gentoo auto-resync : 04:11:2022 - 09:13:50 --- media-libs/Manifest.gz | Bin 67097 -> 67076 bytes media-libs/ganv/Manifest | 2 - media-libs/ganv/ganv-1.8.0-r1.ebuild | 40 ----- media-libs/libde265/Manifest | 4 +- media-libs/libde265/libde265-1.0.9.ebuild | 96 ++++++++++++ media-libs/libde265/libde265-9999.ebuild | 2 +- media-libs/lilv/Manifest | 2 - media-libs/lilv/lilv-0.24.18-r1.ebuild | 74 --------- media-libs/raptor/Manifest | 3 +- .../files/raptor-2.0.15-configure-clang16.patch | 28 ++++ media-libs/raptor/raptor-2.0.15-r6.ebuild | 83 ---------- media-libs/raptor/raptor-2.0.15-r7.ebuild | 84 ++++++++++ media-libs/rubberband/Manifest | 6 - .../rubberband/files/rubberband-3.0.0-build.patch | 165 -------------------- .../rubberband/files/rubberband-3.1.0-build.patch | 169 --------------------- media-libs/rubberband/rubberband-3.0.0.ebuild | 61 -------- media-libs/rubberband/rubberband-3.1.0.ebuild | 61 -------- media-libs/suil/Manifest | 2 - media-libs/suil/suil-0.10.16-r1.ebuild | 67 -------- 19 files changed, 214 insertions(+), 735 deletions(-) delete mode 100644 media-libs/ganv/ganv-1.8.0-r1.ebuild create mode 100644 media-libs/libde265/libde265-1.0.9.ebuild delete mode 100644 media-libs/lilv/lilv-0.24.18-r1.ebuild create mode 100644 media-libs/raptor/files/raptor-2.0.15-configure-clang16.patch delete mode 100644 media-libs/raptor/raptor-2.0.15-r6.ebuild create mode 100644 media-libs/raptor/raptor-2.0.15-r7.ebuild delete mode 100644 media-libs/rubberband/files/rubberband-3.0.0-build.patch delete mode 100644 media-libs/rubberband/files/rubberband-3.1.0-build.patch delete mode 100644 media-libs/rubberband/rubberband-3.0.0.ebuild delete mode 100644 media-libs/rubberband/rubberband-3.1.0.ebuild delete mode 100644 media-libs/suil/suil-0.10.16-r1.ebuild (limited to 'media-libs') diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz index 56721602ebfc..fb4f7ab4180f 100644 Binary files a/media-libs/Manifest.gz and b/media-libs/Manifest.gz differ diff --git a/media-libs/ganv/Manifest b/media-libs/ganv/Manifest index 45f974eeef48..7aabd5e6e8ba 100644 --- a/media-libs/ganv/Manifest +++ b/media-libs/ganv/Manifest @@ -1,6 +1,4 @@ AUX ganv-1.8.2-make-intl-check-non-required.patch 409 BLAKE2B 28ce68d03232d549e2c0d28b8b5a1c5cd132cdddd97db6c4907ae93516627e1bf55818fe4e81652dbe05d2afc7048f0462df91a1398c702926f5b122f48e5d3c SHA512 6f346a40477e13472abdc2f1bbd91392019a8d2c53c0d0f6f6321864874f0c5557564f9fd6cc7adf45334f285f58ea0a0229e3f96a6439a9d30da8b1f291f88f -DIST ganv-1.8.0.tar.bz2 382822 BLAKE2B 4936b7f87fa7cf17ed86b8165558684f0f59387c9673144d57d8505e41f367735117e9f5b08508dcecb831b77b6bbc6559323417824a9f8defc43c81cc91d469 SHA512 00969879592af11d211ad790b970a8a3765ec0591515af856230e3fc9371b1611f2a4edc73d1fc59371a4c4a49c7479f279dc6f298d843296e6707cd2d495af4 DIST ganv-1.8.2.tar.xz 80496 BLAKE2B 45e5370f3b94a7010f89943225748e40291583f7d2cc80f637f3db4fac3a03c9b58217bd8e8119f7867302c43846be47e928721addce68560c63cec5faa3b4d4 SHA512 12544d45fc3b06a02dcfaf41be266770a8dcbd079979b07cb1a05388e3cdddd54040b609f76c16c8982d89f864e5000d04fd2d09d8036705a41cafe944c2a6dd -EBUILD ganv-1.8.0-r1.ebuild 987 BLAKE2B e399ca4f4ff40e0794a127eca77e5fdf09888a960fd80f7c50769718b6ec6a42c1e3823ad200549060afe3080300feda6be064034eb18088c2c330e9925b43dd SHA512 6a4defdba1ee8c32c08ba79816c69e7850c764dea40eb8e7685f8dd010636932f63f4edd5fdc4b7a1c638406576208dd355ff8c74c1362038a34faa93f46bbf3 EBUILD ganv-1.8.2.ebuild 903 BLAKE2B 636bdafc87d3597f621be995802a13a5adfb7e48bf920788a8451f21f68ecf4dd31f7c1a589b67cf904e095adc20fdf9bd0295044a6600025aa05b30dc836ee6 SHA512 c454aa68f15d4b28531f6d9a00d90d61dd6608eda8b95e1667bdd9fcd0b74680d0156fb54576d728352549feea96f56302d7b2895e8c27c739cb00bd7cda08bc MISC metadata.xml 357 BLAKE2B 26c69418b0a428bc0fb7a026ffb009ba1a2dff036ecfac2774f87bd4808a1126af0391c0a3d95d9a02e07928dd25e3f394839c34cd8d037de86a87ba8981cbb8 SHA512 ea05a50c736fc2e838b53efd5a8133dababcaea1b2d076e827c41127dc35c33f84ba846646d7d6e4fa6ec867d9a2d0488920a2480c4d27d9f5ab34005b1c44d0 diff --git a/media-libs/ganv/ganv-1.8.0-r1.ebuild b/media-libs/ganv/ganv-1.8.0-r1.ebuild deleted file mode 100644 index 11edc6ed0656..000000000000 --- a/media-libs/ganv/ganv-1.8.0-r1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8..10} ) -PYTHON_REQ_USE='threads(+)' -inherit flag-o-matic waf-utils python-any-r1 - -DESCRIPTION="A GTK+ widget for interactive graph-like environments" -HOMEPAGE="https://drobilla.net/software/ganv.html" -SRC_URI="https://download.drobilla.net/${P}.tar.bz2" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+fdgl +graphviz introspection nls" - -RDEPEND=" - dev-cpp/glibmm:2 - dev-cpp/gtkmm:2.4 - x11-libs/gtk+:2 - graphviz? ( media-gfx/graphviz[gtk2] ) - introspection? ( - app-text/yelp-tools - dev-libs/gobject-introspection:=[doctool] ) -" -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - dev-util/glib-utils - nls? ( virtual/libintl ) -" - -src_configure() { - append-cxxflags -std=c++11 - waf-utils_src_configure \ - $(use graphviz || echo "--no-graphviz") \ - $(use fdgl || echo "--no-fdgl") \ - $(use nls || echo "--no-nls") \ - $(use introspection && echo "--gir") -} diff --git a/media-libs/libde265/Manifest b/media-libs/libde265/Manifest index 4d4573effc28..c895b9bc9bec 100644 --- a/media-libs/libde265/Manifest +++ b/media-libs/libde265/Manifest @@ -1,5 +1,7 @@ AUX libde265-1.0.2-qtbindir.patch 1798 BLAKE2B 22e15a1d4dfe7f602c9b13611c17d4d6be396b1cb9d4d4690c43cb85cf6c21f64cde98e01b52551216612cf349f2fe74d59252b99a202cce7041d3c2b6a33dde SHA512 34b6efa56943e50d76c21e6911afff9c45e97d5608cfa5d3a53432bf2bf40f4fc6873d8c426b1a714542a6468670be2a710190191e5e1fe01c5e7dedf75f567c DIST libde265-1.0.8.tar.gz 381963 BLAKE2B 0577623de2ef86e1122b5b5c3642a750bb222c4988a996168e060e8ffd9f5c0787d31331cc8738362d3fc3fb31e8eb659629cab068f0ff1c71de9d15ed1f2ceb SHA512 0007138cb5da0d4cad1e118c01de249580f39c387a11f490d1e1f63ad0968ee2f7951e54580f298b3dbe31e5a3d1a7fa04454e11cbb82beaf8a9aaf56f5532ed +DIST libde265-1.0.9.tar.gz 845520 BLAKE2B 155a0ac1e14c568c0fb559beb89f3bbde67239ae2ac13dda5ad30d36b59a79d68f399c8d8192ad5190cb8286b03ab03714a9cf89ac139264773c4ff368a97b7e SHA512 225f9aa25eb6565ebf4f549d9d427ae278c4f6f67c76c51bcad79188faac0f5c93e9538357b264a7e2e9043014ccbc07750fb7d1ce1e7bb87fe2e0d1782cba61 EBUILD libde265-1.0.8.ebuild 2364 BLAKE2B 49964dcb953a5929eb6f6b627b6414cbd8728bb96bcfee69d1462106615acf1174df3ff455ab0df69c1f643dfd5e679246e76ffc4582d6c1f925a84ee4a8c873 SHA512 22a54b3f780bac8067388d80e86b65103abf6fed5ddf34b124f655a69c0250caf37e75301c776c6537a28b76c9717e5721b36913ee21b57b7b5bafe1a084c2e1 -EBUILD libde265-9999.ebuild 2362 BLAKE2B 51500fee0e98bdbc4c38ceadb7032208da02632ffaa43dab50c3e460a1690b6cc4802d935a3cb956fceae533fdf4ff7210821a60a19978420667c67d35f907c1 SHA512 1f12c014027b057e8e96298dd0dddb4b8d358e8311506ea96e466920246c7eefebdde6742afd5738c023194e7deeeb013b8d240779d733939ab596494c4c5454 +EBUILD libde265-1.0.9.ebuild 2372 BLAKE2B f43cbb8b394f7c3b52a78c2d80f46fe5456eda487af273f9a11d7b2ad9d75976b10165c6b09ce12b9fc66f5b91e51bd57d2c1f4917ffb809437447d4cc3bec8e SHA512 f1a96c387a38ba219338cf78788312f8e88925a4bc1d05f99da88e6f823ba34b4d5d107d147c232ffed7cc55bb29b2c12787bd24f2f4fa32a359d62548ff0fcc +EBUILD libde265-9999.ebuild 2369 BLAKE2B 5a20aff777a2d245da2cac8cfe139c0bec3a1002b751ac2265d4d5a172d2b6a81c62abbfb5adc829b2cd2be555d97fcf0163bcaec07adad580b10a44db01c431 SHA512 8d477000a4944fabdb2ec2cee6c3bf240e63422c1821b75878c3c34c410835aa96cab4e05f49e87cb9a2617912bed2589e4bafc07d83b6d88e91711db9aa1e71 MISC metadata.xml 661 BLAKE2B 784b7d045c910e3242b8922f7851d489176d5e8ba2cef080ee5f250d37f407b56c7646301ee5a185eac4a5dad496b19be56e429d80343b7cdd9b762ffb361b55 SHA512 e4ad3770eaf5a8d961bee58d11c91c15235e028cb2e51d10a8b007d0b6444777c21eb4a7a846a538616231915f19df981296ea22d65f68ff5806b71bb2b4a0ce diff --git a/media-libs/libde265/libde265-1.0.9.ebuild b/media-libs/libde265/libde265-1.0.9.ebuild new file mode 100644 index 000000000000..f545f19e87cd --- /dev/null +++ b/media-libs/libde265/libde265-1.0.9.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/strukturag/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/strukturag/libde265/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="Open h.265 video codec implementation" +HOMEPAGE="https://github.com/strukturag/libde265" + +LICENSE="GPL-3" +SLOT="0" +IUSE="enc265 dec265 sdl tools debug cpu_flags_x86_sse4_1 cpu_flags_arm_neon cpu_flags_arm_thumb" +# IUSE+=" sherlock265" # Require libvideogfx or libswscale + +RDEPEND=" + dec265? ( + sdl? ( media-libs/libsdl ) + )" + +# Sherlock265 require libvideogfx or libswscale +#RDEPEND+=" +# sherlock265? ( +# media-libs/libsdl +# dev-qt/qtcore:5 +# dev-qt/qtgui:5 +# dev-qt/qtwidgets:5 +# media-libs/libswscale +# ) +#" + +DEPEND="${RDEPEND}" +BDEPEND="dec265? ( virtual/pkgconfig )" + +# Sherlock265 require libvideogfx or libswscale +#BDEPEND+=" sherlock265? ( virtual/pkgconfig )" + +PATCHES=( "${FILESDIR}"/${PN}-1.0.2-qtbindir.patch ) + +src_prepare() { + default + + eautoreconf + + # without this, headers would be missing and make would fail + multilib_copy_sources +} + +multilib_src_configure() { + local myeconfargs=( + --disable-static + --enable-log-error + ax_cv_check_cflags___msse4_1=$(usex cpu_flags_x86_sse4_1) + ax_cv_check_cflags___mfpu_neon=$(usex cpu_flags_arm_neon) + $(use_enable cpu_flags_arm_thumb thumb) + $(use_enable debug log-info) + $(use_enable debug log-debug) + $(use_enable debug log-trace) + $(multilib_native_use_enable enc265 encoder) + $(multilib_native_use_enable dec265) + ) + + # myeconfargs+=( $(multilib_native_use_enable sherlock265) ) # Require libvideogfx or libswscale + myeconfargs+=( --disable-sherlock265 ) + + econf "${myeconfargs[@]}" +} + +multilib_src_install() { + default + + if multilib_is_native_abi; then + # Remove useless, unready and test tools + rm "${ED}"/usr/bin/{tests,gen-enc-table,yuv-distortion} || die + if ! use tools; then + rm "${ED}"/usr/bin/{bjoentegaard,block-rate-estim,rd-curves} || die + rm "${ED}"/usr/bin/acceleration_speed || die + fi + else + # Remove all non-native binary tools + rm "${ED}"/usr/bin/* || die + fi +} + +multilib_src_install_all() { + find "${ED}" -name '*.la' -delete || die + einstalldocs +} diff --git a/media-libs/libde265/libde265-9999.ebuild b/media-libs/libde265/libde265-9999.ebuild index ca1232ef92a2..4146cf2ae597 100644 --- a/media-libs/libde265/libde265-9999.ebuild +++ b/media-libs/libde265/libde265-9999.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == *9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/strukturag/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" fi DESCRIPTION="Open h.265 video codec implementation" diff --git a/media-libs/lilv/Manifest b/media-libs/lilv/Manifest index c1c039e579f0..c8521176afb3 100644 --- a/media-libs/lilv/Manifest +++ b/media-libs/lilv/Manifest @@ -1,5 +1,3 @@ -DIST lilv-0.24.18.tar.xz 118216 BLAKE2B c1d191a8513776b4e783f05076b8a8d5a20866e734527ff84e04d970d190b26d2c922aa6f7ba346632caea47daa265c1008d9295c3f0e41f85227103337ccd1f SHA512 eece846338403ba3e7c366024511d33bd5e399d3b1e6871d04ec3907540a9e3541ab7b0445bf17cf61c5779c5263f1ef23eadefb6411a2e4be8d79464a5b873e DIST lilv-0.24.20.tar.xz 118460 BLAKE2B 50b2044a7fb62cfcbea6dc68cd0d26503780f30a5a04e2ceafca9e02b2369965d7d27b8d08bbfa136930a3b18a3e0eb6cf4c326d3c2d46218badb4a8ec6e1e01 SHA512 68963b66fd6e577280867fcd5a601fd2cf539a10fcf0b667c22165cc7e42206fd6a20d56dbe97b587fb68f798d4db3b2351b87b1243c665c3a2b1bb82cbbf9a3 -EBUILD lilv-0.24.18-r1.ebuild 1553 BLAKE2B f7318169c5e9f00d605562d290fc06e987447f78cb2cabd1df857dc2b915b4415b2af7f6c9bec73c2dfb92da8fa67edee865fd11b19887a34114d4b0462ed299 SHA512 df06f8ddc6a7b9b3bde3fa3c495dd0ba901225ecca56089de5c1f879b691fadfbe3c3c3b35a40aa7784ec0d9d05bd33d5d792adfc6e935cf68417093b6e5f11d EBUILD lilv-0.24.20.ebuild 1560 BLAKE2B 7088fbb80e0aca80096930b4d93d5961d4f584a0017defa8dafa74935c53648f54411f0c79d34ecc9272e5799d408c5da0a03ecef85d318c7209b3d735b128cb SHA512 5205a59694133d6840eeb239e6d5be19f770b4faa9c14b1751896033b4cf78aa7b29ed5c9f4e35283e24b2eda76eff30e87d6941a08e92ba1160c1d3bcb08d24 MISC metadata.xml 573 BLAKE2B 5bc3986be5111f0c3777c47531b3c9677d9aa9ca4e95388472ed8abab5dd8339cf8df16cfba780b06c7cb1241613b02797c7c7b2100e4e2e6f2991ef02b3b9e4 SHA512 9b4fb81ec6e44bfa6a167b74f1ec6577542f88a9925101561cb87da122a4f67081966b71a17f5ce48a8ab251fb86cc82a45f68b4f36d5b66bc2c51623d5661a5 diff --git a/media-libs/lilv/lilv-0.24.18-r1.ebuild b/media-libs/lilv/lilv-0.24.18-r1.ebuild deleted file mode 100644 index c413f9e975f5..000000000000 --- a/media-libs/lilv/lilv-0.24.18-r1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..11} ) -PYTHON_REQ_USE='threads(+)' - -inherit meson-multilib python-single-r1 - -DESCRIPTION="Library to make the use of LV2 plugins as simple as possible for applications" -HOMEPAGE="https://drobilla.net/software/lilv.html" -SRC_URI="https://download.drobilla.net/${P}.tar.xz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86" -IUSE="doc python test tools" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -BDEPEND=" - virtual/pkgconfig - doc? ( - app-doc/doxygen - dev-python/sphinx - dev-python/sphinx_lv2_theme - ) -" -RDEPEND=" - ${PYTHON_DEPS} - dev-libs/serd[${MULTILIB_USEDEP}] - dev-libs/sord[${MULTILIB_USEDEP}] - media-libs/libsndfile - media-libs/lv2[${MULTILIB_USEDEP}] - media-libs/sratom[${MULTILIB_USEDEP}] -" -DEPEND="${RDEPEND}" - -pkg_setup() { - python_setup -} - -src_prepare() { - default - - # fix doc installation path - sed -iE "s%install_dir: docdir / 'lilv-0',%install_dir: docdir / '${PF}',%g" doc/c/meson.build || die -} - -multilib_src_configure() { - local emesonargs=( - $(meson_native_use_feature doc docs) - $(meson_feature python bindings_py) - $(meson_feature test tests) - $(meson_feature tools) - ) - - meson_src_configure -} - -multilib_src_install() { - meson_src_install - python_optimize -} - -multilib_src_install_all() { - local DOCS=( AUTHORS NEWS README.md ) - einstalldocs - - newenvd - 60lv2 <<-EOF - LV2_PATH=${EPREFIX}/usr/$(get_libdir)/lv2 - EOF -} diff --git a/media-libs/raptor/Manifest b/media-libs/raptor/Manifest index 62f601ce63e2..29e544bc3d9a 100644 --- a/media-libs/raptor/Manifest +++ b/media-libs/raptor/Manifest @@ -1,10 +1,11 @@ AUX 0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch 1197 BLAKE2B f570a9a479e9d73f506c16dc7c3a75badf5da2e2407173b1ddd6ed8374f269ca628ea1b84adf94ac3b055db9a1d74f812db9557b96c92300f53c60a5048728a6 SHA512 1d392b6fc41d59349b75e9ab5adcf95a545c02709ec2a71b1855f98a444c9e753ca44464264c624fcaf6e49404f8f92d7aa7b85dfacecb1c7c28f3960e9c4fb9 AUX raptor-2.0.15-clang-pointer-integer-warning.patch 1389 BLAKE2B 2673d64c4aa1ab6802a77c8f0196d17ac0b948aaa1fd18d120c566a0f453eb28e2478df5bdd3766daeebc079c61dbd1fc0eb13dcf0a89021cf2a9922151885be SHA512 774c4aa61d0184a76e8d23935c20e99e5b7be90dd3945ce071f89bbb8cc623b40037e2efcaeaa8019a2e8068e2e9b2bb0e74174a5c8e37c8603937c47c0301ab +AUX raptor-2.0.15-configure-clang16.patch 1215 BLAKE2B 6778c055bda00e769458745be34ad079a5ac1ca67e9756caef5a54f8a05ec634484b45573232c967d1d22ee91dcd3c96d63ccf5352e34d1931b23029c9b506ea SHA512 253d65d6958df061aeedfbf354db01a2f8770483c355ea26469c742de97ce690efb18e452a5fcecda06440f35bd68353cbefdadcf82fa8dea175de7b3a5eca57 AUX raptor-2.0.15-dont_use_curl-config.patch 1681 BLAKE2B 5c3b241836e04dabbcd6fd9db6e89225fcd8cf4c1eed24dff7bb5348d7a0985633a7f9173a5279b04ec277ad0f775a18c52ae33af86b6522a21a3e63123d162d SHA512 28e3137592c14dcf9fc1d8401e6bc58af7f1abcab4886acde42a03dd7b61aa9b176672300951f7b4fcdf5128ce445f12594f7a09444331d1d6c34aaa7a4b9cfc AUX raptor-2.0.15-heap-overflow.patch 1708 BLAKE2B cea8df63861760fe55f1320cbc0833d814c38148b3d5f2b7163348de48bd95a37ee3000d312ce76879c798182f74d60f49fcef89f5f051bd40febc0c1da68099 SHA512 f7df0ec3123ac8ec9f2852dfb54e380d210446a36ab2f74aa9d2dcb8346162046d239b4db9a0747b18e3d19f4dc1ce41d194557c5e53027a3618e81b7b251d3d AUX raptor-2.0.15-use-pkg-config-icu.patch 1575 BLAKE2B 7dfc19ecd246a049663c7e1ad6853fc9b8540a5a26ae24e3479c8fc7da4e519fd3ab4d5c8003962aed1b744701d8294cf0f08a298f854c0e58ecef6e1b42b7e9 SHA512 5848ca19d016aa46991c54de4f3d2f80cbc17c922f75fac49b5d7a9e33be07f6102f9c929107a2ed193d95a1333c64b436fa25639cf1803d0d60c40185d617f3 AUX raptor-2.0.15-use-pkg-config-libxml2.patch 1479 BLAKE2B 8b2f1d1a10b04d6c67b807af14c2e78444234c0202414fa172a34436e3c39399a02a7ebd7439f985dfc564b5899d2ffbf2c9a55b399b2db6cdc5b76118276055 SHA512 6d146068f386346af6e745791fb6adedb98fa7f9fe54838578c0a2261f9efadfca72e36eb5a9fd2e24a36264c780a7869482c16667a7bd067604b5cb62959c05 AUX raptor-2.0.15-use-pkg-config-libxslt.patch 3514 BLAKE2B 5bcdb3fecf1149ad60387bc4c485d42fd9f764556ebf383201baa3d18426a85ca76a3f29723a8f74be71a58fcfba9f5263a1b1681d012ea4cc0167260702d111 SHA512 0eef2e55e8f77ceb8ac1dc639eea7cb7ee53e53d0ad8058af8b52d44d9f5a5a4e027c7c90360b950469f0c632721c8be068fde7f7fdb8e93aab06b56d3845150 DIST raptor2-2.0.15.tar.gz 1886657 BLAKE2B 0a39c7b5705bfbf2daa0ca633f79693953b4dfe24c144008d1646a9840a36d4d7ce153b527450647127ec2522047dbd0a6e71f307ee5656951f7e4b610adfd22 SHA512 563dd01869eb4df8524ec12e2c0a541653874dcd834bd1eb265bc2943bb616968f624121d4688579cdce11b4f00a8ab53b7099f1a0850e256bb0a2c16ba048ee -EBUILD raptor-2.0.15-r6.ebuild 2003 BLAKE2B 9a5f8e8c8bae95b56c5135793056324ed2048cec901ec8280f9cd946f781aa576569dfa3392aae0b6ff7d376fb29b20a25684cbf94c53860c6972a32b4951ad3 SHA512 c027531af86ec0f05061ed4985bd32c3c097912214bb210025dd6f53b742dbaa1644e6b7a33dc352ff0200a4eeb3c07fff863f49f1938cbda121e6815654c680 +EBUILD raptor-2.0.15-r7.ebuild 2047 BLAKE2B bed4a9943090e3b7f4d46eeeaca4df9c8998f6800b5e3808a291708a088bc627aa48e3de2e7cda49479ffe7b023613692fe9a8be09b732c9f6b2580a5f583df9 SHA512 0a721dd4d512103c809cd054d8b5abe9d02e8748a7bb6f81fcc0e6dcd34faee20f2c18920bf87d1a2f47a0280def4de2efa612fac93bcad1e04f5d03b2f3e8a9 MISC metadata.xml 406 BLAKE2B 00da42e759d35fc777ebbce9df89b600758104eb240cbecff33df51779ac9f565a3f7ee35a89a7fb91fd234c1a19b89ff96416189a5015e5563cbd4f420f616a SHA512 1855a61f21b684e5abbf35c3276dc8185eb805574c65e84593eed08d1598d213ca99c17bfe86be3db3172dc103b1dd2b8524e22aeeaf912afa097d022ad0c5d2 diff --git a/media-libs/raptor/files/raptor-2.0.15-configure-clang16.patch b/media-libs/raptor/files/raptor-2.0.15-configure-clang16.patch new file mode 100644 index 000000000000..ab62fd9bff0c --- /dev/null +++ b/media-libs/raptor/files/raptor-2.0.15-configure-clang16.patch @@ -0,0 +1,28 @@ +https://github.com/dajobe/raptor/pull/55 + +From b7c252e1d5601321a5a6f6627745753b5c704762 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Fri, 4 Nov 2022 01:53:32 +0000 +Subject: [PATCH] configure.ac: fix -Wimplicit-function-declaration in + HAVE___FUNCTION__ test + +This breaks with Clang 16 which makes such errors fatal: +``` +error: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] +error: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] +``` + +Signed-off-by: Sam James +--- a/configure.ac ++++ b/configure.ac +@@ -335,7 +335,8 @@ AC_C_BIGENDIAN + AC_C_INLINE + + AC_MSG_CHECKING(whether __FUNCTION__ is available) +-AC_COMPILE_IFELSE([AC_LANG_SOURCE([int main() { printf(__FUNCTION__); }])], ++AC_COMPILE_IFELSE([AC_LANG_SOURCE([#include ++int main() { printf(__FUNCTION__); }])], + [AC_DEFINE([HAVE___FUNCTION__], [1], [Is __FUNCTION__ available]) + AC_MSG_RESULT(yes)], + [AC_MSG_RESULT(no)]) + diff --git a/media-libs/raptor/raptor-2.0.15-r6.ebuild b/media-libs/raptor/raptor-2.0.15-r6.ebuild deleted file mode 100644 index c13617839b54..000000000000 --- a/media-libs/raptor/raptor-2.0.15-r6.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools multilib-minimal - -MY_PN=${PN}2 -MY_P=${MY_PN}-${PV} - -DESCRIPTION="The RDF Parser Toolkit" -HOMEPAGE="https://librdf.org/raptor/" -SRC_URI="https://download.librdf.org/source/${MY_P}.tar.gz" - -LICENSE="Apache-2.0 GPL-2 LGPL-2.1" -SLOT="2" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="+curl debug json static-libs" - -DEPEND=" - dev-libs/libxml2[${MULTILIB_USEDEP}] - dev-libs/libxslt[${MULTILIB_USEDEP}] - dev-libs/icu:=[${MULTILIB_USEDEP}] - sys-libs/zlib[${MULTILIB_USEDEP}] - curl? ( net-misc/curl[${MULTILIB_USEDEP}] ) - json? ( dev-libs/yajl[${MULTILIB_USEDEP}] ) -" -RDEPEND="${DEPEND} - !media-libs/raptor:0 -" -BDEPEND=" - >=sys-devel/bison-3 - >=sys-devel/flex-2.5.36 - virtual/pkgconfig -" - -S="${WORKDIR}/${MY_P}" - -DOCS=( AUTHORS ChangeLog NEWS NOTICE README ) -HTML_DOCS=( {NEWS,README,RELEASE,UPGRADING}.html ) - -PATCHES=( - "${FILESDIR}/${P}-heap-overflow.patch" - "${FILESDIR}/${P}-dont_use_curl-config.patch" #552474 - "${FILESDIR}/0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch" - "${FILESDIR}/${P}-use-pkg-config-libxml2.patch" - "${FILESDIR}/${P}-use-pkg-config-icu.patch" - "${FILESDIR}/${P}-use-pkg-config-libxslt.patch" - "${FILESDIR}/${P}-clang-pointer-integer-warning.patch" -) - -src_prepare() { - default - - # bug #552474 - eautoreconf - - multilib_copy_sources -} - -multilib_src_configure() { - # FIXME: It should be possible to use net-nntp/inn for libinn.h and -linn! - - local myeconfargs=( - --with-html-dir="${EPREFIX}"/usr/share/gtk-doc/html - $(usex curl --with-www=curl --with-www=xml) - $(use_enable debug) - $(use_with json yajl) - $(use_enable static-libs static) - ) - - econf "${myeconfargs[@]}" -} - -multilib_src_test() { - emake -j1 test -} - -multilib_src_install() { - default - - find "${ED}" -name '*.la' -delete || die -} diff --git a/media-libs/raptor/raptor-2.0.15-r7.ebuild b/media-libs/raptor/raptor-2.0.15-r7.ebuild new file mode 100644 index 000000000000..6cc547d09459 --- /dev/null +++ b/media-libs/raptor/raptor-2.0.15-r7.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools multilib-minimal + +MY_PN=${PN}2 +MY_P=${MY_PN}-${PV} + +DESCRIPTION="The RDF Parser Toolkit" +HOMEPAGE="https://librdf.org/raptor/" +SRC_URI="https://download.librdf.org/source/${MY_P}.tar.gz" + +LICENSE="Apache-2.0 GPL-2 LGPL-2.1" +SLOT="2" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+curl debug json static-libs" + +DEPEND=" + dev-libs/libxml2[${MULTILIB_USEDEP}] + dev-libs/libxslt[${MULTILIB_USEDEP}] + dev-libs/icu:=[${MULTILIB_USEDEP}] + sys-libs/zlib[${MULTILIB_USEDEP}] + curl? ( net-misc/curl[${MULTILIB_USEDEP}] ) + json? ( dev-libs/yajl[${MULTILIB_USEDEP}] ) +" +RDEPEND="${DEPEND} + !media-libs/raptor:0 +" +BDEPEND=" + >=sys-devel/bison-3 + >=sys-devel/flex-2.5.36 + virtual/pkgconfig +" + +S="${WORKDIR}/${MY_P}" + +DOCS=( AUTHORS ChangeLog NEWS NOTICE README ) +HTML_DOCS=( {NEWS,README,RELEASE,UPGRADING}.html ) + +PATCHES=( + "${FILESDIR}/${P}-heap-overflow.patch" + "${FILESDIR}/${P}-dont_use_curl-config.patch" #552474 + "${FILESDIR}/0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch" + "${FILESDIR}/${P}-use-pkg-config-libxml2.patch" + "${FILESDIR}/${P}-use-pkg-config-icu.patch" + "${FILESDIR}/${P}-use-pkg-config-libxslt.patch" + "${FILESDIR}/${P}-clang-pointer-integer-warning.patch" + "${FILESDIR}/${P}-configure-clang16.patch" +) + +src_prepare() { + default + + # bug #552474 + eautoreconf + + multilib_copy_sources +} + +multilib_src_configure() { + # FIXME: It should be possible to use net-nntp/inn for libinn.h and -linn! + + local myeconfargs=( + --with-html-dir="${EPREFIX}"/usr/share/gtk-doc/html + $(usex curl --with-www=curl --with-www=xml) + $(use_enable debug) + $(use_with json yajl) + $(use_enable static-libs static) + ) + + econf "${myeconfargs[@]}" +} + +multilib_src_test() { + emake -j1 test +} + +multilib_src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/rubberband/Manifest b/media-libs/rubberband/Manifest index 8300c9d9f33a..5fe603f261bc 100644 --- a/media-libs/rubberband/Manifest +++ b/media-libs/rubberband/Manifest @@ -1,10 +1,4 @@ -AUX rubberband-3.0.0-build.patch 6150 BLAKE2B 2548de747697e04988e55483f08afd1c8e748080ff81f2db997cdd34ac64ad7031fa6ce5852bfeac0c5f96a04ba906f10d61ce395383ba509da7ed46823fcfc1 SHA512 b1be06cd1ec660db0f023268796850833e0813480acb9c0ba15a62ffca5174b2c5e4897eedc94606033bc51b865da607a549c1bca1bc56a3cd9268cae0566488 -AUX rubberband-3.1.0-build.patch 6539 BLAKE2B 206dec904b6f2db1f45b316b2b1845889eaeaa4b9b2f27a1d58fffe9f6660df40c64d0f545d64db8efaf2e93d03a4374ab034e54232abb6983db2324d2e294b1 SHA512 4e261a8b7a618fbb7ded735bddc92bf675a43ad0dc6c8c9eedebdc50f74d44b32de4ea44dc4c4a8b3e081f6d55167c90c9cb553497f727ceabb28db0a058dfe6 AUX rubberband-3.1.1-build.patch 6962 BLAKE2B 78dce6bb9f749bf2504735302f8aec74eb1405496d376485fc020155652d7726676a7d1bc701ecf1ebecd012c974e50306f2c0eafcdd1a12d9f0f812597a299a SHA512 425b8fdb99d38c8b070b4e42d8809acaf16b8955403604a0329fcdb5dfe2237615712dab4b17fd5faa110946ef246f54d3171191725760b495b7f550b318f428 -DIST rubberband-3.0.0.tar.bz2 213089 BLAKE2B 74afdf1f7c3360b711b365d73e12fe84afa5abc8ddb6a10a3d31392a621e9fca67e8b4c0292238b0e5726c56242438e1b2ef1d7d6ea6979a360cc7ecab45de75 SHA512 d8ce300a2cca7e35c548f9cd9f2f77f9b730b0e9427214d4a825b32ea9c90769e229f91db5846b90ff11a1513e8f68447fb598aa2684f67f10b4b9414b9ad748 -DIST rubberband-3.1.0.tar.bz2 217523 BLAKE2B f16c702e39804bfa79d673b5eed4cf0e295b5b16ca0ed41175118dbd30b3b78de12302e04f5255474859bcf80761cbada85d4df441ee454a0276d7f313be40b2 SHA512 bf21e924801651986a64b3ec3f1bfd399925da63de78e798b5b7ef5f138db4e8f2ba4f93eda54c619952cadadaa0d76871c5be1b2cdbcbc74233d0e078d0b8d2 DIST rubberband-3.1.1.tar.bz2 217586 BLAKE2B 17f616eab563f0949dc89103775dac2c932b8ade79e7445524c87d9ced46ecd30d9cff53960e2638ce571c1f6ddbc9ad50e7371900b96eb0ec22c58cc80e585e SHA512 240ad6cd486f975099f76c6ac8bcf34add45670f58164089ffc9767ebef4c7dfdd7e58ad0c3d99a96f56af0d1f7669e55c5fc3e79277357c62fba21cb3bfe4cd -EBUILD rubberband-3.0.0.ebuild 1573 BLAKE2B 65f28fa2d3d9b09903da0f2d8fe55108ab4dc32345a4d91dd069a5c39c7cbe6267bbce78d82f2dfd8c8622ece1b069fa5fda15162894fa8209b0cab0c2672264 SHA512 08b2a01e072f341562f7eea435c110002ef9aed1e876c3d54598fc674102ab67886f747cd26236f53507af9defe45f79ba44de0d863f61d511b1887f4279bc27 -EBUILD rubberband-3.1.0.ebuild 1579 BLAKE2B 44fe0a735c5bc45bbc037b2d924154092badb0612d627f4ef13591b864dd619f88a4bc816724075968832b2dfc42675a9529c90d2836163b15f3667a6171fa23 SHA512 b409d6db0bec4f6df57accd20c75f9cb74aea9db576db3b40bd7103cf6ddb0c1d32976cec82e10cf30ce2311aa564140302fc7a236183bdb02ad436a19ae53eb EBUILD rubberband-3.1.1.ebuild 1573 BLAKE2B 65f28fa2d3d9b09903da0f2d8fe55108ab4dc32345a4d91dd069a5c39c7cbe6267bbce78d82f2dfd8c8622ece1b069fa5fda15162894fa8209b0cab0c2672264 SHA512 08b2a01e072f341562f7eea435c110002ef9aed1e876c3d54598fc674102ab67886f747cd26236f53507af9defe45f79ba44de0d863f61d511b1887f4279bc27 MISC metadata.xml 491 BLAKE2B bda0db771d95de138274eb35f4c135f3bd9fb3a1b75ce60a8c57ad71e0c0a894924bb52060c8ca87e689f2a0f581213639de2ca5615a134dfecfa4f008698b2a SHA512 c549bcf465808927153a79f145b222379270d2813e150606382dcb1c15980a37a89d7f0178d3fee2fd3eb7216dd6ad989efe0a24e398f67af95872f6c92d570a diff --git a/media-libs/rubberband/files/rubberband-3.0.0-build.patch b/media-libs/rubberband/files/rubberband-3.0.0-build.patch deleted file mode 100644 index 3892f5231716..000000000000 --- a/media-libs/rubberband/files/rubberband-3.0.0-build.patch +++ /dev/null @@ -1,165 +0,0 @@ -diff --git a/meson.build b/meson.build -index 42f7f7f..b2a342a 100644 ---- a/meson.build -+++ b/meson.build -@@ -113,19 +113,27 @@ endforeach - - fftw3_dep = dependency('fftw3', version: '>= 3.0.0', required: false) - samplerate_dep = dependency('samplerate', version: '>= 0.1.8', required: false) --sndfile_dep = dependency('sndfile', version: '>= 1.0.16', required: false) --vamp_dep = dependency('vamp-sdk', version: '>= 2.9', required: false) -+if get_option('programs') -+ sndfile_dep = dependency('sndfile', version: '>= 1.0.16', required: false) -+endif -+if get_option('vamp') -+ vamp_dep = dependency('vamp-sdk', version: '>= 2.9', required: false) -+endif - boost_unit_test_dep = dependency('boost', modules: ['unit_test_framework'], version: '>= 1.73', required: false) - thread_dep = dependency('threads') --have_ladspa = cpp.has_header('ladspa.h', args: extra_include_args) -+if get_option('ladspa') -+ have_ladspa = cpp.has_header('ladspa.h', args: extra_include_args) -+endif - have_lv2 = cpp.has_header('lv2.h', args: extra_include_args) - have_sincos = cpp.has_function('sincos', - prefix: '#define _GNU_SOURCE\n#include ', - args: '-lm') --have_jni = cpp.has_header('jni.h', args: extra_include_args) -+if get_option('jni') -+ have_jni = cpp.has_header('jni.h', args: extra_include_args) - --javac = find_program('javac', required: false) --jar = find_program('jar', required: false) -+ javac = find_program('javac', required: false) -+ jar = find_program('jar', required: false) -+endif - - - # Check FFT and resampler options and set up dependencies and paths -@@ -296,37 +304,41 @@ if ipp_needed - endif - endif # ipp_needed - --if not vamp_dep.found() -- vamp_dep = cpp.find_library('VampPluginSDK', -- dirs: get_option('extra_lib_dirs'), -- has_headers: ['vamp-sdk.h'], -- header_args: extra_include_args, -- required: false) -+if get_option('vamp') - if not vamp_dep.found() -- vamp_dep = cpp.find_library('vamp-sdk', -+ vamp_dep = cpp.find_library('VampPluginSDK', - dirs: get_option('extra_lib_dirs'), - has_headers: ['vamp-sdk.h'], - header_args: extra_include_args, - required: false) -+ if not vamp_dep.found() -+ vamp_dep = cpp.find_library('vamp-sdk', -+ dirs: get_option('extra_lib_dirs'), -+ has_headers: ['vamp-sdk.h'], -+ header_args: extra_include_args, -+ required: false) -+ endif - endif -+ have_vamp = true - endif --have_vamp = vamp_dep.found() -- --if not sndfile_dep.found() -- sndfile_dep = cpp.find_library('sndfile', -- dirs: get_option('extra_lib_dirs'), -- has_headers: ['sndfile.h'], -- header_args: extra_include_args, -- required: false) -+ -+if get_option('programs') - if not sndfile_dep.found() -- sndfile_dep = cpp.find_library('sndfile-1', -+ sndfile_dep = cpp.find_library('sndfile', - dirs: get_option('extra_lib_dirs'), - has_headers: ['sndfile.h'], - header_args: extra_include_args, - required: false) -+ if not sndfile_dep.found() -+ sndfile_dep = cpp.find_library('sndfile-1', -+ dirs: get_option('extra_lib_dirs'), -+ has_headers: ['sndfile.h'], -+ header_args: extra_include_args, -+ required: false) -+ endif - endif -+ have_sndfile = true - endif --have_sndfile = sndfile_dep.found() - - have_boost_unit_test = boost_unit_test_dep.found() - -@@ -535,7 +547,7 @@ if get_option('default_library') != 'shared' and rubberband_additional_static_li - ) - endif - --if have_jni and javac.found() and jar.found() -+if get_option('jni') - target_summary += { 'JNI library': [ true, 'Name: ' + rubberband_jni_name ] } - message('Will build Java Native Interface') - rubberband_jni = shared_library( -@@ -570,7 +582,7 @@ if have_jni and javac.found() and jar.found() - ) - else - target_summary += { 'JNI library': false } -- if not have_jni -+ if not get_option('jni') - message('Not building Java Native Interface: jni.h header not found') - else - message('Not building Java Native Interface: Java compiler not found') -@@ -584,7 +596,7 @@ install_headers( - subdir: 'rubberband' - ) - --if have_ladspa -+if get_option('ladspa') - target_summary += { 'LADSPA plugin': [ true, 'Name: ' + rubberband_ladspa_name ] } - message('Will build LADSPA plugin') - rubberband_ladspa = shared_library( -@@ -651,7 +663,7 @@ else - message('Not building LV2 plugin: lv2.h header not found') - endif - --if have_vamp -+if get_option('vamp') - target_summary += { 'Vamp plugin': [ true, 'Name: ' + rubberband_vamp_name ] } - message('Will build Vamp plugin') - rubberband_vamp = shared_library( -@@ -683,7 +695,7 @@ else - message('Not building Vamp plugin: Vamp dependency not found') - endif - --if have_sndfile -+if get_option('programs') - 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 c820c20..81710de 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -26,3 +26,18 @@ option('extra_lib_dirs', - value: [], - description: 'Additional local library directories to search for dependencies.') - -+option('jni', -+ type: 'boolean', -+ value: 'false') -+ -+option('ladspa', -+ type: 'boolean', -+ value: 'false') -+ -+option('programs', -+ type: 'boolean', -+ value: 'false') -+ -+option('vamp', -+ type: 'boolean', -+ value: 'false') diff --git a/media-libs/rubberband/files/rubberband-3.1.0-build.patch b/media-libs/rubberband/files/rubberband-3.1.0-build.patch deleted file mode 100644 index 2e46c7e8ecfb..000000000000 --- a/media-libs/rubberband/files/rubberband-3.1.0-build.patch +++ /dev/null @@ -1,169 +0,0 @@ -diff --git a/meson.build b/meson.build -index c3de854..3dd5637 100644 ---- a/meson.build -+++ b/meson.build -@@ -117,25 +117,31 @@ sleef_dep = dependency('sleef', version: '>= 3.3.0', required: false) - sleefdft_dep = dependency('sleefdft', version: '>= 3.3.0', required: false) - samplerate_dep = dependency('samplerate', version: '>= 0.1.8', required: false) - speexdsp_dep = dependency('speexdsp', version: '>= 1.0.0', required: false) --sndfile_dep = dependency('sndfile', version: '>= 1.0.16', required: false) --vamp_dep = dependency('vamp-sdk', version: '>= 2.9', required: false) -+if get_option('programs') -+ sndfile_dep = dependency('sndfile', version: '>= 1.0.16', required: true) -+endif -+if get_option('vamp') -+ vamp_dep = dependency('vamp-sdk', version: '>= 2.9', required: true) -+endif - - boost_unit_test_dep = dependency('boost', modules: ['unit_test_framework'], version: '>= 1.73', required: false) - thread_dep = dependency('threads') --have_ladspa = cpp.has_header('ladspa.h', args: extra_include_args) -+if get_option('ladspa') -+ have_ladspa = cpp.has_header('ladspa.h', args: extra_include_args) -+endif - have_lv2 = cpp.has_header('lv2.h', args: extra_include_args) - have_sincos = cpp.has_function('sincos', - prefix: '#define _GNU_SOURCE\n#include ', - args: '-lm') - --javac = find_program('javac', required: false) --jar = find_program('jar', required: false) -- - # Look for JNI only if javac and jar are found. This is because the - # auto-JNI-dependency module in Meson 0.62 and 0.63 appears to bail - # out of the build completely if it can't find javac, even when - # required is false --if javac.found() and jar.found() -+if get_option('jni') -+ javac = find_program('javac', required: true) -+ jar = find_program('jar', required: true) -+ - jni_dep = dependency('jni', version: '>= 7.0.0', required: false) - if not jni_dep.found() - if cpp.has_header('jni.h', args: extra_include_args) -@@ -362,37 +368,41 @@ if ipp_needed - endif - endif # ipp_needed - --if not vamp_dep.found() -- vamp_dep = cpp.find_library('VampPluginSDK', -- dirs: get_option('extra_lib_dirs'), -- has_headers: ['vamp-sdk.h'], -- header_args: extra_include_args, -- required: false) -+if get_option('vamp') - if not vamp_dep.found() -- vamp_dep = cpp.find_library('vamp-sdk', -+ vamp_dep = cpp.find_library('VampPluginSDK', - dirs: get_option('extra_lib_dirs'), - has_headers: ['vamp-sdk.h'], - header_args: extra_include_args, - required: false) -+ if not vamp_dep.found() -+ vamp_dep = cpp.find_library('vamp-sdk', -+ dirs: get_option('extra_lib_dirs'), -+ has_headers: ['vamp-sdk.h'], -+ header_args: extra_include_args, -+ required: false) -+ endif - endif -+ have_vamp = true - endif --have_vamp = vamp_dep.found() - --if not sndfile_dep.found() -- sndfile_dep = cpp.find_library('sndfile', -- dirs: get_option('extra_lib_dirs'), -- has_headers: ['sndfile.h'], -- header_args: extra_include_args, -- required: false) -+if get_option('programs') - if not sndfile_dep.found() -- sndfile_dep = cpp.find_library('sndfile-1', -+ sndfile_dep = cpp.find_library('sndfile', - dirs: get_option('extra_lib_dirs'), - has_headers: ['sndfile.h'], - header_args: extra_include_args, - required: false) -+ if not sndfile_dep.found() -+ sndfile_dep = cpp.find_library('sndfile-1', -+ dirs: get_option('extra_lib_dirs'), -+ has_headers: ['sndfile.h'], -+ header_args: extra_include_args, -+ required: false) -+ endif - endif -+ have_sndfile = true - endif --have_sndfile = sndfile_dep.found() - - have_boost_unit_test = boost_unit_test_dep.found() - -@@ -601,7 +611,7 @@ if get_option('default_library') != 'shared' and rubberband_additional_static_li - ) - endif - --if jni_dep.found() and javac.found() and jar.found() -+if get_option('jni') - target_summary += { 'JNI library': [ true, 'Name: ' + rubberband_jni_name ] } - message('Will build Java Native Interface') - rubberband_jni = shared_library( -@@ -637,7 +647,7 @@ if jni_dep.found() and javac.found() and jar.found() - ) - else - target_summary += { 'JNI library': false } -- if not (javac.found() and jar.found()) -+ if not get_option('jni') - message('Not building Java Native Interface: Java compiler or archiver missing') - else - message('Not building Java Native Interface: JNI header not found') -@@ -651,7 +661,7 @@ install_headers( - subdir: 'rubberband' - ) - --if have_ladspa -+if get_option('ladspa') - target_summary += { 'LADSPA plugin': [ true, 'Name: ' + rubberband_ladspa_name ] } - message('Will build LADSPA plugin') - rubberband_ladspa = shared_library( -@@ -718,7 +728,7 @@ else - message('Not building LV2 plugin: lv2.h header not found') - endif - --if have_vamp -+if get_option('vamp') - target_summary += { 'Vamp plugin': [ true, 'Name: ' + rubberband_vamp_name ] } - message('Will build Vamp plugin') - rubberband_vamp = shared_library( -@@ -750,7 +760,7 @@ else - message('Not building Vamp plugin: Vamp dependency not found') - endif - --if have_sndfile -+if get_option('programs') - 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', - value: [], - description: 'Additional local library directories to search for dependencies.') - -+option('jni', -+ type: 'boolean', -+ value: 'false') -+ -+option('ladspa', -+ type: 'boolean', -+ value: 'false') -+ -+option('programs', -+ type: 'boolean', -+ value: 'false') -+ -+option('vamp', -+ type: 'boolean', -+ value: 'false') diff --git a/media-libs/rubberband/rubberband-3.0.0.ebuild b/media-libs/rubberband/rubberband-3.0.0.ebuild deleted file mode 100644 index e4b36dc1b583..000000000000 --- a/media-libs/rubberband/rubberband-3.0.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson-multilib flag-o-matic - -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 ppc ppc64 ~riscv ~sparc x86" -IUSE="ladspa jni static-libs +programs 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 ) - programs? ( media-libs/libsndfile ) - vamp? ( media-libs/vamp-plugin-sdk[${MULTILIB_USEDEP}] ) -" -RDEPEND="${CDEPEND}" -DEPEND="${CDEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-build.patch" -) - -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 - fi - - local emesonargs=( - --buildtype=release - -Dfft=fftw - -Dresampler=libsamplerate - -Ddefault_library=$(use static-libs && echo "both" || echo "shared") - $(meson_use ladspa) - $(meson_use jni) - $(meson_use programs) - $(meson_use vamp) - ) - use jni && emesonargs+=( - -Dextra_include_dirs="$(java-config -g JAVA_HOME)/include,$(java-config -g JAVA_HOME)/include/linux" - ) - meson_src_configure -} - -multilib_src_install_all() { - ! use jni && find "${ED}" -name "*.a" -delete -} diff --git a/media-libs/rubberband/rubberband-3.1.0.ebuild b/media-libs/rubberband/rubberband-3.1.0.ebuild deleted file mode 100644 index d19aa930e757..000000000000 --- a/media-libs/rubberband/rubberband-3.1.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson-multilib flag-o-matic - -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 ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="ladspa jni static-libs +programs 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 ) - programs? ( media-libs/libsndfile ) - vamp? ( media-libs/vamp-plugin-sdk[${MULTILIB_USEDEP}] ) -" -RDEPEND="${CDEPEND}" -DEPEND="${CDEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-build.patch" -) - -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 - fi - - local emesonargs=( - --buildtype=release - -Dfft=fftw - -Dresampler=libsamplerate - -Ddefault_library=$(use static-libs && echo "both" || echo "shared") - $(meson_use ladspa) - $(meson_use jni) - $(meson_use programs) - $(meson_use vamp) - ) - use jni && emesonargs+=( - -Dextra_include_dirs="$(java-config -g JAVA_HOME)/include,$(java-config -g JAVA_HOME)/include/linux" - ) - meson_src_configure -} - -multilib_src_install_all() { - ! use jni && find "${ED}" -name "*.a" -delete -} diff --git a/media-libs/suil/Manifest b/media-libs/suil/Manifest index 2b3a954e1794..4966bd291be0 100644 --- a/media-libs/suil/Manifest +++ b/media-libs/suil/Manifest @@ -1,5 +1,3 @@ -DIST suil-0.10.16.tar.xz 33744 BLAKE2B 614217013b39215f4b6d9414451a55fbca42dd038c6bc961d3769660707bf2da45432c97628edef8dacb8630437bcb304d10616ced2fd9cf9a6a4d094f196f6c SHA512 9b1dac07b017934a93f70d514ec477785683e7ed5949b62a2c4ad139c1e84265399f54d3140dcf0e542d20a0919286aacb52103c91e2f6fc7ebd707db2d98ac4 DIST suil-0.10.18.tar.xz 34372 BLAKE2B 739a25fa46227f0316a25efe0741f303698869f41322d525670589ad01f951bc52155a638f15b20ce715e14cb42a01fb022f60426c44abe05d988c679d27f604 SHA512 2c4630ef37f13c0e344eadfc8fdcfe70538abdabad1ad0865c43f9f5947fdbc3bdf56bb90e7a58f20d3e641ab9b7a7a670799920aca04374d7c992c52b93f8f3 -EBUILD suil-0.10.16-r1.ebuild 1220 BLAKE2B 4031468849ba1a7d75bda90756d71d735d1d983258a64df5a6c7a1056cc67099a8ba3076a9301dd1a4bdbdb0764ef28fd4884fa9cbfc3e6fde3d3edab1600dc6 SHA512 ede8ccb9851c3ee3286688f82b66748da6a87780f91aef5516cd37555fee4e1131e3e7ab45a9528fb4701c3db058c6d8939150fdc9dbfb2792b1736e11dc99ca EBUILD suil-0.10.18.ebuild 1220 BLAKE2B 4031468849ba1a7d75bda90756d71d735d1d983258a64df5a6c7a1056cc67099a8ba3076a9301dd1a4bdbdb0764ef28fd4884fa9cbfc3e6fde3d3edab1600dc6 SHA512 ede8ccb9851c3ee3286688f82b66748da6a87780f91aef5516cd37555fee4e1131e3e7ab45a9528fb4701c3db058c6d8939150fdc9dbfb2792b1736e11dc99ca MISC metadata.xml 561 BLAKE2B c2a96aa27533596af606b3b63c853b37d35503748f042d4b69cbb2a17568fc62acad26562fca3564d5f80a0d39227984191b28a78082e6ecfd47a3cef7bb5e32 SHA512 dc4919cfa4180f4ee402a833e69aae86d5d04d28f085e5f26228f8001cb2d04a7547bb17048960e74e4c8925291c043974bcdeb318b20089604ff189c4001261 diff --git a/media-libs/suil/suil-0.10.16-r1.ebuild b/media-libs/suil/suil-0.10.16-r1.ebuild deleted file mode 100644 index 80af9b0e7eea..000000000000 --- a/media-libs/suil/suil-0.10.16-r1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson - -DESCRIPTION="Lightweight C library for loading and wrapping LV2 plugin UIs" -HOMEPAGE="https://drobilla.net/software/suil.html" -SRC_URI="https://download.drobilla.net/${P}.tar.xz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="amd64 ~arm64 ppc ppc64 ~riscv x86" -IUSE="doc gtk gtk2 qt5 X" - -BDEPEND=" - virtual/pkgconfig - doc? ( - app-doc/doxygen - dev-python/sphinx - dev-python/sphinx_lv2_theme - ) -" -# This could be way refined, but it's quickly a rabbit hole - -RDEPEND=" - media-libs/lv2 - gtk2? ( - x11-libs/gtk+:2 - dev-libs/glib:2 - ) - gtk? ( - x11-libs/gtk+:3 - dev-libs/glib:2 - ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - ) - X? ( x11-libs/libX11 ) -" - -DEPEND="${RDEPEND}" - -DOCS=( AUTHORS NEWS README.md ) - -src_prepare() { - default - - # fix doc installation path - sed -iE "s%install_dir: docdir / 'suil-0',%install_dir: docdir / '${PF}',%g" doc/c/meson.build || die -} - -src_configure() { - local emesonargs=( - $(meson_feature doc docs) - $(meson_feature gtk2) - $(meson_feature gtk gtk3) - $(meson_feature qt5) - $(meson_feature X x11) - ) - - meson_src_configure -} -- cgit v1.2.3