diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
commit | 8d5dbd847cbc704a6a06405856e94b461011afe3 (patch) | |
tree | 4d26462d027b14926335894749d2e01d982234d0 /media-libs | |
parent | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff) |
gentoo resync : 27.03.2021
Diffstat (limited to 'media-libs')
57 files changed, 2273 insertions, 256 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex 4a6a5d589cac..8791e74226b0 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/cogl/Manifest b/media-libs/cogl/Manifest index f78ba3f74819..9f9ff0fac890 100644 --- a/media-libs/cogl/Manifest +++ b/media-libs/cogl/Manifest @@ -1,3 +1,4 @@ +AUX cogl-1.22.8-slibtool.patch 835 BLAKE2B d0bc0215d785be2b8fbae5afc23b50dc79adc77bb4a1c8e8dcef0104febfad397ddab94f9afe811b9765cd9c829bab4d5282ae95e5f32aaea3ec4e6c2649a651 SHA512 a0478481712f2481f08bcdd2c0feb87c2c1a45fe0e0e37aa00bdeed54ca5376d0dbeafe8b21d9ea28bb326025ccfaefa956683b779cf19f2bfc8524f7b962c97 DIST cogl-1.22.8.tar.xz 1742632 BLAKE2B c6230a2223928c5d4e5d87fa6b039c96000fac546e3e57e04e528b571500d350013a4b6e0a2ab6b2133672fec992fff6f9486ab8c83a01cf9790bc94266c75d4 SHA512 702d5b1b22dc34bffaa82c9c57021caf036ee3a13fa7ca24a90cca1ebc0f8b7a86070cc1fe5125757132b02774fa874bb55675c96d1ccbc233fac0e6132da65f -EBUILD cogl-1.22.8.ebuild 3271 BLAKE2B 9ed4d3eabfd8e6a738d0c0c7a951e36a9928b212a01afefa8956e6ed574b4c5c7477e04a4cf31687c122ffb86f11298ef54465af3a3a7a666fb309c03fd53cb9 SHA512 aabab891acd06dda2f9b2df053dfd01d7063ae8173ce1830013e8a9049dacdd8f6e9aeae7ac0ebd221a288e37e7960b18e64d66b6ad523cbaf0b6f55108d5f22 +EBUILD cogl-1.22.8.ebuild 3452 BLAKE2B d40276aec062d7c25014ccf7c8905afb4751f206e5d314b03efd03b2582240f574d4115e39074d3ed3ae754df45d727088dc8e2b4654d5c947ffe9cff6d035c0 SHA512 e9c3d8eebc20f0e980bd44065e62c85d41fbd54debd90b27ad221b78f5ba852a267aecbf4deb3992e909ccd9da1803ba8ac5ec6adab361dd668908b84181adda MISC metadata.xml 457 BLAKE2B 79c55fb3e5a1e5772c7b26cea5b54b15d683772204ec2ff2229481085130f4945b877a4608f01308a297571c01fa0da50220cd44b6a333eb34d2aae71c3a9157 SHA512 e0e4be51119ec98c906ca2f5df69c9024d77855fafa53ec00bc30b481f33dfd98708c2c9021737f84a46121788079fdc1d9ecffc2693a3257819f05879318a44 diff --git a/media-libs/cogl/cogl-1.22.8.ebuild b/media-libs/cogl/cogl-1.22.8.ebuild index 9396a6fa5d46..c2fb848a363e 100644 --- a/media-libs/cogl/cogl-1.22.8.ebuild +++ b/media-libs/cogl/cogl-1.22.8.ebuild @@ -3,6 +3,10 @@ EAPI=6 +# Temporarily needed for slibtool patch +# It's upstreamed so should be able to drop in future +# bug #778041 +GNOME2_EAUTORECONF="yes" inherit gnome2 multilib DESCRIPTION="A library for using 3D graphics hardware to draw pretty pictures" @@ -57,6 +61,10 @@ DEPEND="${COMMON_DEPEND} # For some reason GL3 conformance test all fails again... RESTRICT="test" +PATCHES=( + "${FILESDIR}"/${P}-slibtool.patch +) + src_prepare() { # Do not build examples sed -e "s/^\(SUBDIRS +=.*\)examples\(.*\)$/\1\2/" \ diff --git a/media-libs/cogl/files/cogl-1.22.8-slibtool.patch b/media-libs/cogl/files/cogl-1.22.8-slibtool.patch new file mode 100644 index 000000000000..631ba13c5630 --- /dev/null +++ b/media-libs/cogl/files/cogl-1.22.8-slibtool.patch @@ -0,0 +1,26 @@ +https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/35 +https://bugs.gentoo.org/778041 + +From 2bd3cbed45d633fb15625d58e6b7cb8721b0ba98 Mon Sep 17 00:00:00 2001 +From: orbea <orbea@riseup.net> +Date: Thu, 25 Mar 2021 07:17:20 -0700 +Subject: [PATCH] cogl-gles2: Fix undefined references. + +--- + cogl-gles2/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/cogl-gles2/Makefile.am b/cogl-gles2/Makefile.am +index 72ec1eae..1328444e 100644 +--- a/cogl-gles2/Makefile.am ++++ b/cogl-gles2/Makefile.am +@@ -17,6 +17,7 @@ endif + AM_CFLAGS = $(COGL_DEP_CFLAGS) $(COGL_EXTRA_CFLAGS) $(MAINTAINER_CFLAGS) + + libcogl_gles2_la_SOURCES = cogl-gles2-api.c ++libcogl_gles2_la_LIBADD = $(top_builddir)/cogl/libcogl.la + libcogl_gles2_la_LDFLAGS = \ + -no-undefined \ + -version-info @COGL_LT_CURRENT@:@COGL_LT_REVISION@:@COGL_LT_AGE@ \ +-- +GitLab diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest index 5987c00bc9b9..2e0a1b39ac64 100644 --- a/media-libs/flac/Manifest +++ b/media-libs/flac/Manifest @@ -1,4 +1,4 @@ AUX flac-1.3.3-fix-zero-first-byte-md5sum-check.patch 813 BLAKE2B 83c327bebf5b813a52a533e2860887313e065cb0fdda807539e20dcef68203aaf5903622f8eae3b3016e6b6259b3af841facb6dfc9ab735d6f87b43a5e3b8974 SHA512 c5f5d13298a7c3c18e7b8ffa0c10ab0427331ac393672443b54686465f833712c522c1e55f834823804dcdbcdb5deb742d65f6edd30e271d980c4337a61a4480 DIST flac-1.3.3.tar.xz 1044472 BLAKE2B 14acf10e5bce54767a8e3c9bfd0b80c388011e35c7e6a814672f8048d5350b4e6f54c6df4f704e611fa4a796fcfcb6aca1ed798f542cd6abe181210f9f6e33f6 SHA512 d6417e14fab0c41b2df369e5e39ce62a5f588e491af4d465b0162f74e171e5549b2f061867f344bfbf8aaccd246bf5f2acd697e532a2c7901c920c69429b1a28 -EBUILD flac-1.3.3-r1.ebuild 1644 BLAKE2B 511e2666915aba97d5cf0d23729bb4cd081325f2b5939fa8428e633d4aaef60d736968c0600749428c0cb41948f0866b0fb1779c39dce188d38d438aaf159785 SHA512 9621ba9081de2673dcafb26d6d84aa38e36cce5c3aee314ad658e8cab87851b2a05d57494d8dfe2ea70b706a11b4295dd9b7c1bd861da55a69b2eaf9a0c54a31 +EBUILD flac-1.3.3-r1.ebuild 1643 BLAKE2B 9f0aeb88e19be519f2301802437f27cf4a834ae5903d75b5a91d7d5f2c1ab658b010c1499bb0ceed4550d577a1e27e7a7130e218f00aa68c61e59b32ae3a7186 SHA512 865a739368e3da2ced5c9f5fd47c971a120e791385af709ddc546561744f2a855c9398a9941482826a1a94d9e59eb94f2b070297039770fcaf2b7bf7daf30fec MISC metadata.xml 327 BLAKE2B dee4aea4020b899879f83487d34853963264b68e7a7e8c509571bc353a5b20fde4d7f78899b900bf4214f5d488f088523090d4f41e8542f069e9a4eb7791c2ad SHA512 a4e6ad50d3089ff980a07a6ea6f7fcc22e3efc4da4c5721492aae001861fa185f12d68fc5effb55ccce8d67042b7a605c28096f4bca88f2ba9d5b4eb2593d14c diff --git a/media-libs/flac/flac-1.3.3-r1.ebuild b/media-libs/flac/flac-1.3.3-r1.ebuild index fc6ee1ef776f..1dd5109adf9e 100644 --- a/media-libs/flac/flac-1.3.3-r1.ebuild +++ b/media-libs/flac/flac-1.3.3-r1.ebuild @@ -15,12 +15,11 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-li IUSE="+cxx debug ogg cpu_flags_ppc_altivec cpu_flags_ppc_vsx cpu_flags_x86_sse static-libs" RDEPEND="ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - abi_x86_32? ( dev-lang/nasm ) -" +DEPEND="${RDEPEND}" BDEPEND=" app-arch/xz-utils virtual/pkgconfig + abi_x86_32? ( dev-lang/nasm ) !elibc_uclibc? ( sys-devel/gettext ) " diff --git a/media-libs/glfw/Manifest b/media-libs/glfw/Manifest index 3a75d3922ee8..a5e16880dcd5 100644 --- a/media-libs/glfw/Manifest +++ b/media-libs/glfw/Manifest @@ -1,5 +1,5 @@ DIST glfw-3.3.2.tar.gz 759972 BLAKE2B a246681d580dd569a045b76db71c18f8dbfacb8483c2d825aa68094d655468d093c52ba3770b2b5d566de62149a775001f5acd7c7539a8235c43e3e9ab58df28 SHA512 f5af749d33b5b900ccf07988ad0bf51bd766a18e4cf2bc2a76020c88e98a2528ff1b965224184fe0d290cfe34b1af1e6f633600660d81194fe354078e2f35c56 DIST glfw-3.3.3.tar.gz 763713 BLAKE2B bd6202877a3462d717a6d77b6381de704da854df011f7ab5172e626dc46df90793190284241b470a4b78e020302e5dca4051476e092e73e34731f6245a43ea14 SHA512 6d743d89d159bff6c4f7fa3fc5bc407fd728bdc432d76acc4897fd392580be272f8a9d1d7c375c4323e82bf2fd28310e5daab097fef33e8f43b69ce104f9bd31 EBUILD glfw-3.3.2.ebuild 917 BLAKE2B 201613d30143c1145aaf264198be05a0f87e17b5a261174bb397241c8fafdfc38a40dc268cd6f269b10dc41c6b74c65a51ddfdc8121ec5e67b5df3ff0a8e5a5c SHA512 7555c1164fe1fca8fc860e52cafc492fe580a1f1a3456d68209f03adfeeaa377de0217570aa563f95345a9070afadf3358d117efbff2ac70b15879ab54d2d7ca -EBUILD glfw-3.3.3.ebuild 919 BLAKE2B c4e4a3053fe56de47352674c8ac7834b1e45935ed64fa72515e4692e274916d04abc4aaf99a7ca9aaf6ad0d431e71a9f108ea4e78d59ef970e07127dde66e001 SHA512 6923cfb6d28c261e2a0cdb99d330b9266a49a45f57779befd9c74cbd261a0877b0281ed5c72ddc802b707080e32db5ee8563bd4a690cef8b0226a0255e9d3b24 +EBUILD glfw-3.3.3.ebuild 917 BLAKE2B 201613d30143c1145aaf264198be05a0f87e17b5a261174bb397241c8fafdfc38a40dc268cd6f269b10dc41c6b74c65a51ddfdc8121ec5e67b5df3ff0a8e5a5c SHA512 7555c1164fe1fca8fc860e52cafc492fe580a1f1a3456d68209f03adfeeaa377de0217570aa563f95345a9070afadf3358d117efbff2ac70b15879ab54d2d7ca MISC metadata.xml 327 BLAKE2B fd8eb3b2c083a3f02e52ae8290f0e1105847ff17cd052eb0211bd007cddf452f34009ad2eaee0809f90a633e60baf4cd2a47e2184d21f691a16219c409ebc907 SHA512 d9d3fe05c0a07b0e0ea3f49589117dc9e3d7859bb0207dcea3d95451858b040c27bba2eaf422b2dcdc6aa8e08b0147ff32d12fea93b648fd861df0e70960a650 diff --git a/media-libs/glfw/glfw-3.3.3.ebuild b/media-libs/glfw/glfw-3.3.3.ebuild index ea8df33cd67c..126bde0fc027 100644 --- a/media-libs/glfw/glfw-3.3.3.ebuild +++ b/media-libs/glfw/glfw-3.3.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/glfw/glfw/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 x86" IUSE="wayland" RDEPEND=" diff --git a/media-libs/lasi/Manifest b/media-libs/lasi/Manifest index d72b4b37cbe9..71ad731674cf 100644 --- a/media-libs/lasi/Manifest +++ b/media-libs/lasi/Manifest @@ -1,9 +1,5 @@ -AUX lasi-1.1.0-cmake.patch 421 BLAKE2B 39ebb3759e055f045f406f59d9408c09f70a5496a76881f6a16621f3aa24364206360811f70f7db4b5a85f4583a525d1dd9de4fc28f45056bc8c4148cdfd6fd1 SHA512 f4218f6ed42c149dcbcefdee55e0332b83f5a6e039571cf9e0f600a60408071f9bd0d32fc0ea3286157719e164ec49221f84451353c1d3af7df5e58d7cae284b -AUX lasi-1.1.0-pkgconfig.patch 701 BLAKE2B 50c59743897a07974e5329d1b0c039707533c4f3b0d51595b93faaf9abec034ae0407db59f4e112996210398fdabad4b4a0812f6888c1c6b83fe4b7bcb4a3854 SHA512 81b62d5491e19b6602bc622c5d1ed856a0950e209033de31773812815d221d741c78548edfc3fdc32230dca97de6e02ede79414aba1e803019299278d8c4e7da AUX lasi-1.1.3-cmake.patch 365 BLAKE2B 9e3944665e416a157c8cb5fa029723db5b551d7690fe6c7471f9e589093e5c136b17ec339ba0a93f96ce463be7fa1b01d734c361b3fe5061a445e13d64b036a3 SHA512 b1d6b6cb1d1f2d0006e1cac26d42f3b024f86687de87043208ad4a6c8cb94f9cd1b36d62df10bedd20729081d944c52645323420016cbf0d046c633f46f1b7cf AUX lasi-1.1.3-pkgconfig.patch 400 BLAKE2B b15c712c16bd70e92f80d0ab9b48edeadca75382191b54a34ac6c6dc2e0929491a7104e09c21c816b108e946f842d38f4506b71a62435785cf55acbaad13065d SHA512 fa7286b524163a6d2783758f368d60a2385012a10567ae30843daa9b72a22ddeb1fe767c24f271463bc60e27a370cd5292a6f35e6a5b5cf6f17b185f0797551a -DIST libLASi-1.1.2.tar.gz 260948 BLAKE2B 044d906abadd902f91726c0e07e6ec364a3419bcea855a58cfeb44be30b2b9e0334c61931d3210750167ebc7599d8d4022960c40b0be68727385cf01b65780bb SHA512 5a03890b822946805025157497ce5f29fdfbcf5f2941bcd07841d9865cac9653697dbbba426f8527528affd4157e49d0f31a6dad79abdd52222dfcccf135ac91 DIST libLASi-1.1.3.tar.gz 726769 BLAKE2B d8d06fb56e82b78f4342c959965de3908d70d1cec6147a6e3cc3d58ab4e9f978b7966c8e4507c0ff69e4ba3716270f38f3cfcafdc834001e3a0069a3495eda31 SHA512 036fb0ea1536d4ae04c0d9b5bd193ca6828228afe2cba6c1c7e12febd9b936bf3ac677711c122c44d3b12ab2f7b67f5e9dd18f44a4938ceaa2fbcc430a5748ac -EBUILD lasi-1.1.2.ebuild 1296 BLAKE2B b5d56d8377396591ff84f093723001dabf498b1b70258092305ea70054eeebbab72c5ef2b79ca91da517131f936fa4caacb0fa11a67315c3f219da882418799c SHA512 2d2c91e1eae07f4776ddc86f228e1edda4358fb9ebb60a6c896a98c8731bf4b592fc1a11f49f346a6ce2df6156286feebe0f57dee9e11f4222e283127b72e12d -EBUILD lasi-1.1.3.ebuild 1280 BLAKE2B 62c28f2564b00325934bcaa9d2d0271fd0187b3ce294f27208f13ce14a6c61161946e659c0e9a84190c92792889d2d3881be9cdb4e9eef7430fcf56424b635bc SHA512 76fa56954e54499212925179ec54415819fb88129b1f5aab632a89b6910aadd5f2948602886f0882d43e05c46957465569aa449ea4e032752c14f69bfcafe465 +EBUILD lasi-1.1.3.ebuild 1274 BLAKE2B ad09f419804b09eefe96367fd507944553afefb1eb4f600e0036d4fd20d5ac40cfb0c0275802187ae19797bed9fe4e9bd779bd099e5c764150229c18703083a4 SHA512 05fd04abae45fe74c410a9031a754f185a94f59fd81f7303bb55f44cfbed23d527d64adf9de1f600396bc5d239cf39051e76add049f87abf3bb9069d22a87052 MISC metadata.xml 1218 BLAKE2B f6a5085f03d1bc69e88727d15754965b6db817bda61be0e71a7e7eb39262f3836de56e44498263f7c55ebdc2d58f7914e364fc23d11a1988a0ef4ca2883529c5 SHA512 c9688f2a9e74c81d7906d6609db72a7f29463c12800fb9e7922f1a4cd41db001722e5c5b102642464541e02d3a3f678fe0dd7013df9c8eace959dba3ba49ed71 diff --git a/media-libs/lasi/files/lasi-1.1.0-cmake.patch b/media-libs/lasi/files/lasi-1.1.0-cmake.patch deleted file mode 100644 index 95a725c50325..000000000000 --- a/media-libs/lasi/files/lasi-1.1.0-cmake.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/cmake/modules.orig/summary.cmake 2008-02-09 01:27:56.000000000 +0000 -+++ b/cmake/modules/summary.cmake 2008-11-04 16:25:59.968913787 +0000 -@@ -30,7 +30,7 @@ - - CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE} - CMAKE_CXX_COMPILER: ${CMAKE_CXX_COMPILER}") --if(NOT CMAKE_BUILD_TYPE) -+if(NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "None") - set(_output_results - "${_output_results} - CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS}") diff --git a/media-libs/lasi/files/lasi-1.1.0-pkgconfig.patch b/media-libs/lasi/files/lasi-1.1.0-pkgconfig.patch deleted file mode 100644 index 8eab557c8fcb..000000000000 --- a/media-libs/lasi/files/lasi-1.1.0-pkgconfig.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -ur libLASi-1.1.0.orig/CMakeLists.txt libLASi-1.1.0/CMakeLists.txt ---- libLASi-1.1.0.orig/CMakeLists.txt 2010-04-29 14:24:58.000000000 +0300 -+++ libLASi-1.1.0/CMakeLists.txt 2010-04-29 14:28:54.000000000 +0300 -@@ -35,6 +35,7 @@ - configure_file( - ${CMAKE_CURRENT_SOURCE_DIR}/lasi.pc.in - ${CMAKE_CURRENT_BINARY_DIR}/lasi.pc -+@ONLY - ) - - install(FILES -diff -ur libLASi-1.1.0.orig/lasi.pc.in libLASi-1.1.0/lasi.pc.in ---- libLASi-1.1.0.orig/lasi.pc.in 2010-04-29 14:24:58.000000000 +0300 -+++ libLASi-1.1.0/lasi.pc.in 2010-04-29 14:26:25.000000000 +0300 -@@ -1,6 +1,6 @@ - prefix=@prefix@ - exec_prefix=@exec_prefix@ --libdir=@libdir@ -+libdir=${exec_prefix}/@libdir@ - includedir=@includedir@ - - Name: LASi diff --git a/media-libs/lasi/lasi-1.1.2.ebuild b/media-libs/lasi/lasi-1.1.2.ebuild deleted file mode 100644 index 80af78bde920..000000000000 --- a/media-libs/lasi/lasi-1.1.2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils multilib - -MY_PN=libLASi -MY_P=${MY_PN}-${PV} - -DESCRIPTION="C++ library for postscript stream output" -HOMEPAGE="http://www.unifont.org/lasi/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm64 hppa ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" -IUSE="doc examples" - -RDEPEND=" - dev-libs/glib:2 - media-libs/freetype:2 - x11-libs/pango" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( app-doc/doxygen )" - -S=${WORKDIR}/${MY_P} - -PATCHES=( - "${FILESDIR}"/${PN}-1.1.0-cmake.patch - "${FILESDIR}"/${PN}-1.1.0-pkgconfig.patch -) - -src_prepare() { - cmake-utils_src_prepare - sed -i \ - -e "s:\/lib$:\/$(get_libdir):" \ - -e "s/libLASi-\${VERSION}/${PF}/" \ - cmake/modules/instdirs.cmake \ - || die "Failed to fix cmake module" - sed -i \ - -e "s:\${DATA_DIR}/examples:/usr/share/doc/${PF}/examples:" \ - examples/CMakeLists.txt || die - - use examples || sed -i -e '/add_subdirectory(examples)/d' CMakeLists.txt -} - -src_configure() { - CMAKE_BUILD_TYPE=None - local mycmakeargs=( - -DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/$(get_libdir) - ) - use doc || mycmakeargs+=( -DDOXYGEN_EXECUTABLE= ) - cmake-utils_src_configure -} diff --git a/media-libs/lasi/lasi-1.1.3.ebuild b/media-libs/lasi/lasi-1.1.3.ebuild index 574329452bea..c2f08f49bcb8 100644 --- a/media-libs/lasi/lasi-1.1.3.ebuild +++ b/media-libs/lasi/lasi-1.1.3.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0/2" -KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm64 hppa ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" IUSE="doc examples" RDEPEND=" diff --git a/media-libs/libdvbcsa/Manifest b/media-libs/libdvbcsa/Manifest index d4ba96f39b36..ee24c8d5e3ca 100644 --- a/media-libs/libdvbcsa/Manifest +++ b/media-libs/libdvbcsa/Manifest @@ -1,3 +1,4 @@ DIST libdvbcsa-1.1.0.tar.gz 345487 BLAKE2B ff5d9347f4255ca2c4e62477771715a7d8fcfca6eeb3a2e6cfdfcd903c9927a35d9049d18ec5a9d458328d6a3712d6cf81633e7ddc7c67d1a8099b8d56b2fd68 SHA512 f336bc90711261bb86bb42f897d5207a71da5a384bfb7d641de7e1fb3a43d20aeec250e9a5ceaf0b20f1e4335ccda70055675256c6889873bf1bfff55005a015 +EBUILD libdvbcsa-1.1.0-r1.ebuild 931 BLAKE2B beb110cdbe9989f6b0498beb0576d6e81d0016edb0bd890d63b1f0bdd406c16b5a3d1d77f6cc38c48721aecbc7c5b2e52c20312ef9dfd4391641da3848a607c6 SHA512 10cc4b2ded9095bd760ad7102ecfb0a5cdb659e70be46be52813247e32b29dab6d508bd41d6071b392bc4fb4fe1cbae034b5a2b68ea427ac7a748a246d72efa4 EBUILD libdvbcsa-1.1.0.ebuild 806 BLAKE2B cb24d42c44474bc57e207a5e7736303be510ecf33bb33f9d8d733e4eb580def21e132b4d7b15865000e81a610317b51a5177c3bbd81332fd037fa6e883abb15c SHA512 5c12338d1abaa400e3eaac194d7d3263af90cf9beb87daddbefb5a692107cd67492ee3b1a653713a52358c2629ce7520c7599de77229585a2d25759ecf86255c MISC metadata.xml 247 BLAKE2B 158fa8dff063e01e64b4835fa1f199518ecf7d81282ee8c893efc0d4d73454e16adb3189ee8cd1272bbada6fb5ffc2b5aadbd796490c829cba1a4b8e3e20f29f SHA512 8bffd29ab89c8dc401ad49655e30a6bd3a953bf8f6c9309b318f3b03ed7bcf2e5c10533ac70967e549edcd512f6be13b9bce3e36175286370ba499dcb119f6fc diff --git a/media-libs/libdvbcsa/libdvbcsa-1.1.0-r1.ebuild b/media-libs/libdvbcsa/libdvbcsa-1.1.0-r1.ebuild new file mode 100644 index 000000000000..f0fa2c6f9dde --- /dev/null +++ b/media-libs/libdvbcsa/libdvbcsa-1.1.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Free implementation of the DVB Common Scrambling Algorithm - DVB/CSA" +HOMEPAGE="https://www.videolan.org/developers/libdvbcsa.html" +SRC_URI="https://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="cpu_flags_ppc_altivec cpu_flags_x86_mmx cpu_flags_x86_sse2 debug" + +src_configure() { + local myeconfargs=( + --disable-static + $(use_enable cpu_flags_ppc_altivec altivec) + $(use_enable debug) + ) + + # Enabling MMX makes the configure script ignore SSE2. + if use cpu_flags_x86_sse2; then + myeconfargs+=( + --disable-mmx + --enable-sse2 + ) + else + myeconfargs+=( + $(use_enable cpu_flags_x86_mmx mmx) + --disable-sse2 + ) + fi + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/libepoxy/Manifest b/media-libs/libepoxy/Manifest index 4af638cb2208..cc36729f1a55 100644 --- a/media-libs/libepoxy/Manifest +++ b/media-libs/libepoxy/Manifest @@ -1,6 +1,6 @@ DIST libepoxy-1.5.4.tar.gz 337615 BLAKE2B 2793fde6da59079dfadc653c9f0712b0bd2ca1455a8cda7982bce61c35a3629641a30a76db059af635c1fa0076b4e6c56874b199b41d548afbbad8f6e43384e3 SHA512 c8b03f0a39df320fdd163a34c35f9ffbed51bc0174fd89a7dc4b3ab2439413087e1e1a2fe57418520074abd435051cbf03eb2a7bf8897da1712bbbc69cf27cc5 DIST libepoxy-1.5.5.tar.gz 332057 BLAKE2B bf9a1e089c620e710caa7d4b7d5d0ec0cef186c7881b1a61aa22f58d8e023706087c766ad970ea8950752d87d2f32d12e2ded3137502f35991afb5b4fb3648cd SHA512 9056840d887f06c6422f61e65ea02511ed37b866a234d49bf78dc5f2f46e8dd9f029405387da14dced639e6a5740b5c56ab6d88ca23ea3270fc6db6a570b0c45 EBUILD libepoxy-1.5.4.ebuild 1141 BLAKE2B 3ab8f35d56300ea3056e3d7f97b9cf5fe95a22a7059710f87800de978b11db4448d17b61e51f5e9e86ad750005d7d113a2dde5acfb02d82d98dcd4e163315f68 SHA512 d1467370eea40684490e64712f11451ce6bfd680cd23e13304e4214825670e2e9054952f31db9c094841e35ff1eb561146850be1747e48c4e414af6e62d1ee73 -EBUILD libepoxy-1.5.5.ebuild 1158 BLAKE2B df22c79551600f1284886d5f7b6d67e982e3f4fbc52806f5f64bbac846371a32880de40f3865db1c48d46f0a8efe801784343ad742048896f062e11c3a3a1603 SHA512 28c53b4fb5c39a7ecb9f4dc424d10facf27d0cc029e10380779fb03720010027b47d2341d3dea6d54b7c138fbdb99d4dcc7af8992d5214e450d864386fdc2a92 +EBUILD libepoxy-1.5.5.ebuild 1156 BLAKE2B 2bd43d9cc3e7f034d71776be9e495df858d65ada04936c042c9d228d28cdb03a56245005fdd1e6b3360c9dd21e78e6497cd5b4e97d3ad5737247bfc2daff4ffd SHA512 329b484e9f948a65845ee642c986ce5a2601e3344145a479c67e386c64dab8464dbc8efe4c20815fbd814fc8e92bb49cd5183506c8c12a10318aefea33b5271f EBUILD libepoxy-9999.ebuild 1163 BLAKE2B 78abc721431b4c827905c43beb28d28977b4c934bd2725469b758ec2d5a7f56ad9bb7f1f5c769695a58ad0a7f57d9ecc2fefaca39be03f5e6aa8ec8061d39a67 SHA512 9f5bfce5549c057eb5688b593c16d410d8ee2708f597fedfb0d16aa42e6741a3a9d60c4f4386a51a7acb1c090965678198a2add521bcd6a7b8e336227893aaa3 MISC metadata.xml 375 BLAKE2B 09993b726e54558d32b0dfb2a221bdd8928b85f55bdaaeb2faf30a0711ed58b05022a9fb669ec43806aff223860e47db53226a0f8f34d7b35edf0a842ab45923 SHA512 fec0ce8c99534083afc197c156a7fbaf2e83b2e22887ef134984ea7a4e6226f2714db399a118cd96f22b20012e7b7572156fc13aa72516e2557880c716140ad6 diff --git a/media-libs/libepoxy/libepoxy-1.5.5.ebuild b/media-libs/libepoxy/libepoxy-1.5.5.ebuild index 7813206efeca..5204c05212a2 100644 --- a/media-libs/libepoxy/libepoxy-1.5.5.ebuild +++ b/media-libs/libepoxy/libepoxy-1.5.5.ebuild @@ -12,7 +12,7 @@ if [[ ${PV} = 9999* ]]; then inherit git-r3 else SRC_URI="https://github.com/anholt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi DESCRIPTION="Library for handling OpenGL function pointer management" diff --git a/media-libs/libmp3splt/Manifest b/media-libs/libmp3splt/Manifest index d0488ce4f3d9..b063a183fac2 100644 --- a/media-libs/libmp3splt/Manifest +++ b/media-libs/libmp3splt/Manifest @@ -1,5 +1,8 @@ AUX CVE-2017-15185.patch 1088 BLAKE2B e823a30ec18735deb5ba22592165e7828266888d4cdb435ddb88b606b6312c18444e2b3395c3f155fb12d6749a3371baa9b18d7972086c19e750deb253b17162 SHA512 d5ef327e47681bd74ef7488965805727d8e905f65ee46698b06f88d971003c65c309fc8b6714e07c7a12803657db302b15522d6e4f4a75c0dce1217deaa07439 AUX libmp3splt-0.7-libltdl.patch 676 BLAKE2B 144528812f340517d4da52eeefb35054b31363d5c24eb0fc1fa74be7c39008a9d27fd61a9c412aeddf5698df1469975101fec74de5f65b17bdc2a9d727017cf0 SHA512 50e9c6472b79b2dfcb43764828e26ddacc3b1b747a6264291385d6173de51608188d4fd865ac20dd2ad63ddb9d3191eb62f872ddead15564d7400b31dc5bca66 +AUX libmp3splt-0.9.2-drop-libltdl.patch 7164 BLAKE2B 29332a97ffa8b4acd6580e1c10ae73b3038c2c56b3e01eaaea10da8379c1c157624a7577e4b4bda5de279f07db326e4f48b48a815c52ad9266c78f48aa98809c SHA512 b527eda408df9123ef254ab28be850535042eb9b28de910fda6852b78287a55ea26d03326dc08d8c35b9c08ee2ef47797a6be14883c945bac7e051e7e0664fdd +AUX libmp3splt-0.9.2-fix-implicit-decl.patch 5820 BLAKE2B b7ed33d91c7fe26a528ed678e8d174208cb4415bdb573d415c0523241672b6ecd5280e28c28314a17249187ce36af589336ea2669b461c03f03b4fee9e3775be SHA512 8fcc35dd7c1c6110b302bd67d07d2023bf5c1bd428b5387782ea5b9a4b233739b9544b4814b3a3db780d2c275bacc53ea37378c004c5029984cecb21867775e5 DIST libmp3splt-0.9.2.tar.gz 707598 BLAKE2B 4e8223472a7cd05d71d7df81a88b7d545a726a45d62dc6284d694e8cf8ad9406b037e274dbe28f2cf95febc87d8ba30aa15291f58df95b83a3aa0b5d3469ffea SHA512 e5c98e8b173bc86302ccee4ca5eb0c8a8d93f225357eb7b14dea8d0700ed62ed6316506c182f6b295130f7924ff0b38e865d5e49fa9cd7882c648360d68872ed EBUILD libmp3splt-0.9.2-r2.ebuild 1293 BLAKE2B d841d43e3703728e26bd7034a84669eb9fe925e1208f7ae7f22d86f4d98833a428056e0b28eab11001c82f45e1ccd8d576dab6cb197e0ec37fef6d9251ec4e66 SHA512 4a4d5eef497cb2572e186c62c12fd8466b8a3405ef1c41259ffe6e7fd7b928e607f205aefc74dfbb9a9d2dc873e6c17e29cdd6a225ab0c684157180f302ec21f +EBUILD libmp3splt-0.9.2-r4.ebuild 1442 BLAKE2B 57b6340087d90c44f4084f4506a7bc1b95bf715ddf335c85a5c83e0cc3854fbb3d266dcc8be2ec13f549e6b3356dc68680cd29c323eef1f8c143262425a4dc6b SHA512 fe175c01ad47c1bf7b3a619c3ead47bef3d9502523e02b44d99ab2d2af47f82c6a51d077d041abd4fabcbe88c7183b2b4dc622eda85d84a8daa0e001235bd872 MISC metadata.xml 330 BLAKE2B f237f66bdf5752ca2864a72cd27918776b88b73d113a2aff324dbbe53956973421724b3babd3e25892d0894184bf842dbe3cb48cd3514285e500110c7d7bb1ac SHA512 46486e0840a5f4891a1d611ba22e1e540d0e16d3cf61ef362e1085d188a75b5297e6ac2abf8c3af40eeabf246c076958dc2fc8b9cce5f5bdd248b282491afc38 diff --git a/media-libs/libmp3splt/files/libmp3splt-0.9.2-drop-libltdl.patch b/media-libs/libmp3splt/files/libmp3splt-0.9.2-drop-libltdl.patch new file mode 100644 index 000000000000..c29376e3aa66 --- /dev/null +++ b/media-libs/libmp3splt/files/libmp3splt-0.9.2-drop-libltdl.patch @@ -0,0 +1,205 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -42,7 +42,7 @@ + + AC_PREREQ([2.62]) + AC_INIT([libmp3splt],[libmp3splt_version],[m@ioalex.net]) +-AC_CONFIG_AUX_DIR([libltdl/config]) ++LT_INIT + AM_INIT_AUTOMAKE + AC_CONFIG_HEADERS([config.h]) + AM_MAINTAINER_MODE([enable]) +@@ -78,20 +78,6 @@ + AC_DEFINE_UNQUOTED([SPLT_SONAME], "$SONAME", [library SONAME]) + + ################################################################# +-# Enable libtool, check for libltdl and define @LIBLTDL@ and @INCLTDL@ +-################################################################# +- +-ifdef([LT_CONFIG_LTDL_DIR], +- [ LT_CONFIG_LTDL_DIR([libltdl]) ], +- []) +- +-ifdef([LT_INIT], +- [ LT_INIT([win32-dll]) ], +- [ AC_PROG_LIBTOOL ]) +- +-AC_WITH_LTDL +- +-################################################################# + # Check for the type of the host + ################################################################# + +@@ -161,9 +147,6 @@ + #check for -lm + AC_CHECK_LIB(m, pow, [ haslm="yes" ] , [ AC_MSG_ERROR([libm not found !]) ] ) + +-#check for -ltld +-AC_CHECK_LIB(ltdl, lt_dlopen, [ hasltdl="yes" ], [ AC_MSG_ERROR([libltdl not found - check libtool installation !]) ] ) +- + ################################################################# + # helper for windows compilation + ################################################################# +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -3,7 +3,7 @@ + include_HEADERS = $(top_srcdir)/include/libmp3splt/mp3splt.h \ + $(top_srcdir)/include/libmp3splt/version.h + +-INCLUDES=-DSPLT_PLUGINS_DIR=\"$(libdir)/libmp3splt$(SONAME)\" -DLIBMP3SPLT_VERSION=\"$(VERSION)\" @INCLTDL@ ++INCLUDES=-DSPLT_PLUGINS_DIR=\"$(libdir)/libmp3splt$(SONAME)\" -DLIBMP3SPLT_VERSION=\"$(VERSION)\" + + lib_LTLIBRARIES = libmp3splt.la + +@@ -30,8 +30,6 @@ + + libmp3splt_la_LIBADD += -lws2_32 -lintl -lshlwapi + +-else +-libmp3splt_la_LIBADD += @LIBLTDL@ + endif + + libmp3splt_la_SOURCES = \ +--- a/src/mp3splt.c ++++ b/src/mp3splt.c +@@ -45,7 +45,7 @@ + #include <sys/stat.h> + #include <string.h> + +-#include <ltdl.h> ++#include <dlfcn.h> + + #include "splt.h" + +@@ -119,13 +119,6 @@ + int *err = &erro; + if (error != NULL) { err = error; } + +- if (lt_dlinit() != 0) +- { +- *err = SPLT_ERROR_CANNOT_INIT_LIBLTDL; +- } +- else +- { +- + #ifdef ENABLE_NLS + #ifndef __WIN32__ + bindtextdomain(MP3SPLT_LIB_GETTEXT_DOMAIN, LOCALEDIR); +@@ -135,8 +128,7 @@ + #endif + #endif + +- state = splt_t_new_state(state, err); +- } ++ state = splt_t_new_state(state, err); + + return state; + } +--- a/src/plugins.c ++++ b/src/plugins.c +@@ -37,7 +37,7 @@ + #include <dirent.h> + #include <errno.h> + +-#include <ltdl.h> ++#include <dlfcn.h> + #include <stdlib.h> + + #ifdef __WIN32__ +@@ -400,7 +400,7 @@ + } + if (pl_data->plugin_handle) + { +- lt_dlclose(pl_data->plugin_handle); ++ dlclose(pl_data->plugin_handle); + pl_data->plugin_handle = NULL; + } + if (pl_data->func) +@@ -477,13 +477,12 @@ + splt_d_print_debug(state,"\nTrying to open the plugin _%s_ ...\n", + pl->data[i].plugin_filename); + +- //ltdl currently does not supports windows unicode path/filename +- pl->data[i].plugin_handle = lt_dlopen(pl->data[i].plugin_filename); ++ pl->data[i].plugin_handle = dlopen(pl->data[i].plugin_filename, RTLD_NOW); + //error + if (! pl->data[i].plugin_handle) + { + splt_d_print_debug(state,"Error loading the plugin _%s_\n", pl->data[i].plugin_filename); +- splt_d_print_debug(state," - error message from libltdl: _%s_\n", lt_dlerror()); ++ splt_d_print_debug(state," - error message from dlopen: _%s_\n", dlerror()); + + //keep the index of this failed plugin in order to remove it + //afterwards +@@ -503,7 +502,7 @@ + splt_d_print_debug(state," - success !\n"); + + pl->data[i].func->splt_pl_set_plugin_info = +- lt_dlsym(pl->data[i].plugin_handle, "splt_pl_set_plugin_info"); ++ dlsym(pl->data[i].plugin_handle, "splt_pl_set_plugin_info"); + if (pl->data[i].func->splt_pl_set_plugin_info != NULL) + { + pl->data[i].func->splt_pl_set_plugin_info(&pl->data[i].info,&error); +@@ -613,34 +612,34 @@ + int err = 0; + for (i = 0;i < pl->number_of_plugins_found;i++) + { +- pl->data[i].plugin_handle = lt_dlopen(pl->data[i].plugin_filename); ++ pl->data[i].plugin_handle = dlopen(pl->data[i].plugin_filename, RTLD_NOW); + + pl->data[i].func->splt_pl_check_plugin_is_for_file = +- lt_dlsym(pl->data[i].plugin_handle, "splt_pl_check_plugin_is_for_file"); ++ dlsym(pl->data[i].plugin_handle, "splt_pl_check_plugin_is_for_file"); + pl->data[i].func->splt_pl_search_syncerrors = +- lt_dlsym(pl->data[i].plugin_handle, "splt_pl_search_syncerrors"); ++ dlsym(pl->data[i].plugin_handle, "splt_pl_search_syncerrors"); + pl->data[i].func->splt_pl_import_internal_sheets = +- lt_dlsym(pl->data[i].plugin_handle, "splt_pl_import_internal_sheets"); ++ dlsym(pl->data[i].plugin_handle, "splt_pl_import_internal_sheets"); + pl->data[i].func->splt_pl_dewrap = +- lt_dlsym(pl->data[i].plugin_handle, "splt_pl_dewrap"); ++ dlsym(pl->data[i].plugin_handle, "splt_pl_dewrap"); + pl->data[i].func->splt_pl_offset_split = +- lt_dlsym(pl->data[i].plugin_handle, "splt_pl_offset_split"); ++ dlsym(pl->data[i].plugin_handle, "splt_pl_offset_split"); + pl->data[i].func->splt_pl_split = +- lt_dlsym(pl->data[i].plugin_handle, "splt_pl_split"); ++ dlsym(pl->data[i].plugin_handle, "splt_pl_split"); + pl->data[i].func->splt_pl_init = +- lt_dlsym(pl->data[i].plugin_handle, "splt_pl_init"); ++ dlsym(pl->data[i].plugin_handle, "splt_pl_init"); + pl->data[i].func->splt_pl_end = +- lt_dlsym(pl->data[i].plugin_handle, "splt_pl_end"); ++ dlsym(pl->data[i].plugin_handle, "splt_pl_end"); + pl->data[i].func->splt_pl_scan_silence = +- lt_dlsym(pl->data[i].plugin_handle, "splt_pl_scan_silence"); ++ dlsym(pl->data[i].plugin_handle, "splt_pl_scan_silence"); + pl->data[i].func->splt_pl_scan_trim_silence = +- lt_dlsym(pl->data[i].plugin_handle, "splt_pl_scan_trim_silence"); ++ dlsym(pl->data[i].plugin_handle, "splt_pl_scan_trim_silence"); + pl->data[i].func->splt_pl_set_original_tags = +- lt_dlsym(pl->data[i].plugin_handle, "splt_pl_set_original_tags"); ++ dlsym(pl->data[i].plugin_handle, "splt_pl_set_original_tags"); + pl->data[i].func->splt_pl_clear_original_tags = +- lt_dlsym(pl->data[i].plugin_handle, "splt_pl_clear_original_tags"); ++ dlsym(pl->data[i].plugin_handle, "splt_pl_clear_original_tags"); + pl->data[i].func->splt_pl_set_plugin_info = +- lt_dlsym(pl->data[i].plugin_handle, "splt_pl_set_plugin_info"); ++ dlsym(pl->data[i].plugin_handle, "splt_pl_set_plugin_info"); + if (pl->data[i].func->splt_pl_set_plugin_info != NULL) + { + splt_p_free_plugin_data_info(&pl->data[i]); +--- a/src/splt.h ++++ b/src/splt.h +@@ -34,11 +34,6 @@ + #include <stdio.h> + #include <sys/types.h> + +-//libtool 1.4e is buggy on mingw if we include ltdl.h +-#ifndef __WIN32__ +-#include <ltdl.h> +-#endif +- + #include "mp3splt.h" + + struct _splt_freedb_one_result { diff --git a/media-libs/libmp3splt/files/libmp3splt-0.9.2-fix-implicit-decl.patch b/media-libs/libmp3splt/files/libmp3splt-0.9.2-fix-implicit-decl.patch new file mode 100644 index 000000000000..16420e934f57 --- /dev/null +++ b/media-libs/libmp3splt/files/libmp3splt-0.9.2-fix-implicit-decl.patch @@ -0,0 +1,304 @@ +--- a/plugins/flac.c ++++ b/plugins/flac.c +@@ -27,6 +27,7 @@ + * + *********************************************************/ + ++#include <stdlib.h> + #include <string.h> + + #include "splt.h" +--- a/plugins/ogg.c ++++ b/plugins/ogg.c +@@ -41,6 +41,7 @@ + The Plug-in that handles ogg vorbis files + */ + ++#include <stdlib.h> + #include <time.h> + #include <string.h> + #include <locale.h> +--- a/plugins/ogg_new_stream_handler.c ++++ b/plugins/ogg_new_stream_handler.c +@@ -38,6 +38,7 @@ + + #include "ogg_new_stream_handler.h" + ++#include <stdlib.h> + #include <string.h> + + splt_ogg_new_stream_handler *splt_ogg_nsh_new(splt_state *state, splt_ogg_state *oggstate, +--- a/plugins/ogg_silence.c ++++ b/plugins/ogg_silence.c +@@ -36,6 +36,7 @@ + * + *********************************************************/ + ++#include <stdlib.h> + #include <string.h> + #include <math.h> + +--- a/plugins/ogg_utils.c ++++ b/plugins/ogg_utils.c +@@ -36,6 +36,7 @@ + * + *********************************************************/ + ++#include <stdlib.h> + #include <string.h> + #include <math.h> + +--- a/plugins/silence_processors.c ++++ b/plugins/silence_processors.c +@@ -26,6 +26,8 @@ + + #include "silence_processors.h" + ++#include <stdlib.h> ++ + static void write_to_full_log(splt_state *state, double time, float level, int shots, int found, + double begin_position, double end_position); + +--- a/src/cddb.c ++++ b/src/cddb.c +@@ -28,6 +28,8 @@ + + The cddb search functionality + */ ++ ++#include <stdlib.h> + #include <string.h> + #include <ctype.h> + #include <math.h> +--- a/src/client.c ++++ b/src/client.c +@@ -29,6 +29,7 @@ + * + *********************************************************/ + ++#include <stdlib.h> + #include <string.h> + + #include "splt.h" +--- a/src/cue.c ++++ b/src/cue.c +@@ -28,6 +28,8 @@ + + All that is needed in order to be able to read and write cue files. + */ ++ ++#include <stdlib.h> + #include <string.h> + #include <ctype.h> + +--- a/src/debug.c ++++ b/src/debug.c +@@ -29,6 +29,7 @@ + * + *********************************************************/ + ++#include <stdlib.h> + #include <string.h> + #include <stdarg.h> + +--- a/src/errors.c ++++ b/src/errors.c +@@ -35,6 +35,7 @@ + that is meant to be used directly are all in mp3splt.c. + */ + ++#include <stdlib.h> + #include <string.h> + #include <errno.h> + +--- a/src/freedb.c ++++ b/src/freedb.c +@@ -32,6 +32,7 @@ + that is meant to be used directly are all in mp3splt.c. + */ + ++#include <stdlib.h> + #include <string.h> + #include <unistd.h> + +--- a/src/freedb_utils.c ++++ b/src/freedb_utils.c +@@ -33,6 +33,8 @@ + + Utilities used by the functions in freedb.c + */ ++ ++#include <stdlib.h> + #include <string.h> + + #include "splt.h" +--- a/src/input_output.c ++++ b/src/input_output.c +@@ -28,6 +28,8 @@ + + This file contains all I/O functions this library uses. + */ ++ ++#include <stdlib.h> + #include <string.h> + #include <sys/stat.h> + #include <unistd.h> +--- a/src/mp3splt.c ++++ b/src/mp3splt.c +@@ -42,6 +42,7 @@ + should therefore not be too hard a task... + */ + ++#include <stdlib.h> + #include <sys/stat.h> + #include <string.h> + +--- a/src/oformat_parser.c ++++ b/src/oformat_parser.c +@@ -33,6 +33,8 @@ + + Automatic generation of filenams for split files from tags. + */ ++ ++#include <stdlib.h> + #include <string.h> + #include <ctype.h> + #include <math.h> +--- a/src/options.c ++++ b/src/options.c +@@ -31,6 +31,8 @@ + + #include "splt.h" + ++#include <stdlib.h> ++ + extern int global_debug; + + void splt_o_set_options_default_values(splt_state *state) +--- a/src/output_format.c ++++ b/src/output_format.c +@@ -33,6 +33,8 @@ + + The format of output file names + */ ++ ++#include <stdlib.h> + #include <string.h> + #include <math.h> + +--- a/src/pair.c ++++ b/src/pair.c +@@ -35,6 +35,8 @@ + */ + #include "splt.h" + ++#include <stdlib.h> ++ + splt_int_pair *splt_int_pair_new(int first, int second) + { + splt_int_pair *pair = malloc(sizeof(splt_int_pair)); +--- a/src/proxy.c ++++ b/src/proxy.c +@@ -31,6 +31,7 @@ + + #include "splt.h" + ++#include <stdlib.h> + #include <string.h> + + static void splt_pr_free_proxy_address(splt_state *state); +--- a/src/silence_utils.c ++++ b/src/silence_utils.c +@@ -35,6 +35,8 @@ + */ + #include "splt.h" + ++#include <stdlib.h> ++ + int splt_siu_ssplit_new(struct splt_ssplit **silence_list, + float begin_position, float end_position, int len, int *error) + { +--- a/src/socket_manager.c ++++ b/src/socket_manager.c +@@ -33,6 +33,7 @@ + Manages a socket connection + */ + ++#include <stdlib.h> + #include <unistd.h> + + #ifdef __WIN32__ +--- a/src/split_points.c ++++ b/src/split_points.c +@@ -34,6 +34,8 @@ + All functions needed for handling split points (adding to the list, + checking, of this split point already exists,...) + */ ++ ++#include <stdlib.h> + #include <string.h> + #include <math.h> + +--- a/src/splt.c ++++ b/src/splt.c +@@ -34,6 +34,7 @@ + Actually split the input file + */ + ++#include <stdlib.h> + #include <sys/stat.h> + #include <string.h> + #include <math.h> +--- a/src/sync_errors.c ++++ b/src/sync_errors.c +@@ -46,6 +46,8 @@ + + #include "splt.h" + ++#include <stdlib.h> ++ + void splt_se_set_sync_errors_default_values(splt_state *state) + { + splt_syncerrors *serrors = state->serrors; +--- a/src/tags_parser.c ++++ b/src/tags_parser.c +@@ -33,6 +33,8 @@ + + Parse tags (Artist, Album, Year,...) + */ ++ ++#include <stdlib.h> + #include <string.h> + #include <ctype.h> + +--- a/src/tags_utils.c ++++ b/src/tags_utils.c +@@ -25,6 +25,7 @@ + * USA. + *********************************************************/ + ++#include <stdlib.h> + #include <string.h> + + #include "splt.h" +--- a/src/types_func.c ++++ b/src/types_func.c +@@ -35,6 +35,7 @@ + split. + */ + ++#include <stdlib.h> + #include <string.h> + + #include "splt.h" +--- a/src/wrap.c ++++ b/src/wrap.c +@@ -34,6 +34,8 @@ + Automatically split mp3 files created with mp3wrap into the original + tracks + */ ++ ++#include <stdlib.h> + #include <string.h> + + #include "splt.h" diff --git a/media-libs/libmp3splt/libmp3splt-0.9.2-r4.ebuild b/media-libs/libmp3splt/libmp3splt-0.9.2-r4.ebuild new file mode 100644 index 000000000000..1a3609c270c4 --- /dev/null +++ b/media-libs/libmp3splt/libmp3splt-0.9.2-r4.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic + +DESCRIPTION="Library for mp3splt to split mp3 and ogg files without decoding" +HOMEPAGE="http://mp3splt.sourceforge.net/mp3splt_page/home.php" +SRC_URI="mirror://sourceforge/${PN:3}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc flac pcre" + +RDEPEND=" + media-libs/libmad + media-libs/libid3tag + media-libs/libogg + media-libs/libvorbis + flac? ( media-libs/flac ) + pcre? ( dev-libs/libpcre ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-apps/findutils + doc? ( + >=app-doc/doxygen-1.8.3.1 + media-gfx/graphviz + ) +" + +DOCS=( AUTHORS ChangeLog LIMITS NEWS README TODO ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.9.2-drop-libltdl.patch + "${FILESDIR}"/${PN}-0.9.2-fix-implicit-decl.patch + "${FILESDIR}"/CVE-2017-15185.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # Breaks consumers like media-sound/libmp3splt otherwise + # bug #778476 + append-libs -ldl + + local myeconfargs=( + --disable-cutter # TODO package cutter <http://cutter.sourceforge.net/> + --disable-optimise + --disable-static + $(use_enable doc doxygen_doc) + $(use_enable flac) + $(use_enable pcre) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + use doc && docompress -x /usr/share/doc/${PF}/doxygen/${PN}_ico.svg + + find "${ED}" -type f -name '*.la' -delete || die +} diff --git a/media-libs/libopenaptx/Manifest b/media-libs/libopenaptx/Manifest index a1e15e075b09..ff5fc68210ec 100644 --- a/media-libs/libopenaptx/Manifest +++ b/media-libs/libopenaptx/Manifest @@ -1,4 +1,4 @@ DIST libopenaptx-0.2.0.tar.gz 27797 BLAKE2B b178a9aaf78796c9219d9e7066ff985ce9f5dd86a6926ae22e373f2822090ad313efe04d5cf607940f1042bd27ddf5484d7e8298dfff91a8ae5596cec7ad5fa9 SHA512 d57e5084b398eec2ad49c9893baa496651c139abfb95692c834a4691bc4bb951d0b1afdd499a8b67c84b873407b584965d3a045d8ef3d9e62b3ccf45de22809a -EBUILD libopenaptx-0.2.0.ebuild 1022 BLAKE2B ed3d85400142cf3d3fd9de1bf37e2cda897a952f07d2168252c575b0701d5a9003846f4b5605690512bf42f76c69b1f25c9e3a8ca2f0e52943dead7930504179 SHA512 4e9477a48a0cf0d4daea89bef6819b23eefbd8e619cf0973554e56306a450090a3ee7d723d23cb6be7b02c901136cff38c6be8f72844a01c76104b86f34992e9 +EBUILD libopenaptx-0.2.0.ebuild 1034 BLAKE2B d469f80ed7a601e1aaa2e9fdd94d32fd42c720a8c70c1564878387d2a71b7af44fbd7767bb60d2c6518893d522b6f176ad287a5839a75c240b29ff782436fd7c SHA512 53893069ea7bd443b883ccb905a3d5d11f67f3e375595bc114fc2f243581a8eace365b1611c5aa8759f092444bc4a122422319ed14890626397d306cbfe35254 EBUILD libopenaptx-9999.ebuild 1022 BLAKE2B ed3d85400142cf3d3fd9de1bf37e2cda897a952f07d2168252c575b0701d5a9003846f4b5605690512bf42f76c69b1f25c9e3a8ca2f0e52943dead7930504179 SHA512 4e9477a48a0cf0d4daea89bef6819b23eefbd8e619cf0973554e56306a450090a3ee7d723d23cb6be7b02c901136cff38c6be8f72844a01c76104b86f34992e9 MISC metadata.xml 475 BLAKE2B ce3ccc5f113c6178230b372c55e9992731ff55477bdde2efcca199b73d7b2ec66419dcba89c3f368ff9b7ef54011bd92c6cecaf9b3cd64b5a6ab8ea2e0b0d1ec SHA512 7bde88afdf7a137ea5ec1b491dda467eec36d2897f0bd009ca22066614db64531fe5b343cdb426b1e80ef6cf8011db1c43a0a525b9b302496e04cd7d2e97dbc0 diff --git a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild index bac055db1328..ca430d9589f5 100644 --- a/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild +++ b/media-libs/libopenaptx/libopenaptx-0.2.0.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://github.com/pali/${PN}" else SRC_URI="https://github.com/pali/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~ppc ~ppc64" fi LICENSE="LGPL-2.1+" diff --git a/media-libs/libtgvoip/Manifest b/media-libs/libtgvoip/Manifest index ee5edad420ed..332c7dc77c8c 100644 --- a/media-libs/libtgvoip/Manifest +++ b/media-libs/libtgvoip/Manifest @@ -1,3 +1,5 @@ DIST libtgvoip-2.4.4_p20201030.tar.gz 1091098 BLAKE2B 81815a0c9c7f62175493af8f3f56064f6a6a0167351d4f8baf5c846744dc03d325c106dfafb49589702e4f461865e5528395f379142af49b8722f490fdd57d1b SHA512 58dfd537c378c7e9772eab374f25b7d68d26b6db1f71bb9a88e6405e2f2e3cd0ebc2fc94733ce787288365ac9669fc50f8d5a3ab2f2900683c6399ca43172945 +DIST libtgvoip-2.4.4_p20210302.tar.gz 1097895 BLAKE2B 36551fb915ee5b5895d8ea68196be5a910739e46886c879bd9f932fa2294a94c22ec3215a94d9bad05a5d24519291676a686c594b74f513f594eb063c83de012 SHA512 d8e27be18e521f367a30c63665300496dbd8fe250261fddf5576325afc27d855e280ee31e46d5fcc2294d79a91c4003732e22f2bfb6db0472e357508b5053d29 EBUILD libtgvoip-2.4.4_p20201030.ebuild 1182 BLAKE2B 061dd2a7e004bc6b725c5980068cd9e20f1fb93d9d936db1aa56401e9a5d08726d4a5cb685b3f80dcb942b129b85cfd0ff9e0413ff1c15643cecf9de2e31b51e SHA512 92fdc837c12aecf4867243ff81e19d7794208366f55f9aad0e3b2a00f24366d2e36dc4fbb70e28a3c4dd12a171031b970e7d4912820347c3fb3d22a813de86ed -MISC metadata.xml 300 BLAKE2B 0c717bfe3ade5077d80410fa8829818fe603d0937dc7b1770794e227f86d42248f86b7243f08c21bd57fe9fecc284c6b9dadbab49b3cc66518c66b1839fc124a SHA512 af4492f640c0cf0a67429b0e1a164c1cf35bb397ddd460598e5efe35d6105c2689d984d7918035b925893e4a32b26a588d3157730f292e96c4263c34ddcb61f1 +EBUILD libtgvoip-2.4.4_p20210302.ebuild 1510 BLAKE2B 8507d049a316d35705639658944aafdc71e7406d4fe15651651fc0cbd9fe4eba365a5226411e5335134767489c3df7a9fa9a9e5ea969a6ea29d90a7fa49b20ad SHA512 38b1b68315f3984168a65868ff1475a7e39e5c5f97280b9cc2e4ff8de3dfe7e7e3eab37d6f9e305dbae76178f968b757f4589cfb045c92c7836fa415ae0d371c +MISC metadata.xml 542 BLAKE2B ddf38189857cb4216e85e9a958daa176e8d030b907735f9d57e25ce5b71d0a6179300bb9064960e4a82532dedf329fc85ee98025faf0494b17b74a00fcb8d056 SHA512 e455e7c38f6171064d6c3923fa04373bd6e902e40d6e2c63f7a1ca8adc8245b93ef5b67051ee3fd3986a3efd0868c3c631b7ae36613f7978eba7441322711c72 diff --git a/media-libs/libtgvoip/libtgvoip-2.4.4_p20210302.ebuild b/media-libs/libtgvoip/libtgvoip-2.4.4_p20210302.ebuild new file mode 100644 index 000000000000..d2e68c759f60 --- /dev/null +++ b/media-libs/libtgvoip/libtgvoip-2.4.4_p20210302.ebuild @@ -0,0 +1,63 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic autotools + +LIBTGVOIP_COMMIT="0c0a6e476df58ee441490da72ca7a32f83e68dbd" + +DESCRIPTION="VoIP library for Telegram clients" +HOMEPAGE="https://github.com/telegramdesktop/libtgvoip" +SRC_URI="https://github.com/telegramdesktop/libtgvoip/archive/${LIBTGVOIP_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Unlicense" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +IUSE="+dsp libressl pulseaudio" + +DEPEND=" + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + media-libs/opus:= + media-libs/alsa-lib + !pulseaudio? ( media-sound/apulse[sdk] ) + pulseaudio? ( media-sound/pulseaudio ) + dsp? ( media-libs/tg_owt ) +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/${PN}-${LIBTGVOIP_COMMIT}" + +src_prepare() { + # Will be controlled by us + sed -i -e '/^CFLAGS += -DTGVOIP_NO_DSP/d' Makefile.am || die + default + # https://bugs.gentoo.org/717210 + echo 'libtgvoip_la_LIBTOOLFLAGS = --tag=CXX' >> Makefile.am || die + eautoreconf +} + +src_configure() { + local myconf=( + --disable-static + --with-alsa + --with-pulse + --disable-dsp # WebRTC is linked from tg_owt + ) + append-cppflags '-DNDEBUG' + if use dsp; then + append-cppflags '-I/usr/include/tg_owt' + append-cppflags '-I/usr/include/tg_owt/third_party/abseil-cpp' + append-libs '-ltg_owt' + else + append-cppflags '-DTGVOIP_NO_DSP' + fi + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/media-libs/libtgvoip/metadata.xml b/media-libs/libtgvoip/metadata.xml index 442b636ea787..d05783cd3861 100644 --- a/media-libs/libtgvoip/metadata.xml +++ b/media-libs/libtgvoip/metadata.xml @@ -1,7 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person" proxied="yes"> + <email>esteve.varela@gmail.com</email> + <name>Esteve Varela Colominas</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> <use> <flag name="dsp">Enable signal processing (echo cancellation, noise suppression, and automatic gain control)</flag> </use> diff --git a/media-libs/libvpx/Manifest b/media-libs/libvpx/Manifest index 886ff1b66f06..3fad92346d47 100644 --- a/media-libs/libvpx/Manifest +++ b/media-libs/libvpx/Manifest @@ -1,9 +1,12 @@ AUX libvpx-1.3.0-sparc-configure.patch 406 BLAKE2B 02b1f0484a9659fdc90eb567db517a8b63f679521ae9ab510bfaa88b9fd5e1430d0eceeb8e4a138b00cb43ac4a1db6451dd29a808367973dc885fe5b9eacd665 SHA512 159ba5577fc0eee3e958740d8607a7570f374a8f64a36f1e7832a126482ec0bb96ba2be451eefdf50d84a412a2be73ae75da3d69da78ec13dfe0e24a14685035 AUX libvpx-1.7.0-CVE-2019-9232_9325_9371_9433.patch 8035 BLAKE2B 785a8769741e5af10ce0f18f6ef9f091d1335ca1c8515c9b653d3a177a620a8b3360b7df03f058b63e42259d6e4ccb6863e0ec9acd69886627a222ea3b8beb2d SHA512 b5af677b7f8fc6c61ea1c99c094103549cbe1a0163da70f51d4c34eec40b507a7bf8f84f97ee141a15c33bfaf2a6cb36c572a08465407fb17eb9b6a1364a3819 +DIST libvpx-1.10.0.tar.gz 5340421 BLAKE2B 25ef346b9dce92d37cc4f4612ed351d0f93a60c9021ed5f9145a9128efa8b0af7cf30b6279c40481ab043b9922b93f6b502cdffc3feedaf4bca310fdaf8b1502 SHA512 f88c588145b5164e98531b75215e119056cd806a9dbe6599bb9dab35c0af0ecd4b3daabee7d795e412a58aeb543d5c7dc0107457c4bd8f4d434e966e8e22a32d DIST libvpx-1.7.0.tar.gz 2679797 BLAKE2B de7992adb517e375c5be2a9facf2b4a73174adcaef11185ed6d3102c2f6b73f378b0d415c5e3a4d915b3a6889bd8b31ba3e8c007a87a433a345ef7696a1dd899 SHA512 8b3b766b550f8d86907628d7ed88035f9a2612aac21542e0fd5ad35b905eb82cbe1be02a1a24afce7a3bcc4766f62611971f72724761996b392136c40a1e7ff0 DIST libvpx-1.9.0.tar.gz 5326239 BLAKE2B 6403a5d8326235a8d27ca3727f45398556cbe72cd125ae358c22f729cc01d6a81917cca8a6e97ad0ed01e7fc04ca4212baf21f371323b93ccc8830c4a11acf91 SHA512 8d544552b35000ea5712aec220b78bb5f7dc210704b2f609365214cb95a4f5a0e343b362723d829cb4a9ac203b10d5443700ba84b28fd6b2fefbabb40663e298 +DIST libvpx-testdata-1.10.0.tar.xz 448090752 BLAKE2B 88391427d35c538d114df188a899f8de7247dcd861d8438a32530909430feceef48c2c35a53c5a57268dccd85bcd40ec92bb053cfc2b4588bde6447747e10803 SHA512 6d4f0d08f32b34e95c1a75a4340e0340c83b26008852fac4293f1f3c4b9e9ce0f8e2290de678e2f2c9e1309f6995857add4e98796e1a3f474ce1402c9cc862f4 DIST libvpx-testdata-1.7.0.tar.xz 238790100 BLAKE2B 1d14e794341d35402eaf54d398ebed56b0983908e397ae677737e0f313ea0bfc9c4a39be91765b02a07a8eb9b55529d5f998efcc87b1b493b0e326e02193d982 SHA512 1556345e41674f0846a7419828972ec27c3c37fe270fa1deb45e03665f60ec088d79134aee0d2e27003b130636eeed4a15ea3f701c9d7014f3ca2785467767a8 DIST libvpx-testdata-1.9.0.tar.xz 450868860 BLAKE2B aaed7f2ef4f70ff352e39be2630e3a5cd803e8d2408c4fd5c3e06e040a75d2f593a10bc267a497aa91eaceb64286e81f69e86ca0940160e4f34b62c08e91df7b SHA512 bcc89062a436d652d15d5852a842cb4985c4783855b943ab11667c022b5082887129fd9579b8da3af209a3031f95ff8dc625c380f79559db160501cd676736ea +EBUILD libvpx-1.10.0.ebuild 3594 BLAKE2B ff9c50bb3ca408ff17cdc813a4d0b0f05f2c3f8d8bcef257a99aa9db583fd56a00bb5b1d0d1aec28577ac7f1810fb17418b742b673df1948738e4bc0925e9d24 SHA512 50595c881659c1fce76a7675590262901b41f34fb33202e9944b7f7c9fb6983212622967d1df84a8bbc25430772fa58805c4e2fd7a7d430233fe3c3d3d9ebd54 EBUILD libvpx-1.7.0-r1.ebuild 4053 BLAKE2B 3787d0620c70a248d22aa66f951eb4b39a86e5ac89af8e76e5e708185695c2aca818050027f5ff4e2e00f51d370ac90246a8c92bcf334e47d7c564273b63f2f9 SHA512 fe8d16a9ba74e96f9017b5b58113c8af86688d5600112382a23f809388590f3c39d7cdffe57c57358e67e2be01fa98ac870a31ef7d797b865b089cf20330a440 EBUILD libvpx-1.9.0.ebuild 3586 BLAKE2B b0a71cdc777a7b32dd39010d9c4319501b67ea289812ff8afc5e5f61aec9b4c14cb4c8fedacca57539f99f95d9dab24f7e8872c058feb44cfeac158f9e0b9b70 SHA512 61638b63c87ccbd7a8b14b89de3c327dfd8c17b064ab346ace2bf876ecdf40624bc519ece1923d3fa05285b307227eed7a1dd1b1c9e56a3afe79b754e3723fd4 MISC metadata.xml 664 BLAKE2B 78c866b8ee8a4b266156652bd6352d1ad0b7f28c88922dd31868623b1eca6530aab0a391c7264e5f1dffb9c1379adeb3b115846e99e1ab8a2ae1e58f527234ca SHA512 96644cef2185474da831eb928645cb7607216242097e8d1f1b887071817e282e22ae5646583208bfacf4467029b9dc2d3cfb888bba085bbf5b493dc98c3a7ef9 diff --git a/media-libs/libvpx/libvpx-1.10.0.ebuild b/media-libs/libvpx/libvpx-1.10.0.ebuild new file mode 100644 index 000000000000..d2b86f688fb4 --- /dev/null +++ b/media-libs/libvpx/libvpx-1.10.0.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +inherit toolchain-funcs multilib-minimal + +# To create a new testdata tarball: +# 1. Unpack source tarball or checkout git tag +# 2. mkdir libvpx-testdata +# 3. export LIBVPX_TEST_DATA_PATH=libvpx-testdata +# 4. configure --enable-unit-tests --enable-vp9-highbitdepth +# 5. make testdata +# 6. tar -caf libvpx-testdata-${MY_PV}.tar.xz libvpx-testdata + +LIBVPX_TESTDATA_VER=1.10.0 + +DESCRIPTION="WebM VP8 and VP9 Codec SDK" +HOMEPAGE="https://www.webmproject.org" +SRC_URI="https://github.com/webmproject/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://dev.gentoo.org/~whissi/dist/libvpx/${PN}-testdata-${LIBVPX_TESTDATA_VER}.tar.xz )" + +LICENSE="BSD" +SLOT="0/6" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc +highbitdepth postproc static-libs svc test +threads" + +REQUIRED_USE="test? ( threads )" + +# Disable test phase when USE="-test" +RESTRICT="!test? ( test )" + +BDEPEND="abi_x86_32? ( dev-lang/yasm ) + abi_x86_64? ( dev-lang/yasm ) + abi_x86_x32? ( dev-lang/yasm ) + x86-fbsd? ( dev-lang/yasm ) + amd64-fbsd? ( dev-lang/yasm ) + doc? ( + app-doc/doxygen + dev-lang/php + ) +" + +PATCHES=( + "${FILESDIR}/libvpx-1.3.0-sparc-configure.patch" # 501010 +) + +src_configure() { + # https://bugs.gentoo.org/show_bug.cgi?id=384585 + # https://bugs.gentoo.org/show_bug.cgi?id=465988 + # copied from php-pear-r1.eclass + addpredict /usr/share/snmp/mibs/.index #nowarn + addpredict /var/lib/net-snmp/ #nowarn + addpredict /var/lib/net-snmp/mib_indexes #nowarn + addpredict /session_mm_cli0.sem #nowarn + multilib-minimal_src_configure +} + +multilib_src_configure() { + unset CODECS #357487 + + # #498364: sse doesn't work without sse2 enabled, + local myconfargs=( + --prefix="${EPREFIX}"/usr + --libdir="${EPREFIX}"/usr/$(get_libdir) + --enable-pic + --enable-vp8 + --enable-vp9 + --enable-shared + --extra-cflags="${CFLAGS}" + $(use_enable postproc) + $(use_enable svc experimental) + $(use_enable static-libs static) + $(use_enable test unit-tests) + $(use_enable threads multithread) + $(use_enable highbitdepth vp9-highbitdepth) + ) + + # let the build system decide which AS to use (it honours $AS but + # then feeds it with yasm flags without checking...) #345161 + tc-export AS + case "${CHOST}" in + i?86*) export AS=yasm;; + x86_64*) export AS=yasm;; + esac + + # powerpc toolchain is not recognized anymore, #694368 + [[ ${CHOST} == powerpc-* ]] && myconfargs+=( --force-target=generic-gnu ) + + # Build with correct toolchain. + tc-export CC CXX AR NM + # Link with gcc by default, the build system should override this if needed. + export LD="${CC}" + + if multilib_is_native_abi; then + myconfargs+=( $(use_enable doc install-docs) $(use_enable doc docs) ) + else + # not needed for multilib and will be overwritten anyway. + myconfargs+=( --disable-examples --disable-install-docs --disable-docs ) + fi + + echo "${S}"/configure "${myconfargs[@]}" >&2 + "${S}"/configure "${myconfargs[@]}" +} + +multilib_src_compile() { + # build verbose by default and do not build examples that will not be installed + # disable stripping of debug info, bug #752057 + # (only works as long as upstream does not use non-gnu strip) + emake verbose=yes GEN_EXAMPLES= HAVE_GNU_STRIP=no +} + +multilib_src_test() { + local -x LD_LIBRARY_PATH="${BUILD_DIR}" + local -x LIBVPX_TEST_DATA_PATH="${WORKDIR}/${PN}-testdata" + emake verbose=yes GEN_EXAMPLES= test +} + +multilib_src_install() { + emake verbose=yes GEN_EXAMPLES= DESTDIR="${D}" install + multilib_is_native_abi && use doc && dodoc -r docs/html +} diff --git a/media-libs/lilv/Manifest b/media-libs/lilv/Manifest index d415ca96b7da..b6fe85d3d888 100644 --- a/media-libs/lilv/Manifest +++ b/media-libs/lilv/Manifest @@ -1,5 +1,5 @@ DIST lilv-0.24.10.tar.bz2 443795 BLAKE2B a316c0aae8f93a6104ad46e9e93cd3948b4596920a9bb7f1ab5bfe596428aa43e45413f79cd9e7c094ca3239e4811bd391015f17be5c059a54b0a050aff1e964 SHA512 1dfd4fef19537686b63a4e7df45e3b1a7c4a658acc21d5646daba4d3bd5676513857b3f437b89f1a06232516433ef155772d19625c33d49d13ada37a965982cf DIST lilv-0.24.12.tar.bz2 427404 BLAKE2B 47efe553c6fc249ed0cde47a47a01e0b3496ea4dfac88849b75d9720cb3a158fa1c95959ffc1a09e606f8ba3831e79382ba08ad100ee17cf19c7f1ffa186d6e2 SHA512 ea22db4e995792b62d60d793169c792549b8fb0255c2cf7a85780dd149811921e2fae5eaea0fb83465f01b14dfa66361af3be40bf7cb3733e98655b943f4faee EBUILD lilv-0.24.10-r1.ebuild 1792 BLAKE2B 7cb6e3a3c046d518152359e1561c27b7d48cf6b0c09e1b9fa5122d1d71776a18732b7e4b8751f5e2d82a3d50264d7f91a3e3a71bbc1c54ecde27501bc813b624 SHA512 7cb8e4da42e9c0a6edbe448c2b1727b6028e96dffa5dfaf64ecaab5a8c43ad5547e2c7a91de1d8c1fcfcc88eda77d3482917cddfac88801cd5ad31794ac0579b -EBUILD lilv-0.24.12.ebuild 1860 BLAKE2B a8bdc6872a714eeb4ba72b362590d9ffb445bdf07141da54e6f6beeb2030132f5e96be8e3361ea69b5c511ff8ec66216c293dd55291892c499ddd9c506bac735 SHA512 6d394dc16b72c90d61da30c49528e91a07eb36248fc5d43c61f0cfaf12af5b6a31f43b0772ca9f06081cc019b67fcc7a1516c8bde06e82de8611996bf56b11b2 +EBUILD lilv-0.24.12.ebuild 1856 BLAKE2B d675d1fc4dbaabcfcbb987366f54b28e7d7e5ea6d35908749ac79e5da0bdc016c7339dfd8d33775e8b3ba667d2ba96b7ff3afc48598082f0dd115b46a3f684a4 SHA512 c606c0c4fc6418b8834eda378288e4d5075ac5903f6aa3f745547fc374bf9dff1b2cbb38435ac9e17f20788b5cbdbcfcc811ad82b16561c8536d183d824c694b MISC metadata.xml 626 BLAKE2B 07ffc634a72982335c60d71732dca314e28b08ed40fe892f33514f0d13ac9e141fcb6a1d0507b6f35f4d6db963865ed87acb70aa8f2c1d20ff72eb4e62006841 SHA512 e2cd8e2459104889e6cc759146f86874a78784c07b966de2f6a18302098a028e7176270565922a44a72ada23eabbf5de919271296374d9547262684611ee74ce diff --git a/media-libs/lilv/lilv-0.24.12.ebuild b/media-libs/lilv/lilv-0.24.12.ebuild index f8b1dce47c5d..2c1b1c006d8d 100644 --- a/media-libs/lilv/lilv-0.24.12.ebuild +++ b/media-libs/lilv/lilv-0.24.12.ebuild @@ -14,7 +14,7 @@ SRC_URI="http://download.drobilla.net/${P}.tar.bz2" LICENSE="ISC" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86" IUSE="doc +dyn-manifest static-libs test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="!test? ( test )" diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest index 0ca7b81e0e39..e3ebcaa277c6 100644 --- a/media-libs/mesa/Manifest +++ b/media-libs/mesa/Manifest @@ -1,8 +1,12 @@ DIST mesa-20.2.6.tar.xz 13886924 BLAKE2B 2bc5d680979b58a77105a8058da5dfea81afe05166a44d08cf243e5760b8c66e418fd78046a2c88243f56aa85a610d052f3aaf259938668cd0f4a184e9edca46 SHA512 347b275d88c0d14cacef570ed736cac07f2e607bc4c89a16b915ec01ac57dbbe698ddf9a0ad70f034e00318403351e3c728e74c72c653acf1fc99720887fa888 DIST mesa-20.3.4.tar.xz 14253372 BLAKE2B 210908f5b802b9fd0170a6f06310f39bab4aa0ca1c84914d702863f9df4d47f1720f0d3779ae804d2eef322a09f4b6cc40855efd7dc365cd84dd8f222b217998 SHA512 81c4d032213b4aef842f1594e0e89bc0045f7ca7ce5f267b62a0f8236eb12ab09c1f780d8b3776b3072f37cd0bd8829f8a1330a749ccf462471b262ef8097477 +DIST mesa-20.3.5.tar.xz 14367412 BLAKE2B 7bad876ce702158e727a752eda6722e7165b497fd3a485dae4e989f22b13288a93f51bcd5e6a69b979f0bbe41599fa237c08f3bbb81cb9c6dc4c06827f8ad5f4 SHA512 481e710ed80d8f215a8d541cfe51b960862c2403c2b9e7e6932c8236b8decb5d478871d6c73559d6d795ada143803764f3a93b2329588c80f62e2e5ec98c78a9 DIST mesa-21.0.0.tar.xz 14617108 BLAKE2B bc49b9084c2d16354235fa8ff30bc274a40dda350dc8ca5fa8d471665cd3f2a280efdf05a6ea84310beebcdb71926a64f2fd0c63391bf846c49180e13a25c151 SHA512 32f4a74fbc1456dac478fdc3a85e37cedb9ac1e1b7c5434706dc24930a70bc9e857ba6b5bf1e7e05798e259f8ff0b05bad5252c07253cb5d6a9707c7c2e147ad +DIST mesa-21.0.1.tar.xz 14648932 BLAKE2B 70e1277336320d7b4351c72f42a72cbcb91dcbc46cc1bf30996b8895bbc30552265404508130c828b67a7d045c9f6eece5ac3d07c2443cea581774c585ba0b69 SHA512 b31b78778b6092dfaf0712f90de3074217574389c4236f8379c127739874f6bd1b47883140a26445d25e58df87e6207278efd048453096ee710d334b1dcfe419 EBUILD mesa-20.2.6.ebuild 14762 BLAKE2B 10df82dc80592a5735ed4137a3db8e57acd8cb53a32649fd8b7854a845fd90cb6804e3e43bd52a1d7ce60a7446577a4e45c4ad4fbf16d08518007a2bb51e3ed7 SHA512 ab2f3fb312e255a93928795b94bf641060cad1bae388c8526cdd38eab0699f7be8f6779901d04aec1e14ac7482126b4bddd88337d6b618d056e39bb667072f38 -EBUILD mesa-20.3.4.ebuild 15046 BLAKE2B b65a25da02677b8803f1baeaaab1d615384417655fbb5f41993d8e69a0fbfb8d4560fad9f352005f4fbc70718599e748e3030897253284fe0d619413fa881603 SHA512 c7425d70ab84ab09f6e2f15d1bbb1d8b8a6d40cd5368a98a139d2ec939f23dccf4fd034ddcacaefc15b5e6aba128a9db6abbea68686056fa3c7ba7d6db2de7fb +EBUILD mesa-20.3.4.ebuild 15043 BLAKE2B 97371390b8d1c5c0df8b6d875cfa603baf673caadca70e71d56547d48a465cea307a04b5191d80a0367f4ee29877358ded96a3b205ef868bfb91c574971b6eba SHA512 da014599e3b5f1987347d3f43b7100d61842650715e1f05477e128cd5c877451202249786f532ef32050c469ef748e2d0189b236999b16bb23bfc0c619fc460d +EBUILD mesa-20.3.5.ebuild 15050 BLAKE2B b79e2917c6201348aa7252ac7c06376a5af06191c92f6f2a832a24cefd674a13d232b5439657476926334a889903820341cac5d939c541772d326dcd988da4fe SHA512 79e6c14c9e38d03122375560f8ee88b6769bd7863264061b933342289afeb0f7e331fd4c9f501a161aeb25044b7f057845b3496f56c9db20276f0abb310d34dd EBUILD mesa-21.0.0.ebuild 14961 BLAKE2B 41fbbed6df2796ac7e0bf64e185432fea72b3673001be8071dfa2139ad7a7f48db61473f4a54b358b2ce25b7648641c14ea7b2efb4914eb60bf89912854275ff SHA512 43acf75931e45a66f1b0938c72d723c96c1c8ea66eb4a6bdb8e474fd164389519f67dfb26a333b0910f075ce13f1c0b820961ec1d33572fd0ed099647d01b3e6 +EBUILD mesa-21.0.1.ebuild 14961 BLAKE2B 41fbbed6df2796ac7e0bf64e185432fea72b3673001be8071dfa2139ad7a7f48db61473f4a54b358b2ce25b7648641c14ea7b2efb4914eb60bf89912854275ff SHA512 43acf75931e45a66f1b0938c72d723c96c1c8ea66eb4a6bdb8e474fd164389519f67dfb26a333b0910f075ce13f1c0b820961ec1d33572fd0ed099647d01b3e6 EBUILD mesa-9999.ebuild 14922 BLAKE2B d0d49536e4e4e021fce6029717f496e0358c151f5406105337a651385bd7b337116d14b14442510b7d28ca621fa0c39177273f5df214d06a9627a993aaa3aefa SHA512 be9d773f963ebbd7aedab8fee3d368f8efd046d06698130c74b68cad3ce3e25f69e39659cd81e6490c3bbc8955859bca046d62f824f6c3d8f1b8d8fdfa6f96d0 MISC metadata.xml 1895 BLAKE2B abf62dda9b9eba657e310c68fdd86aaa49c550dc34ef624e8feb038e0412f0da786e1120dc16631399cb2c83961b88e78571347c3e6d464c2cf3a343bc0f1483 SHA512 7758641386100e07c1112afe04a8613de8ae1e35a8e940f0eefcfc7daa829789c42b903320339b04b44c2400f0857c180740407abd171e9773a9f51e3dd9468a diff --git a/media-libs/mesa/mesa-20.3.4.ebuild b/media-libs/mesa/mesa-20.3.4.ebuild index 3bcef8c19175..d8acea6fdc44 100644 --- a/media-libs/mesa/mesa-20.3.4.ebuild +++ b/media-libs/mesa/mesa-20.3.4.ebuild @@ -19,7 +19,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 else SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" fi LICENSE="MIT" diff --git a/media-libs/mesa/mesa-20.3.5.ebuild b/media-libs/mesa/mesa-20.3.5.ebuild new file mode 100644 index 000000000000..83d95adc4aa3 --- /dev/null +++ b/media-libs/mesa/mesa-20.3.5.ebuild @@ -0,0 +1,566 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit llvm meson multilib-minimal python-any-r1 linux-info + +OPENGL_DIR="xorg-x11" + +MY_P="${P/_/-}" + +DESCRIPTION="OpenGL-like graphic library for Linux" +HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git" + inherit git-r3 +else + SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" +fi + +LICENSE="MIT" +SLOT="0" +RESTRICT=" + !test? ( test ) +" + +RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi" +VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris lima nouveau panfrost v3d vc4 virgl vivante vmware" +for card in ${VIDEO_CARDS}; do + IUSE_VIDEO_CARDS+=" video_cards_${card}" +done + +IUSE="${IUSE_VIDEO_CARDS} + +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +llvm + lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan + vulkan-overlay wayland +X xa xvmc zink +zstd" + +REQUIRED_USE=" + d3d9? ( dri3 || ( video_cards_iris video_cards_r300 video_cards_r600 video_cards_radeonsi video_cards_nouveau video_cards_vmware ) ) + gles1? ( egl ) + gles2? ( egl ) + vulkan? ( dri3 + video_cards_radeonsi? ( llvm ) ) + vulkan-overlay? ( vulkan ) + wayland? ( egl gbm ) + video_cards_freedreno? ( gallium ) + video_cards_intel? ( classic ) + video_cards_i915? ( || ( classic gallium ) ) + video_cards_i965? ( classic ) + video_cards_iris? ( gallium ) + video_cards_lima? ( gallium ) + video_cards_nouveau? ( || ( classic gallium ) ) + video_cards_panfrost? ( gallium ) + video_cards_radeon? ( || ( classic gallium ) + gallium? ( x86? ( llvm ) amd64? ( llvm ) ) ) + video_cards_r100? ( classic ) + video_cards_r200? ( classic ) + video_cards_r300? ( gallium x86? ( llvm ) amd64? ( llvm ) ) + video_cards_r600? ( gallium ) + video_cards_radeonsi? ( gallium llvm ) + video_cards_v3d? ( gallium ) + video_cards_vc4? ( gallium ) + video_cards_virgl? ( gallium ) + video_cards_vivante? ( gallium gbm ) + video_cards_vmware? ( gallium ) + xa? ( X ) + xvmc? ( X ) + zink? ( gallium vulkan ) +" + +LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.100" +RDEPEND=" + >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}] + >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}] + gallium? ( + unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] ) + llvm? ( + video_cards_radeonsi? ( + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + video_cards_r600? ( + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + video_cards_radeon? ( + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + ) + lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] ) + opencl? ( + >=virtual/opencl-3[${MULTILIB_USEDEP}] + dev-libs/libclc + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + vaapi? ( + >=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}] + ) + vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] ) + xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] ) + ) + selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] ) + wayland? ( + >=dev-libs/wayland-1.15.0:=[${MULTILIB_USEDEP}] + >=dev-libs/wayland-protocols-1.8 + ) + ${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_nouveau?,video_cards_vc4?,video_cards_vivante?,video_cards_vmware?,${MULTILIB_USEDEP}] + video_cards_intel? ( + !video_cards_i965? ( ${LIBDRM_DEPSTRING}[video_cards_intel] ) + ) + video_cards_i915? ( ${LIBDRM_DEPSTRING}[video_cards_intel] ) + vulkan-overlay? ( dev-util/glslang:0=[${MULTILIB_USEDEP}] ) + X? ( + >=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}] + >=x11-libs/libxshmfence-1.1:=[${MULTILIB_USEDEP}] + >=x11-libs/libXdamage-1.1.4-r1:=[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2:=[${MULTILIB_USEDEP}] + >=x11-libs/libXxf86vm-1.1.3:=[${MULTILIB_USEDEP}] + >=x11-libs/libxcb-1.13:=[${MULTILIB_USEDEP}] + x11-libs/libXfixes:=[${MULTILIB_USEDEP}] + ) + zink? ( media-libs/vulkan-loader:=[${MULTILIB_USEDEP}] ) + zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] ) +" +for card in ${RADEON_CARDS}; do + RDEPEND="${RDEPEND} + video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_radeon] ) + " +done +RDEPEND="${RDEPEND} + video_cards_radeonsi? ( ${LIBDRM_DEPSTRING}[video_cards_amdgpu] ) +" + +# Please keep the LLVM dependency block separate. Since LLVM is slotted, +# we need to *really* make sure we're not pulling one than more slot +# simultaneously. +# +# How to use it: +# 1. List all the working slots (with min versions) in ||, newest first. +# 2. Update the := to specify *max* version, e.g. < 10. +# 3. Specify LLVM_MAX_SLOT, e.g. 9. +LLVM_MAX_SLOT="11" +LLVM_DEPSTR=" + || ( + sys-devel/llvm:11[${MULTILIB_USEDEP}] + sys-devel/llvm:10[${MULTILIB_USEDEP}] + sys-devel/llvm:9[${MULTILIB_USEDEP}] + ) + <sys-devel/llvm-$((LLVM_MAX_SLOT + 1)):=[${MULTILIB_USEDEP}] +" +LLVM_DEPSTR_AMDGPU=${LLVM_DEPSTR//]/,llvm_targets_AMDGPU(-)]} +CLANG_DEPSTR=${LLVM_DEPSTR//llvm/clang} +CLANG_DEPSTR_AMDGPU=${CLANG_DEPSTR//]/,llvm_targets_AMDGPU(-)]} +RDEPEND="${RDEPEND} + gallium? ( + llvm? ( + opencl? ( + video_cards_r600? ( + ${CLANG_DEPSTR_AMDGPU} + ) + !video_cards_r600? ( + video_cards_radeonsi? ( + ${CLANG_DEPSTR_AMDGPU} + ) + ) + !video_cards_r600? ( + !video_cards_radeonsi? ( + video_cards_radeon? ( + ${CLANG_DEPSTR_AMDGPU} + ) + ) + ) + !video_cards_r600? ( + !video_cards_radeon? ( + !video_cards_radeonsi? ( + ${CLANG_DEPSTR} + ) + ) + ) + ) + !opencl? ( + video_cards_r600? ( + ${LLVM_DEPSTR_AMDGPU} + ) + !video_cards_r600? ( + video_cards_radeonsi? ( + ${LLVM_DEPSTR_AMDGPU} + ) + ) + !video_cards_r600? ( + !video_cards_radeonsi? ( + video_cards_radeon? ( + ${LLVM_DEPSTR_AMDGPU} + ) + ) + ) + !video_cards_r600? ( + !video_cards_radeon? ( + !video_cards_radeonsi? ( + ${LLVM_DEPSTR} + ) + ) + ) + ) + ) + ) +" +unset {LLVM,CLANG}_DEPSTR{,_AMDGPU} + +DEPEND="${RDEPEND} + valgrind? ( dev-util/valgrind ) + X? ( + x11-libs/libXrandr[${MULTILIB_USEDEP}] + x11-base/xorg-proto + ) +" +BDEPEND=" + ${PYTHON_DEPS} + opencl? ( + >=sys-devel/gcc-4.6 + ) + sys-devel/bison + sys-devel/flex + virtual/pkgconfig + $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]") +" + +S="${WORKDIR}/${MY_P}" +EGIT_CHECKOUT_DIR=${S} + +QA_WX_LOAD=" +x86? ( + usr/lib*/libglapi.so.0.0.0 + usr/lib*/libGLESv1_CM.so.1.1.0 + usr/lib*/libGLESv2.so.2.0.0 + usr/lib*/libGL.so.1.2.0 + usr/lib*/libOSMesa.so.8.0.0 + usr/lib/libGLX_mesa.so.0.0.0 +)" + +llvm_check_deps() { + local flags=${MULTILIB_USEDEP} + if use video_cards_r600 || use video_cards_radeon || use video_cards_radeonsi + then + flags+=",llvm_targets_AMDGPU(-)" + fi + + if use opencl; then + has_version "sys-devel/clang:${LLVM_SLOT}[${flags}]" || return 1 + fi + has_version "sys-devel/llvm:${LLVM_SLOT}[${flags}]" +} + +pkg_pretend() { + if use vulkan; then + if ! use video_cards_i965 && + ! use video_cards_iris && + ! use video_cards_radeonsi && + ! use video_cards_v3d; then + ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain i965, iris, radeonsi, or v3d" + fi + fi + + if use opencl; then + if ! use video_cards_r600 && + ! use video_cards_radeonsi; then + ewarn "Ignoring USE=opencl since VIDEO_CARDS does not contain r600 or radeonsi" + fi + fi + + if use vaapi; then + if ! use video_cards_r600 && + ! use video_cards_radeonsi && + ! use video_cards_nouveau; then + ewarn "Ignoring USE=vaapi since VIDEO_CARDS does not contain r600, radeonsi, or nouveau" + fi + fi + + if use vdpau; then + if ! use video_cards_r300 && + ! use video_cards_r600 && + ! use video_cards_radeonsi && + ! use video_cards_nouveau; then + ewarn "Ignoring USE=vdpau since VIDEO_CARDS does not contain r300, r600, radeonsi, or nouveau" + fi + fi + + if use xa; then + if ! use video_cards_freedreno && + ! use video_cards_nouveau && + ! use video_cards_vmware; then + ewarn "Ignoring USE=xa since VIDEO_CARDS does not contain freedreno, nouveau, or vmware" + fi + fi + + if use xvmc; then + if ! use video_cards_r600 && + ! use video_cards_nouveau; then + ewarn "Ignoring USE=xvmc since VIDEO_CARDS does not contain r600 or nouveau" + fi + fi + + if ! use gallium; then + use lm-sensors && ewarn "Ignoring USE=lm-sensors since USE does not contain gallium" + use llvm && ewarn "Ignoring USE=llvm since USE does not contain gallium" + use opencl && ewarn "Ignoring USE=opencl since USE does not contain gallium" + use vaapi && ewarn "Ignoring USE=vaapi since USE does not contain gallium" + use vdpau && ewarn "Ignoring USE=vdpau since USE does not contain gallium" + use unwind && ewarn "Ignoring USE=unwind since USE does not contain gallium" + use xa && ewarn "Ignoring USE=xa since USE does not contain gallium" + use xvmc && ewarn "Ignoring USE=xvmc since USE does not contain gallium" + fi + + if ! use llvm; then + use opencl && ewarn "Ignoring USE=opencl since USE does not contain llvm" + fi +} + +python_check_deps() { + has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" +} + +pkg_setup() { + # warning message for bug 459306 + if use llvm && has_version sys-devel/llvm[!debug=]; then + ewarn "Mismatch between debug USE flags in media-libs/mesa and sys-devel/llvm" + ewarn "detected! This can cause problems. For details, see bug 459306." + fi + + if use video_cards_i965 || + use video_cards_iris || + use video_cards_radeonsi; then + if kernel_is -ge 5 11 3; then + CONFIG_CHECK="~KCMP" + elif kernel_is -ge 5 11; then + CONFIG_CHECK="~CHECKPOINT_RESTORE" + elif kernel_is -ge 5 10 20; then + CONFIG_CHECK="~KCMP" + else + CONFIG_CHECK="~CHECKPOINT_RESTORE" + fi + linux-info_pkg_setup + fi + + if use gallium && use llvm; then + llvm_pkg_setup + fi + python-any-r1_pkg_setup +} + +multilib_src_configure() { + local emesonargs=() + + if use classic; then + # Intel code + dri_driver_enable video_cards_i915 i915 + dri_driver_enable video_cards_i965 i965 + if ! use video_cards_i915 && \ + ! use video_cards_i965; then + dri_driver_enable video_cards_intel i915 i965 + fi + + # Nouveau code + dri_driver_enable video_cards_nouveau nouveau + + # ATI code + dri_driver_enable video_cards_r100 r100 + dri_driver_enable video_cards_r200 r200 + if ! use video_cards_r100 && \ + ! use video_cards_r200; then + dri_driver_enable video_cards_radeon r100 r200 + fi + fi + + local platforms + use X && platforms+="x11" + use wayland && platforms+=",wayland" + emesonargs+=(-Dplatforms=${platforms#,}) + + if use X || use egl; then + emesonargs+=(-Dglvnd=true) + else + emesonargs+=(-Dglvnd=false) + fi + + if use gallium; then + emesonargs+=( + $(meson_feature llvm) + $(meson_feature lm-sensors lmsensors) + $(meson_feature unwind libunwind) + ) + + if use video_cards_iris || + use video_cards_r300 || + use video_cards_r600 || + use video_cards_radeonsi || + use video_cards_nouveau || + use video_cards_vmware; then + emesonargs+=($(meson_use d3d9 gallium-nine)) + else + emesonargs+=(-Dgallium-nine=false) + fi + + if use video_cards_r600 || + use video_cards_radeonsi || + use video_cards_nouveau; then + emesonargs+=($(meson_feature vaapi gallium-va)) + use vaapi && emesonargs+=( -Dva-libs-path="${EPREFIX}"/usr/$(get_libdir)/va/drivers ) + else + emesonargs+=(-Dgallium-va=disabled) + fi + + if use video_cards_r300 || + use video_cards_r600 || + use video_cards_radeonsi || + use video_cards_nouveau; then + emesonargs+=($(meson_feature vdpau gallium-vdpau)) + else + emesonargs+=(-Dgallium-vdpau=disabled) + fi + + if use video_cards_freedreno || + use video_cards_nouveau || + use video_cards_vmware; then + emesonargs+=($(meson_feature xa gallium-xa)) + else + emesonargs+=(-Dgallium-xa=disabled) + fi + + if use video_cards_r600 || + use video_cards_nouveau; then + emesonargs+=($(meson_feature xvmc gallium-xvmc)) + else + emesonargs+=(-Dgallium-xvmc=disabled) + fi + + if use video_cards_freedreno || + use video_cards_lima || + use video_cards_panfrost || + use video_cards_v3d || + use video_cards_vc4 || + use video_cards_vivante; then + gallium_enable -- kmsro + fi + + gallium_enable video_cards_lima lima + gallium_enable video_cards_panfrost panfrost + gallium_enable video_cards_v3d v3d + gallium_enable video_cards_vc4 vc4 + gallium_enable video_cards_vivante etnaviv + gallium_enable video_cards_vmware svga + gallium_enable video_cards_nouveau nouveau + gallium_enable zink zink + + # Only one i915 driver (classic vs gallium). Default to classic. + if ! use classic; then + gallium_enable video_cards_i915 i915 + if ! use video_cards_i915 && \ + ! use video_cards_i965; then + gallium_enable video_cards_intel i915 + fi + fi + + gallium_enable video_cards_iris iris + + gallium_enable video_cards_r300 r300 + gallium_enable video_cards_r600 r600 + gallium_enable video_cards_radeonsi radeonsi + if ! use video_cards_r300 && \ + ! use video_cards_r600; then + gallium_enable video_cards_radeon r300 r600 + fi + + gallium_enable video_cards_freedreno freedreno + gallium_enable video_cards_virgl virgl + + # opencl stuff + emesonargs+=( + -Dgallium-opencl="$(usex opencl icd disabled)" + ) + fi + + if use vulkan; then + vulkan_enable video_cards_i965 intel + vulkan_enable video_cards_iris intel + vulkan_enable video_cards_radeonsi amd + vulkan_enable video_cards_v3d broadcom + fi + + if use gallium; then + gallium_enable -- swrast + emesonargs+=( -Dosmesa=$(usex osmesa gallium none) ) + else + dri_driver_enable -- swrast + emesonargs+=( -Dosmesa=$(usex osmesa classic none) ) + fi + + driver_list() { + local drivers="$(sort -u <<< "${1// /$'\n'}")" + echo "${drivers//$'\n'/,}" + } + + emesonargs+=( + $(meson_use test build-tests) + -Dglx=$(usex X dri disabled) + -Dshared-glapi=enabled + $(meson_feature dri3) + $(meson_feature egl) + $(meson_feature gbm) + $(meson_feature gles1) + $(meson_feature gles2) + $(meson_use selinux) + $(meson_feature zstd) + -Dvalgrind=$(usex valgrind auto false) + -Ddri-drivers=$(driver_list "${DRI_DRIVERS[*]}") + -Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}") + -Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}") + $(meson_use vulkan vulkan-device-select-layer) + $(meson_use vulkan-overlay vulkan-overlay-layer) + --buildtype $(usex debug debug plain) + -Db_ndebug=$(usex debug false true) + ) + meson_src_configure +} + +multilib_src_compile() { + meson_src_compile +} + +multilib_src_install() { + meson_src_install +} + +multilib_src_install_all() { + einstalldocs +} + +multilib_src_test() { + meson_src_test -t 100 +} + +# $1 - VIDEO_CARDS flag (check skipped for "--") +# other args - names of DRI drivers to enable +dri_driver_enable() { + if [[ $1 == -- ]] || use $1; then + shift + DRI_DRIVERS+=("$@") + fi +} + +gallium_enable() { + if [[ $1 == -- ]] || use $1; then + shift + GALLIUM_DRIVERS+=("$@") + fi +} + +vulkan_enable() { + if [[ $1 == -- ]] || use $1; then + shift + VULKAN_DRIVERS+=("$@") + fi +} diff --git a/media-libs/mesa/mesa-21.0.1.ebuild b/media-libs/mesa/mesa-21.0.1.ebuild new file mode 100644 index 000000000000..9aa7c68c80fe --- /dev/null +++ b/media-libs/mesa/mesa-21.0.1.ebuild @@ -0,0 +1,564 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit llvm meson multilib-minimal python-any-r1 linux-info + +OPENGL_DIR="xorg-x11" + +MY_P="${P/_/-}" + +DESCRIPTION="OpenGL-like graphic library for Linux" +HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git" + inherit git-r3 +else + SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" +fi + +LICENSE="MIT" +SLOT="0" +RESTRICT=" + !test? ( test ) +" + +RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi" +VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris lima nouveau panfrost v3d vc4 virgl vivante vmware" +for card in ${VIDEO_CARDS}; do + IUSE_VIDEO_CARDS+=" video_cards_${card}" +done + +IUSE="${IUSE_VIDEO_CARDS} + +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +llvm + lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan + vulkan-overlay wayland +X xa xvmc zink +zstd" + +REQUIRED_USE=" + d3d9? ( dri3 || ( video_cards_iris video_cards_r300 video_cards_r600 video_cards_radeonsi video_cards_nouveau video_cards_vmware ) ) + gles1? ( egl ) + gles2? ( egl ) + osmesa? ( gallium ) + vulkan? ( dri3 + video_cards_radeonsi? ( llvm ) ) + vulkan-overlay? ( vulkan ) + wayland? ( egl gbm ) + video_cards_freedreno? ( gallium ) + video_cards_intel? ( classic ) + video_cards_i915? ( || ( classic gallium ) ) + video_cards_i965? ( classic ) + video_cards_iris? ( gallium ) + video_cards_lima? ( gallium ) + video_cards_nouveau? ( || ( classic gallium ) ) + video_cards_panfrost? ( gallium ) + video_cards_radeon? ( || ( classic gallium ) + gallium? ( x86? ( llvm ) amd64? ( llvm ) ) ) + video_cards_r100? ( classic ) + video_cards_r200? ( classic ) + video_cards_r300? ( gallium x86? ( llvm ) amd64? ( llvm ) ) + video_cards_r600? ( gallium ) + video_cards_radeonsi? ( gallium llvm ) + video_cards_v3d? ( gallium ) + video_cards_vc4? ( gallium ) + video_cards_virgl? ( gallium ) + video_cards_vivante? ( gallium gbm ) + video_cards_vmware? ( gallium ) + xa? ( X ) + xvmc? ( X ) + zink? ( gallium vulkan ) +" + +LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.100" +RDEPEND=" + >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}] + >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}] + gallium? ( + unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] ) + llvm? ( + video_cards_radeonsi? ( + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + video_cards_r600? ( + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + video_cards_radeon? ( + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + ) + lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] ) + opencl? ( + >=virtual/opencl-3[${MULTILIB_USEDEP}] + dev-libs/libclc + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + vaapi? ( + >=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}] + ) + vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] ) + xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] ) + ) + selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] ) + wayland? ( + >=dev-libs/wayland-1.18.0:=[${MULTILIB_USEDEP}] + >=dev-libs/wayland-protocols-1.8 + ) + ${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_nouveau?,video_cards_vc4?,video_cards_vivante?,video_cards_vmware?,${MULTILIB_USEDEP}] + video_cards_intel? ( + !video_cards_i965? ( ${LIBDRM_DEPSTRING}[video_cards_intel] ) + ) + video_cards_i915? ( ${LIBDRM_DEPSTRING}[video_cards_intel] ) + vulkan-overlay? ( dev-util/glslang:0=[${MULTILIB_USEDEP}] ) + X? ( + >=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}] + >=x11-libs/libxshmfence-1.1:=[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2:=[${MULTILIB_USEDEP}] + >=x11-libs/libXxf86vm-1.1.3:=[${MULTILIB_USEDEP}] + >=x11-libs/libxcb-1.13:=[${MULTILIB_USEDEP}] + x11-libs/libXfixes:=[${MULTILIB_USEDEP}] + ) + zink? ( media-libs/vulkan-loader:=[${MULTILIB_USEDEP}] ) + zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] ) +" +for card in ${RADEON_CARDS}; do + RDEPEND="${RDEPEND} + video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_radeon] ) + " +done +RDEPEND="${RDEPEND} + video_cards_radeonsi? ( ${LIBDRM_DEPSTRING}[video_cards_amdgpu] ) +" + +# Please keep the LLVM dependency block separate. Since LLVM is slotted, +# we need to *really* make sure we're not pulling one than more slot +# simultaneously. +# +# How to use it: +# 1. List all the working slots (with min versions) in ||, newest first. +# 2. Update the := to specify *max* version, e.g. < 10. +# 3. Specify LLVM_MAX_SLOT, e.g. 9. +LLVM_MAX_SLOT="11" +LLVM_DEPSTR=" + || ( + sys-devel/llvm:11[${MULTILIB_USEDEP}] + sys-devel/llvm:10[${MULTILIB_USEDEP}] + sys-devel/llvm:9[${MULTILIB_USEDEP}] + ) + <sys-devel/llvm-$((LLVM_MAX_SLOT + 1)):=[${MULTILIB_USEDEP}] +" +LLVM_DEPSTR_AMDGPU=${LLVM_DEPSTR//]/,llvm_targets_AMDGPU(-)]} +CLANG_DEPSTR=${LLVM_DEPSTR//llvm/clang} +CLANG_DEPSTR_AMDGPU=${CLANG_DEPSTR//]/,llvm_targets_AMDGPU(-)]} +RDEPEND="${RDEPEND} + gallium? ( + llvm? ( + opencl? ( + video_cards_r600? ( + ${CLANG_DEPSTR_AMDGPU} + ) + !video_cards_r600? ( + video_cards_radeonsi? ( + ${CLANG_DEPSTR_AMDGPU} + ) + ) + !video_cards_r600? ( + !video_cards_radeonsi? ( + video_cards_radeon? ( + ${CLANG_DEPSTR_AMDGPU} + ) + ) + ) + !video_cards_r600? ( + !video_cards_radeon? ( + !video_cards_radeonsi? ( + ${CLANG_DEPSTR} + ) + ) + ) + ) + !opencl? ( + video_cards_r600? ( + ${LLVM_DEPSTR_AMDGPU} + ) + !video_cards_r600? ( + video_cards_radeonsi? ( + ${LLVM_DEPSTR_AMDGPU} + ) + ) + !video_cards_r600? ( + !video_cards_radeonsi? ( + video_cards_radeon? ( + ${LLVM_DEPSTR_AMDGPU} + ) + ) + ) + !video_cards_r600? ( + !video_cards_radeon? ( + !video_cards_radeonsi? ( + ${LLVM_DEPSTR} + ) + ) + ) + ) + ) + ) +" +unset {LLVM,CLANG}_DEPSTR{,_AMDGPU} + +DEPEND="${RDEPEND} + valgrind? ( dev-util/valgrind ) + X? ( + x11-libs/libXrandr[${MULTILIB_USEDEP}] + x11-base/xorg-proto + ) +" +BDEPEND=" + ${PYTHON_DEPS} + opencl? ( + >=sys-devel/gcc-4.6 + ) + sys-devel/bison + sys-devel/flex + virtual/pkgconfig + $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]") +" + +S="${WORKDIR}/${MY_P}" +EGIT_CHECKOUT_DIR=${S} + +QA_WX_LOAD=" +x86? ( + usr/lib*/libglapi.so.0.0.0 + usr/lib*/libGLESv1_CM.so.1.1.0 + usr/lib*/libGLESv2.so.2.0.0 + usr/lib*/libGL.so.1.2.0 + usr/lib*/libOSMesa.so.8.0.0 + usr/lib/libGLX_mesa.so.0.0.0 +)" + +llvm_check_deps() { + local flags=${MULTILIB_USEDEP} + if use video_cards_r600 || use video_cards_radeon || use video_cards_radeonsi + then + flags+=",llvm_targets_AMDGPU(-)" + fi + + if use opencl; then + has_version "sys-devel/clang:${LLVM_SLOT}[${flags}]" || return 1 + fi + has_version "sys-devel/llvm:${LLVM_SLOT}[${flags}]" +} + +pkg_pretend() { + if use vulkan; then + if ! use video_cards_i965 && + ! use video_cards_iris && + ! use video_cards_radeonsi && + ! use video_cards_v3d; then + ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain i965, iris, radeonsi, or v3d" + fi + fi + + if use opencl; then + if ! use video_cards_r600 && + ! use video_cards_radeonsi; then + ewarn "Ignoring USE=opencl since VIDEO_CARDS does not contain r600 or radeonsi" + fi + fi + + if use vaapi; then + if ! use video_cards_r600 && + ! use video_cards_radeonsi && + ! use video_cards_nouveau; then + ewarn "Ignoring USE=vaapi since VIDEO_CARDS does not contain r600, radeonsi, or nouveau" + fi + fi + + if use vdpau; then + if ! use video_cards_r300 && + ! use video_cards_r600 && + ! use video_cards_radeonsi && + ! use video_cards_nouveau; then + ewarn "Ignoring USE=vdpau since VIDEO_CARDS does not contain r300, r600, radeonsi, or nouveau" + fi + fi + + if use xa; then + if ! use video_cards_freedreno && + ! use video_cards_nouveau && + ! use video_cards_vmware; then + ewarn "Ignoring USE=xa since VIDEO_CARDS does not contain freedreno, nouveau, or vmware" + fi + fi + + if use xvmc; then + if ! use video_cards_r600 && + ! use video_cards_nouveau; then + ewarn "Ignoring USE=xvmc since VIDEO_CARDS does not contain r600 or nouveau" + fi + fi + + if ! use gallium; then + use lm-sensors && ewarn "Ignoring USE=lm-sensors since USE does not contain gallium" + use llvm && ewarn "Ignoring USE=llvm since USE does not contain gallium" + use opencl && ewarn "Ignoring USE=opencl since USE does not contain gallium" + use vaapi && ewarn "Ignoring USE=vaapi since USE does not contain gallium" + use vdpau && ewarn "Ignoring USE=vdpau since USE does not contain gallium" + use unwind && ewarn "Ignoring USE=unwind since USE does not contain gallium" + use xa && ewarn "Ignoring USE=xa since USE does not contain gallium" + use xvmc && ewarn "Ignoring USE=xvmc since USE does not contain gallium" + fi + + if ! use llvm; then + use opencl && ewarn "Ignoring USE=opencl since USE does not contain llvm" + fi + + if use osmesa && ! use llvm; then + ewarn "OSMesa will be slow without enabling USE=llvm" + fi +} + +python_check_deps() { + has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" +} + +pkg_setup() { + # warning message for bug 459306 + if use llvm && has_version sys-devel/llvm[!debug=]; then + ewarn "Mismatch between debug USE flags in media-libs/mesa and sys-devel/llvm" + ewarn "detected! This can cause problems. For details, see bug 459306." + fi + + if use video_cards_i965 || + use video_cards_iris || + use video_cards_radeonsi; then + if kernel_is -ge 5 11 3; then + CONFIG_CHECK="~KCMP" + elif kernel_is -ge 5 11; then + CONFIG_CHECK="~CHECKPOINT_RESTORE" + elif kernel_is -ge 5 10 20; then + CONFIG_CHECK="~KCMP" + else + CONFIG_CHECK="~CHECKPOINT_RESTORE" + fi + linux-info_pkg_setup + fi + + if use gallium && use llvm; then + llvm_pkg_setup + fi + python-any-r1_pkg_setup +} + +multilib_src_configure() { + local emesonargs=() + + if use classic; then + # Intel code + dri_driver_enable video_cards_i915 i915 + dri_driver_enable video_cards_i965 i965 + if ! use video_cards_i915 && \ + ! use video_cards_i965; then + dri_driver_enable video_cards_intel i915 i965 + fi + + # Nouveau code + dri_driver_enable video_cards_nouveau nouveau + + # ATI code + dri_driver_enable video_cards_r100 r100 + dri_driver_enable video_cards_r200 r200 + if ! use video_cards_r100 && \ + ! use video_cards_r200; then + dri_driver_enable video_cards_radeon r100 r200 + fi + fi + + local platforms + use X && platforms+="x11" + use wayland && platforms+=",wayland" + emesonargs+=(-Dplatforms=${platforms#,}) + + if use X || use egl; then + emesonargs+=(-Dglvnd=true) + else + emesonargs+=(-Dglvnd=false) + fi + + if use gallium; then + emesonargs+=( + $(meson_feature llvm) + $(meson_feature lm-sensors lmsensors) + $(meson_feature unwind libunwind) + ) + + if use video_cards_iris || + use video_cards_r300 || + use video_cards_r600 || + use video_cards_radeonsi || + use video_cards_nouveau || + use video_cards_vmware; then + emesonargs+=($(meson_use d3d9 gallium-nine)) + else + emesonargs+=(-Dgallium-nine=false) + fi + + if use video_cards_r600 || + use video_cards_radeonsi || + use video_cards_nouveau; then + emesonargs+=($(meson_feature vaapi gallium-va)) + use vaapi && emesonargs+=( -Dva-libs-path="${EPREFIX}"/usr/$(get_libdir)/va/drivers ) + else + emesonargs+=(-Dgallium-va=disabled) + fi + + if use video_cards_r300 || + use video_cards_r600 || + use video_cards_radeonsi || + use video_cards_nouveau; then + emesonargs+=($(meson_feature vdpau gallium-vdpau)) + else + emesonargs+=(-Dgallium-vdpau=disabled) + fi + + if use video_cards_freedreno || + use video_cards_nouveau || + use video_cards_vmware; then + emesonargs+=($(meson_feature xa gallium-xa)) + else + emesonargs+=(-Dgallium-xa=disabled) + fi + + if use video_cards_r600 || + use video_cards_nouveau; then + emesonargs+=($(meson_feature xvmc gallium-xvmc)) + else + emesonargs+=(-Dgallium-xvmc=disabled) + fi + + if use video_cards_freedreno || + use video_cards_lima || + use video_cards_panfrost || + use video_cards_v3d || + use video_cards_vc4 || + use video_cards_vivante; then + gallium_enable -- kmsro + fi + + gallium_enable -- swrast + gallium_enable video_cards_lima lima + gallium_enable video_cards_panfrost panfrost + gallium_enable video_cards_v3d v3d + gallium_enable video_cards_vc4 vc4 + gallium_enable video_cards_vivante etnaviv + gallium_enable video_cards_vmware svga + gallium_enable video_cards_nouveau nouveau + gallium_enable zink zink + + # Only one i915 driver (classic vs gallium). Default to classic. + if ! use classic; then + gallium_enable video_cards_i915 i915 + if ! use video_cards_i915 && \ + ! use video_cards_i965; then + gallium_enable video_cards_intel i915 + fi + fi + + gallium_enable video_cards_iris iris + + gallium_enable video_cards_r300 r300 + gallium_enable video_cards_r600 r600 + gallium_enable video_cards_radeonsi radeonsi + if ! use video_cards_r300 && \ + ! use video_cards_r600; then + gallium_enable video_cards_radeon r300 r600 + fi + + gallium_enable video_cards_freedreno freedreno + gallium_enable video_cards_virgl virgl + + # opencl stuff + emesonargs+=( + -Dgallium-opencl="$(usex opencl icd disabled)" + ) + fi + + if use vulkan; then + vulkan_enable video_cards_i965 intel + vulkan_enable video_cards_iris intel + vulkan_enable video_cards_radeonsi amd + vulkan_enable video_cards_v3d broadcom + fi + + driver_list() { + local drivers="$(sort -u <<< "${1// /$'\n'}")" + echo "${drivers//$'\n'/,}" + } + + emesonargs+=( + $(meson_use test build-tests) + -Dglx=$(usex X dri disabled) + -Dshared-glapi=enabled + $(meson_feature dri3) + $(meson_feature egl) + $(meson_feature gbm) + $(meson_feature gles1) + $(meson_feature gles2) + $(meson_use osmesa) + $(meson_use selinux) + $(meson_feature zstd) + -Dvalgrind=$(usex valgrind auto false) + -Ddri-drivers=$(driver_list "${DRI_DRIVERS[*]}") + -Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}") + -Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}") + $(meson_use vulkan vulkan-device-select-layer) + $(meson_use vulkan-overlay vulkan-overlay-layer) + --buildtype $(usex debug debug plain) + -Db_ndebug=$(usex debug false true) + ) + meson_src_configure +} + +multilib_src_compile() { + meson_src_compile +} + +multilib_src_install() { + meson_src_install +} + +multilib_src_install_all() { + einstalldocs +} + +multilib_src_test() { + meson_src_test -t 100 +} + +# $1 - VIDEO_CARDS flag (check skipped for "--") +# other args - names of DRI drivers to enable +dri_driver_enable() { + if [[ $1 == -- ]] || use $1; then + shift + DRI_DRIVERS+=("$@") + fi +} + +gallium_enable() { + if [[ $1 == -- ]] || use $1; then + shift + GALLIUM_DRIVERS+=("$@") + fi +} + +vulkan_enable() { + if [[ $1 == -- ]] || use $1; then + shift + VULKAN_DRIVERS+=("$@") + fi +} diff --git a/media-libs/nv-codec-headers/Manifest b/media-libs/nv-codec-headers/Manifest index ec785e47a0b1..640ba93a34cd 100644 --- a/media-libs/nv-codec-headers/Manifest +++ b/media-libs/nv-codec-headers/Manifest @@ -1,10 +1,12 @@ DIST nv-codec-headers-10.0.26.0.tar.gz 61978 BLAKE2B 0f91a3e9f0be19658a519ad4d9091aea4e8a59c0a857d997ce49060d84f35ba7fe5f5fc2e19ee63ad054df16df08946990cc70abe867ceefd40867fb3a06f9ee SHA512 707a2151e5045939be69083bca8b8219439e1edb218a3eb3a8f1ebf38e6c8fd9ef2066e5f986c57b63573603c1fa2ae34f24acee118d1f69e39b3d7b747a28f0 DIST nv-codec-headers-10.0.26.1.tar.gz 62544 BLAKE2B a19d87101fe0bb511383ca6d5f61fe5a8ecce54827a09ae5526d6b546f50cf14368887550f7689180041e8a36b61ba53c103b8a225a7765670b5d97169d62a62 SHA512 18c507d73efc8b7194bcc79a2e25f88c81390d10766511f9b0c4826cb7b9332e9d0f2667441dd5529575dd1d2c0e0625304ee489c643c9f66ec90f2dbab566c9 +DIST nv-codec-headers-11.0.10.0.tar.gz 66724 BLAKE2B 98fb8cd663ac61ad58f5d463ded9852e94b377991de2f980ec0a0088fcd5d0af98090b76f82e9e7ca242a0ff55e4d4c1ef91c9c6466a6de8d81e97ba2d721e66 SHA512 f4964499a834ba31e073f0b0deabba354eb8351cd135846efd3387313ef4af0750a875d450674ef416f2b2cc7176e9154c1e5033de07f6091b9d0cc7c7ef9cb1 DIST nv-codec-headers-8.1.24.2.tar.gz 53627 BLAKE2B 482c86824f81652b439fba1b765261de107d51a3bd780d3f0c58e1cdd53cd21ddad3fea59e8ab5d920fb34c73e43c10c007a5efe32024bfd3523ed8d4ad26f44 SHA512 daa45ae8bcc11eb6b8d671c2d720d5c3edce9e4ef68f913ed25a8c4d1a4b165e0576b03eff9ce2fe355156ab5a5d8d74573158ef190feec5cfb5ac0838e0caa7 DIST nv-codec-headers-9.0.18.1.tar.gz 58850 BLAKE2B 8e940ffb929f67c4e459cfd55113298527cf8430b94d20e9bb7148cf532dbed798138e63801f29d168d0b4b465c0eb6ef3c58596289063f461b7d5e8832ce7e8 SHA512 4306ee3c6e72e9e3172b28c5e6166ec3fb9dfdc32578aebda0588afc682f56286dd6f616284c9892907cd413f57770be3662572207a36d6ac65c75a03d381f6f DIST nv-codec-headers-9.1.23.1.tar.gz 59400 BLAKE2B a4f437b5abc8bac05bafde4f01a4fa42f7acf2fd4a1d8b7e58f6a5a5e54c95a6ef9d6b510829bed9ed63f804220de460adc6441bf3c0bd451774dacc6f11e43e SHA512 0c1112cb1db98f60e64eeee24e3592b65c31ea8a808de707d4d0a56efb71c9a483bb3af45a641bff1f8422ab44e6be4bffd548b6567305021a448bcd66202b29 EBUILD nv-codec-headers-10.0.26.0.ebuild 759 BLAKE2B 7ec2db5c03c43de930ccbcf0345a83037c8bda64d104134d66dd53171f2d169c2948dec4ed772ac3f2173fa98a890dba20d83547daa1411bf73025fdf84635c7 SHA512 e9bc9c52ae0edd7bebedca223f3abfd7f9e117d95a793fb3dd6477dd066c1af0e2bfc66da11904436c8e58e7764c73efaf767bb3a67b9cd82012ae0351d2f977 EBUILD nv-codec-headers-10.0.26.1.ebuild 759 BLAKE2B 7ec2db5c03c43de930ccbcf0345a83037c8bda64d104134d66dd53171f2d169c2948dec4ed772ac3f2173fa98a890dba20d83547daa1411bf73025fdf84635c7 SHA512 e9bc9c52ae0edd7bebedca223f3abfd7f9e117d95a793fb3dd6477dd066c1af0e2bfc66da11904436c8e58e7764c73efaf767bb3a67b9cd82012ae0351d2f977 +EBUILD nv-codec-headers-11.0.10.0.ebuild 729 BLAKE2B 201843335dc4dffb34ad67aa24736331d5913031f9a148edcdbf3a2d8e78112164b43d1eb583f1747fea65a7631473deda078051b6956259336ebd6bfda97807 SHA512 09a1e4d6dbc74c255f47ff0c09510de1fdc8d402f988e491dfe5d1742575e333e32a1e21683e043631e483f9eebfd58613e0263dbd900b76b61540215e1ed3c8 EBUILD nv-codec-headers-8.1.24.2.ebuild 791 BLAKE2B 1a30ee929c9619f0497c4912b709b3e860227ef5daf466e9319bb4799aaf6de7b377324f779d674b78b45ae23041d65188a4ede6827a1cf35cd913ad36a2c9fb SHA512 258ad2e47ed9dcfabe870010f15670e318d064e35bbc1ed60347b48b91d0be65c941125794e817df013851263657628ee844e08d1c000390ad244960f5b58675 EBUILD nv-codec-headers-9.0.18.1.ebuild 791 BLAKE2B 883e69bfc8304eff9f48c6095f2356df69ad16f6cfcfe2f4ef23cc648641a69ea9a3f50740e1f1b8305e00d72e10812d69714603bd96c8f2dc42e0322a5b66b4 SHA512 0a947197e469c989d2fe76adc2f303c96ce6e9d441521daa7ca87c4aaf99d7890d19b59c3727d83be54bef1b2279097033d5441ba274b9212958289086e453e6 EBUILD nv-codec-headers-9.1.23.1.ebuild 758 BLAKE2B 1e5096e56aababfe603c97bc548b18f44cd3f025f23ac2fc522bacc6029848e13a12d5cb9686e2b4b8a9ab4d4cd31849659897e97a1da9be8e2ed43bc4dbbbc8 SHA512 2f4e666dd3d801a775761f836c04b782a87b40aaf0936805b2abadb3c074b2314e1db0e98f7b91b64270367756682c0d72b437c677a5b3c3a66fc5e9e354805a diff --git a/media-libs/nv-codec-headers/nv-codec-headers-11.0.10.0.ebuild b/media-libs/nv-codec-headers/nv-codec-headers-11.0.10.0.ebuild new file mode 100644 index 000000000000..0a30ef8df8df --- /dev/null +++ b/media-libs/nv-codec-headers/nv-codec-headers-11.0.10.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal + +DESCRIPTION="FFmpeg version of headers required to interface with Nvidias codec APIs" +HOMEPAGE="https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git" +SRC_URI="https://github.com/FFmpeg/nv-codec-headers/releases/download/n${PV}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=x11-drivers/nvidia-drivers-455.28[${MULTILIB_USEDEP}]" + +src_prepare() { + multilib_copy_sources + default +} + +multilib_src_compile() { + emake PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)" +} + +multilib_src_install() { + emake PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)" DESTDIR="${D}" install +} diff --git a/media-libs/openglide/Manifest b/media-libs/openglide/Manifest index db107d1c835d..d25147314336 100644 --- a/media-libs/openglide/Manifest +++ b/media-libs/openglide/Manifest @@ -1,4 +1,4 @@ AUX OpenGLid.ini 605 BLAKE2B 5f51d0a6d15e253bffb0919ec078b2081005fc1f86f8058ec969820e32f3bea621b5dc941cec23a24595c01dd87f8f37db582b5307ada6a52a34d28f7c123f22 SHA512 dbd4ab26d5a556fcd9656f151c156dd29eaa1b815d1a5eaf841cc23f2c8aee5f385f085febfeabe900014b63c5cc2234aafc9388e1940fa72cb7a4aaab2cf14c DIST openglide-0.09_rc9_p20191120.tar.gz 470278 BLAKE2B 234b83b4688e120f6ea00f5583c7546d8a7a4d2ca7ab12d52a7a4f52a5375508418866b7c9547ba495c48abe9ff4caf49a104de1a34f208db1028082bb71fb46 SHA512 c83c1c04aa77fe47f381385c8d946da49c2eb8ceba0164b660af1564bfb580015f196cd4063bb73f2c76405517f90e8b5a6e7969afbdd7ef2c9fce7520227478 -EBUILD openglide-0.09_rc9_p20191120.ebuild 1290 BLAKE2B 5618a33b29df9588104557a6ab13d9fa823ef3e99705d9ab31a96452b8d53773224e38cedb36c9fd9e046e086f8d71df3e6e0c9156327707f638aea9afa75071 SHA512 ce30069a050caa0adf3e7ee3ae2c4044edde806eb7c41c9b04cf55d5e7859ee56ad618c8ddbc422f3ea41557a6ccbc16020476065af3c01e78eca9c8f7be3477 +EBUILD openglide-0.09_rc9_p20191120.ebuild 1358 BLAKE2B 3f631d99caea24501b0f71ff2e625fbe5b4fca5c751f51bbcc5343a31acac4232f28eea3618c24afc3a4dde7b676c2342124a769bdc2ab36be4cc524403faac0 SHA512 1f3587048c290101438c11179170610f0df22ea38e9ec811deae2d767d56ca6a4a30901f3d025099ffcc17440ac003bbe9bc7b1ddbefec6b28d5b95b4685e049 MISC metadata.xml 693 BLAKE2B 92dde15413f18f0bc359c3ef821e8a62fd70bc621c4de1a3d5c85bfb88410c80d99111dea375509617d8d81eedad447b7422dba9b22fb206e12ec77a01fb13c3 SHA512 9d5f988dac6a2a3c0556718c3ce5e883931b68175d9c6bb6e3a9c5b5bcec10f144d8df9a6fc95a447ba6e6d5a5860d3c8456480273c3cab4a6914129e4ac102d diff --git a/media-libs/openglide/openglide-0.09_rc9_p20191120.ebuild b/media-libs/openglide/openglide-0.09_rc9_p20191120.ebuild index 967005ed1c3d..c51f646d46f9 100644 --- a/media-libs/openglide/openglide-0.09_rc9_p20191120.ebuild +++ b/media-libs/openglide/openglide-0.09_rc9_p20191120.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -56,6 +56,9 @@ multilib_src_install_all() { newexe platform/dosbox/glide2x.ovl glide2x-dosbox.ovl newexe platform/dosemu/glide2x.ovl glide2x-dosemu.ovl - rm "${ED}"/usr/*/*.la || die + # Drop the libtool file *if* it exists + # bug #778266 + find "${ED}" -name '*.la' -delete || die + einstalldocs } diff --git a/media-libs/partio/Manifest b/media-libs/partio/Manifest index ee9d16cedce1..211b7c96848c 100644 --- a/media-libs/partio/Manifest +++ b/media-libs/partio/Manifest @@ -1,4 +1,3 @@ -AUX partio-1.1.0-Rename-partconv.patch 2459 BLAKE2B d811f5174dd2c5e158e7985e8fdea520faeb248249b88c8ebec37dc91f50312ed44d39563142cb3a28fa07ce9b6907824835484881782ceac9b8894978bcb061 SHA512 1965a236f43092c05c940c0f2b33d9c77066ed5fbf3b1753bcf5d9b13c8e5a6e60ef41ba13c9471d1d26d1dc74fead52d0ef1c18f04b1f942345fd1412b0c932 DIST partio-1.10.1.tar.gz 333129 BLAKE2B 82d1dd36e9854e221af036d386ecdc558ac032ad7cd720403787ddc83ac236f05fd86e8c07ade07ca93b06a12ac2b834c96a6d43265e396934e44a815df003d3 SHA512 7d3c6449ebd1e8b8a29298a3119acfd1036970b287e9cd5f288a63c7e2b3bf451e9e1ba8fc72f203e225eb2b062d59cd7373817ccc6467de67427d02c0b12477 EBUILD partio-1.10.1.ebuild 1016 BLAKE2B f299a2d45d8d7cb384e2036a48a6bbb8052460c341d860d8548b282c27f0a6ed95a0571e7839df7c934a3e83db7abb9161670e79ac63e7bfbce6e9567b88e858 SHA512 5f522ae58b71252dd1da74c73c80ac75bca3d9e97bd4f76dd3c3f152a77254894bba0a193dea97f78341c25a2801fecd031836af0dc82a1e9102e327049960b6 EBUILD partio-9999.ebuild 1007 BLAKE2B 0ef6f815874a53c90a329598fa1fb74ffbe8df5d54594b4bca6c13de3836c50417f5185e2e6adf84c0ff5111fce8dbc850e5901e33cefb2eb274048dcf4bddc4 SHA512 42c9ce2cb8ac4ae9cf89a3bedcb2e7ff10c7adfe8c7c22cc39ed592f359a8d102ae736321fae802b18e29664c29e9201691ecd402f12e523a5e2b30ce32785d7 diff --git a/media-libs/partio/files/partio-1.1.0-Rename-partconv.patch b/media-libs/partio/files/partio-1.1.0-Rename-partconv.patch deleted file mode 100644 index 35f7c1244f38..000000000000 --- a/media-libs/partio/files/partio-1.1.0-Rename-partconv.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 7042285af5491fd3c2727fa24a7fd44145c066e5 Mon Sep 17 00:00:00 2001 -From: Jonathan Scruggs <j.scruggs@gmail.com> -Date: Sat, 23 Sep 2017 16:43:37 +0100 -Subject: [PATCH] Rename partconv to partconvert to avoid file collisions - -* partconv is the name of a program used by Crystal Space - -Closes: https://bugs.gentoo.org/631834 ---- - README.md | 2 +- - src/Makefile | 2 +- - src/tools/CMakeLists.txt | 6 +++--- - src/tools/{partconv.cpp => partconvert.cpp} | 0 - 4 files changed, 5 insertions(+), 5 deletions(-) - rename src/tools/{partconv.cpp => partconvert.cpp} (100%) - -diff --git a/README.md b/README.md -index 0a3ac19..4cd12c3 100644 ---- a/README.md -+++ b/README.md -@@ -56,7 +56,7 @@ src/ - doc/ Doxygen documentation and (the start of) a manual - tests/ Start of regression tests (I need more) - tools/ Useful tools -- partconv <input format> <output format> -+ partconvert <input format> <output format> - partinfo <particle file> - partview <particle file> - -diff --git a/src/Makefile b/src/Makefile -index 0ced80e..ca4f965 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -25,4 +25,4 @@ reader/BGEO.o: reader/BGEO.cpp Particle.h ParticleSimple.h \ - reader/PDB.o: reader/PDB.cpp Particle.h ParticleSimple.h \ - reader/../Particle.h reader/pdb.h - partinfo.o: partinfo.cpp Particle.h --partconv.o: partconf.cpp Particle.h -\ No newline at end of file -+partconvert.o: partconf.cpp Particle.h -diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt -index 7a6d26b..b4ed9ae 100644 ---- a/src/tools/CMakeLists.txt -+++ b/src/tools/CMakeLists.txt -@@ -47,10 +47,10 @@ ENDIF(GLUT_FOUND AND OPENGL_FOUND) - ADD_EXECUTABLE(partinfo partinfo.cpp) - target_link_libraries(partinfo ${PARTIO_LIBRARIES}) - --ADD_EXECUTABLE(partconv partconv.cpp) --target_link_libraries(partconv ${PARTIO_LIBRARIES}) -+ADD_EXECUTABLE(partconvert partconvert.cpp) -+target_link_libraries(partconvert ${PARTIO_LIBRARIES}) - - ADD_EXECUTABLE(partattr partattr.cpp) - target_link_libraries(partattr ${PARTIO_LIBRARIES}) - --install(TARGETS partattr partconv partinfo DESTINATION ${CMAKE_INSTALL_BINDIR}) -+install(TARGETS partattr partconvert partinfo DESTINATION ${CMAKE_INSTALL_BINDIR}) -diff --git a/src/tools/partconv.cpp b/src/tools/partconvert.cpp -similarity index 100% -rename from src/tools/partconv.cpp -rename to src/tools/partconvert.cpp --- -2.14.1 - diff --git a/media-libs/quvi/Manifest b/media-libs/quvi/Manifest index b2a7c40e33e2..8376a05a846d 100644 --- a/media-libs/quvi/Manifest +++ b/media-libs/quvi/Manifest @@ -1,4 +1,5 @@ AUX quvi-0.9.1-automagic.patch 1586 BLAKE2B 59ed8c56bdcf3eb2b96a485be50396b8ca6d6432a402929bf877e2c932e35276bf452f8f453d1a00a3d051fda075b49e0138ced9cf8dde5c63ee53d50ac0434a SHA512 cc13530109553c4ebe652faa74e29ce159ef807eb24000b472434e1d3307b677cfbc5db20851041ab6cc4d024db84cd2a1a6ee91f9787880588fc692aafecc52 +AUX quvi-0.9.5-autoconf-2.70.patch 401 BLAKE2B cf0f73bd28ef391e6b0e0e30b7c10abf64ee7cdbaea1040c7c0439e8ebb9605e13854d17e2d3cdf582b5c658f15244ec6478acf7b5a1958347ebf79859e59ca7 SHA512 18f156dc970925c07b2922ff1ca79bc57384210d151b53bea8288e8ced32c1f1993b34be8b1fb7f570aa70317fb8c45549142082a83c9d52f026dee04bb4af94 DIST quvi-0.9.5.tar.xz 316676 BLAKE2B f9d8aa9ffd1cc70b17c4ce77648bc46f178b5eb0faa238636bb702701d8a1f249fb3a56a0fa0f5840efcd53532609bdcc0010fd90163f4619746a196ab269267 SHA512 ef50160b7f2b6b8c9049eb995cb26da3100b10e7af8206d98d2e128cde300ceb05a24dded06d7d49c0e691fcc2de5a4c5c9e9f439d40ca52cd0a3a24330c6d79 -EBUILD quvi-0.9.5.ebuild 822 BLAKE2B ccb1f9ef1382a07b97c1bdba298ac3437417e2064dca1ada714ce9835be9a4a3eecd13a6fa1b141c848b32c755df7050c40a642b12352c0914680c217eeda598 SHA512 89de8474a819a8592f8a4fb3cf3fb79d9d15e0d7f6367ac4cafc7f2054eefe096b32bf108dcc836b27a648f7ee78c3db1a5388c91083be119e1553769fd5a900 +EBUILD quvi-0.9.5.ebuild 916 BLAKE2B cf7241d4241e431073dd2bab6f59d372a6fd9f394186b0aef22e90095c68b0f738ab8b2507b7e93e68bf4ec4f7c95da5bc98664194c5bf0f9bed97efe2644eeb SHA512 8d98c186305706156b27fc5a19617de5f035770e793bbbaa0e2df9c3701b9bc3eb28b4b465b66e8ff83a84d291656643589f18d3ff307b0ec418ff1bc99d8d86 MISC metadata.xml 406 BLAKE2B de0ee5d493972dd342457e1e5ba80e373188ce6157b0d88b543164088964032c3e8ff65e4283afb192ed0cb3cb831faf24e56b88aa028c7a20eb4e4bbb3b28f5 SHA512 ce7e3fcd2383246bb40af7fe0b95dbb888d9ee10f1bae6d3edf7f612eb07baa8093777bedd271e3f7c629ddfb255fd407a658555ecb32bf5fe8dde02ebd6f1f4 diff --git a/media-libs/quvi/files/quvi-0.9.5-autoconf-2.70.patch b/media-libs/quvi/files/quvi-0.9.5-autoconf-2.70.patch new file mode 100644 index 000000000000..55d9854a7acb --- /dev/null +++ b/media-libs/quvi/files/quvi-0.9.5-autoconf-2.70.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/777768 + +--- quvi-0.9.5/configure.ac ++++ quvi-0.9.5/configure.ac +@@ -6,7 +6,7 @@ + AC_INIT([quvi], m4_esyscmd([./gen-ver.sh -c | tr -d '\n']), + [http://quvi.sf.net/bugs/],[],[http://quvi.sf.net/]) + +-AC_DEFINE_UNQUOTED([BUILD_OPTS], "$@", ++AC_DEFINE_UNQUOTED([BUILD_OPTS], "$*", + [Define to configure invocation command line options]) + + AC_CONFIG_SRCDIR([src/main.c]) diff --git a/media-libs/quvi/quvi-0.9.5.ebuild b/media-libs/quvi/quvi-0.9.5.ebuild index a5e505fb63dd..1c6ddec915e6 100644 --- a/media-libs/quvi/quvi-0.9.5.ebuild +++ b/media-libs/quvi/quvi-0.9.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -27,7 +27,10 @@ BDEPEND=" virtual/pkgconfig nls? ( sys-devel/gettext )" -PATCHES=( "${FILESDIR}"/${PN}-0.9.1-automagic.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-0.9.1-automagic.patch + "${FILESDIR}"/${PN}-0.9.5-autoconf-2.70.patch #777768 +) src_prepare() { default @@ -35,8 +38,10 @@ src_prepare() { } src_configure() { - econf \ - --with-manual \ - $(use_enable json) \ + local myeconfargs=( + --with-manual + $(use_enable json) $(use_enable xml) + ) + econf "${myeconfargs[@]}" } diff --git a/media-libs/sdl2-mixer/Manifest b/media-libs/sdl2-mixer/Manifest index fa4dd90b46d7..dc2d2f1391bd 100644 --- a/media-libs/sdl2-mixer/Manifest +++ b/media-libs/sdl2-mixer/Manifest @@ -1,3 +1,4 @@ +AUX sdl2-mixer-2.0.4-slibtool.patch 3794 BLAKE2B 5e6f316a32a7c58abdbf764ada81c85e9db6509f99b3a7054de08ea90f1bf54d12bad6f177e7d76181d76f6b0d218acd1f44e8d50e91f7b3ef74056ddf3acd0b SHA512 da520853a59036ea413cc24964798fe40414c072612e2fa0bf79373be669b76d6b07a3853123317f25eb82db1a4dbd105b23469e6da14bb0596242fc1a9060d7 DIST SDL2_mixer-2.0.4.tar.gz 11125077 BLAKE2B ccb55020e360fa000e82807b8c4e2371228291943d2dc7371606834ca0f781d4e82581b5427e9902156bf3072208db4ec07e95a06f206e40ff530f432dd9e491 SHA512 98c56069640668aaececa63748de21fc8f243c7d06386c45c43d0ee472bbb2595ccda644d9886ce5b95c3a3dee3c0a96903cf9a89ddc18d38f041133470699a3 -EBUILD sdl2-mixer-2.0.4.ebuild 3271 BLAKE2B 24d03746b5995df9a03daf1ffc137fea289775a849af5fe6209b309d6b72b8b46c1f21eb7a74a2d647ac0e61f086e99e705fef20a7e4b1ec87380d46dee54cc9 SHA512 ee857d55b233a8af78240c6a90da53b9e4a0dd7e005cadd4bbf886f4785aa7272f1977328e408fb7dc1e8cb5c3b3286f33cbf2f6984459e85757b602e15dd4c3 +EBUILD sdl2-mixer-2.0.4.ebuild 3491 BLAKE2B 2f4d9ae4b9a0911f7721e355c48d8a60d4477f3f320b32fdeb9e7eb5e6ac147b5c57dcc03d115c20fe5df21f5812d3ff6b09acb9e4293edb199be5eff2f3419d SHA512 1b076b2813c946e514f13a950809ca5e3fedd67899c0110a99d88a6d7f6594be73a6d44f2bf41650bd7275123fff82f5dd5d6772e04f1717009a552a3a25ac55 MISC metadata.xml 672 BLAKE2B deb686ba387b3a1be2b2584f95c1058f5b94fc31f323b03c9e42868c4b06ebb13d40b94195e4791c7ca6ca5a36d757135cee3aeba422d24ed48d04269919010c SHA512 33a98a133bd53201fceba43b54dc44eb5ed83a3015f8d9729ffbd2a9fa400e75510a0e7b31ccd8bf21e430b7b843a6634637beba179ff724cd6b50536ecfe4ab diff --git a/media-libs/sdl2-mixer/files/sdl2-mixer-2.0.4-slibtool.patch b/media-libs/sdl2-mixer/files/sdl2-mixer-2.0.4-slibtool.patch new file mode 100644 index 000000000000..374e1441fcd7 --- /dev/null +++ b/media-libs/sdl2-mixer/files/sdl2-mixer-2.0.4-slibtool.patch @@ -0,0 +1,81 @@ +https://bugs.gentoo.org/777420 + +commit 174dfd47e6da498dbaf057579a15235c077b71d0 +Author: orbea <orbea@riseup.net> +Date: Wed Mar 24 15:56:27 2021 -0700 + + fix build failure with slibtool and parallel make (#bug 5494) + +diff --git a/Makefile.in b/Makefile.in +index 2ff24b2..6774663 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -46,7 +46,7 @@ LT_RELEASE = @LT_RELEASE@ + LT_REVISION = @LT_REVISION@ + LT_LDFLAGS = -no-undefined -rpath $(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) + +-all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) $(objects)/playwave$(EXE) $(objects)/playmus$(EXE) ++all: $(srcdir)/configure Makefile $(objects)/$(TARGET) $(objects)/playwave$(EXE) $(objects)/playmus$(EXE) + + $(srcdir)/configure: $(srcdir)/configure.in + @echo "Warning, configure.in is out of date" +@@ -56,8 +56,9 @@ $(srcdir)/configure: $(srcdir)/configure.in + Makefile: $(srcdir)/Makefile.in + $(SHELL) config.status $@ + +-$(objects): +- $(SHELL) $(auxdir)/mkinstalldirs $@ ++$(objects)/.created: ++ $(SHELL) $(auxdir)/mkinstalldirs $(objects) ++ touch $@ + + .PHONY: all install install-hdrs install-lib install-bin uninstall uninstall-hdrs uninstall-lib uninstall-bin clean distclean dist + +diff --git a/configure.in b/configure.in +index 240a322..557f640 100644 +--- a/configure.in ++++ b/configure.in +@@ -695,14 +695,14 @@ OBJECTS=`echo $SOURCES` + DEPENDS=`echo $SOURCES` + OBJECTS=`echo "$OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.lo,g'` + DEPENDS=`echo "$DEPENDS" | sed 's,\([[^ ]]*\)/\([[^ ]]*\)\.c,\\ +-$(objects)/\2.lo: \1/\2.c\\ ++$(objects)/\2.lo: \1/\2.c\\ \$(objects)/.created\\ + \$(LIBTOOL) --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) '"$DEPENDENCY_TRACKING_OPTIONS"' -c \$< -o \$@,g'` + + OBJECTS_CXX=`echo $SOURCES_CXX` + DEPENDS_CXX=`echo $SOURCES_CXX` + OBJECTS_CXX=`echo "$OBJECTS_CXX" | sed 's,[[^ ]]*/\([[^ ]]*\)\.cpp,$(objects)/\1.lo,g'` + DEPENDS_CXX=`echo "$DEPENDS_CXX" | sed 's,\([[^ ]]*\)/\([[^ ]]*\)\.cpp,\\ +-$(objects)/\2.lo: \1/\2.cpp\\ ++$(objects)/\2.lo: \1/\2.cpp\\ \$(objects)/.created\\ + \$(LIBTOOL) --mode=compile \$(CXX) \$(CFLAGS) \$(EXTRA_CFLAGS) '"$DEPENDENCY_TRACKING_OPTIONS"' -c \$< -o \$@,g'` + OBJECTS="$OBJECTS $OBJECTS_CXX" + DEPENDS="$DEPENDS $DEPENDS_CXX" +@@ -712,7 +712,7 @@ VERSION_OBJECTS=`echo $VERSION_SOURCES` + VERSION_DEPENDS=`echo $VERSION_SOURCES` + VERSION_OBJECTS=`echo "$VERSION_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.rc,$(objects)/\1.o,g'` + VERSION_DEPENDS=`echo "$VERSION_DEPENDS" | sed 's,\([[^ ]]*\)/\([[^ ]]*\)\.rc,\\ +-$(objects)/\2.o: \1/\2.rc\\ ++$(objects)/\2.o: \1/\2.rc\\ \$(objects)/.created\\ + \$(WINDRES) \$< \$@,g'` + VERSION_DEPENDS=`echo "$VERSION_DEPENDS" | sed 's,\\$,\\\\$,g'` + +@@ -721,7 +721,7 @@ PLAYWAVE_OBJECTS=`echo $PLAYWAVE_SOURCES` + PLAYWAVE_DEPENDS=`echo $PLAYWAVE_SOURCES` + PLAYWAVE_OBJECTS=`echo "$PLAYWAVE_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.lo,g'` + PLAYWAVE_DEPENDS=`echo "$PLAYWAVE_DEPENDS" | sed 's,\([[^ ]]*\)/\([[^ ]]*\)\.c,\\ +-$(objects)/\2.lo: \1/\2.c\\ ++$(objects)/\2.lo: \1/\2.c\\ \$(objects)/.created\\ + \$(LIBTOOL) --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) '"$DEPENDENCY_TRACKING_OPTIONS"' -c \$< -o \$@,g'` + PLAYWAVE_DEPENDS=`echo "$PLAYWAVE_DEPENDS" | sed 's,\\$,\\\\$,g'` + +@@ -730,7 +730,7 @@ PLAYMUS_OBJECTS=`echo $PLAYMUS_SOURCES` + PLAYMUS_DEPENDS=`echo $PLAYMUS_SOURCES` + PLAYMUS_OBJECTS=`echo "$PLAYMUS_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.lo,g'` + PLAYMUS_DEPENDS=`echo "$PLAYMUS_DEPENDS" | sed 's,\([[^ ]]*\)/\([[^ ]]*\)\.c,\\ +-$(objects)/\2.lo: \1/\2.c\\ ++$(objects)/\2.lo: \1/\2.c\\ \$(objects)/.created\\ + \$(LIBTOOL) --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) '"$DEPENDENCY_TRACKING_OPTIONS"' -c \$< -o \$@,g'` + PLAYMUS_DEPENDS=`echo "$PLAYMUS_DEPENDS" | sed 's,\\$,\\\\$,g'` + diff --git a/media-libs/sdl2-mixer/sdl2-mixer-2.0.4.ebuild b/media-libs/sdl2-mixer/sdl2-mixer-2.0.4.ebuild index f16378bca0a5..7f066768f34e 100644 --- a/media-libs/sdl2-mixer/sdl2-mixer-2.0.4.ebuild +++ b/media-libs/sdl2-mixer/sdl2-mixer-2.0.4.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 MY_P="SDL2_mixer-${PV}" -inherit multilib-minimal +inherit autotools multilib-minimal DESCRIPTION="Simple Direct Media Layer Mixer Library" HOMEPAGE="https://www.libsdl.org/projects/SDL_mixer/" @@ -52,6 +52,19 @@ DEPEND="${RDEPEND}" S="${WORKDIR}/${MY_P}" +PATCHES=( + "${FILESDIR}/${PN}-2.0.4-slibtool.patch" +) + +src_prepare() { + default + + # for slibtool patch in 2.0.4, can drop in future with eautoreconf + rm aclocal.m4 || die + eautoreconf + multilib_copy_sources +} + multilib_src_configure() { local myeconfargs=( $(use_enable static-libs static) diff --git a/media-libs/spandsp/Manifest b/media-libs/spandsp/Manifest index 175e57b02f90..db67906b1a67 100644 --- a/media-libs/spandsp/Manifest +++ b/media-libs/spandsp/Manifest @@ -1,3 +1,3 @@ DIST spandsp-0.0.6.tar.gz 3309837 BLAKE2B 6ee95501473d5758c9ff96580bb51222f49a230dc6a5f52f5a852781cbb70079bb07f9d7224f5c7ea91c0dd617fa543a37518f68875c76a44b3be1415aece696 SHA512 16bb215ca89a39282e832403f69bc4c98ad3fe35ab3a6eb4731ee5029a6acd9b2df243c3701de845441cbdc16c88b3cd398ef15dc3502e45d5aeca8a161917d4 -EBUILD spandsp-0.0.6.ebuild 2008 BLAKE2B 35b8989abf82705f22aade783833e51c4e123b745f0a493034f63456f5270f032916c0938aaff8080dcbd61b1c7b16512966f9a17b428694b4b9d9be3e30dc78 SHA512 0ea943f719b67cf2dddbc4769bec04b3101254531d116a800659dcba99d00063c55db5b4893e0418b85c6ebdaa3f66110d13042944b340fe699e000c011c8dce +EBUILD spandsp-0.0.6.ebuild 1990 BLAKE2B 7665e0a1e4003e7f6c70331fdee881615df879f1f32272dbc8ff81ec53a4931a65cd458febf6e03ca700c4392f820858a7ca0b8f73f9f059e620266e3417a93e SHA512 9502da0b5fd038cdb6ed8e4f368ae1e6fc45d78ebe106f324653ed70b3be613da6f86a7b003050fcf920dcb52be4b6f63cf7a37662f12071fb0cdcf574a9af61 MISC metadata.xml 295 BLAKE2B fdbb4c9e5e6392277d1096f1a966b5ee26ed4f752bc77f1433c2bb97f9b7337f3ffde846baf8e1d2df797b01cd46e3a530427b8b83ab56697ede4172239c34ee SHA512 da977d763bedbbdbde4231bd708f3a9fa932241a6a88990884108a8d8309328a5ed80ecac0686ff0dd38a7efab246500e31f360af995611f4ecc60c61302acff diff --git a/media-libs/spandsp/spandsp-0.0.6.ebuild b/media-libs/spandsp/spandsp-0.0.6.ebuild index 26ce3e472a7c..f5989411a1b1 100644 --- a/media-libs/spandsp/spandsp-0.0.6.ebuild +++ b/media-libs/spandsp/spandsp-0.0.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -57,7 +57,7 @@ src_install() { if ! use static-libs; then # remove useless la file when not installing static lib - rm "${D}"/usr/$(get_libdir)/lib${PN}.la || die "rm failed" + find "${ED}" -name '*.la' -delete || die fi if use doc; then diff --git a/media-libs/sratom/Manifest b/media-libs/sratom/Manifest index 897a78b66f35..6886832905cf 100644 --- a/media-libs/sratom/Manifest +++ b/media-libs/sratom/Manifest @@ -1,5 +1,5 @@ DIST sratom-0.6.6.tar.bz2 347297 BLAKE2B 0cb1949486deb5e8f823b17c98fb415dc44b0cefece647b6c5b3646438736ee9c7afa617bb00a68d61a31c80f6e643758f48602f647655aa4b185b2cc5fff893 SHA512 ccc209af68a39c1a669ba694d250b292df2f588aeea2a9d1dfe54a23e31f032fcce1d99ebf9dd7cff80ce5aedd204c74e3ccc04d6cd239921cd3e443db83ed55 DIST sratom-0.6.8.tar.bz2 327027 BLAKE2B 8e11e03e6a66e9c96f90a0f31f4a65c660ed44304600caa2daad09b955a4829b266f7495b8ed85c62c34adfbc3e7f97790096bd721b51e1038986ac2e3926e60 SHA512 49ec4b230a72005ab7a7a3de0bfa630a27a16f9f811ca8e7f6da7fcf6b34526577217075d428a993f95b813dd2a82a9b6892eeb2e36b66b122ada778fbb3fb95 EBUILD sratom-0.6.6.ebuild 1207 BLAKE2B 6401aff2bb8d49dc156287886a37da05065e49bc1cb13f3e23d61e8d867c2b43b7cf51e9cf760e9254c82a4e6846dc77f0834d5552ae0c2dcbc753e5fb8a109e SHA512 d209123d39be88b8b2de3cbe84d5d931943068db4b6d1416be7d36df7f431ee80f63f3c24e6433c43824227df8e39a631dc9e34d70c7821cb822d0761e75336d -EBUILD sratom-0.6.8.ebuild 1277 BLAKE2B a62f206b78822f10186ef75662e0d7481610da728a4b477b6dc64e4bdf171f5c4c0bb2f78ad7b28b6fc22938a9e9a78f9d86a5b2aa48ea40437458bc9bbe5312 SHA512 9c114712ddea81fee880f40baae12d44b1cd977c6b044a76a9b4bda33dfa1a18b24d4874b5015ffa7538db168c1bea0bdbb2c1b685d2ca40aa2c6d44d09a70bf +EBUILD sratom-0.6.8.ebuild 1273 BLAKE2B 4bb0ab1e2622c04c077430cf5360e93ae8784e054abac49e54a7f324c1385e3dde751bb17e3637b8959acfd37b29ddd6bb8e34c1af643ac7960b7150de409daa SHA512 fc4b54ae1f05e427e3b8f6a321ac9cae59a49b9f2614d6480845ff5274f86e7060e524989a38f5560c5eb14f6649ca9c9b6421c6e7c46104dbb51a576e074933 MISC metadata.xml 255 BLAKE2B 7a492321189530430d5c71d5598f8a99b548e020d8ace46bb200f1f18abb3a59c4d0dff84c8dc1f78297137c25684d42386d793b84a02e2363fab4d6dcedd4fa SHA512 9e74b875aa129f5b8108121402291772fde4ac18a157dc60f7b3e19c318ee54cd1be54e283a68bc61562f2dc3f5b338b161028d673ff7baa267192ff3b7e8dc8 diff --git a/media-libs/sratom/sratom-0.6.8.ebuild b/media-libs/sratom/sratom-0.6.8.ebuild index ca089457cb44..eb91d0762f0e 100644 --- a/media-libs/sratom/sratom-0.6.8.ebuild +++ b/media-libs/sratom/sratom-0.6.8.ebuild @@ -13,7 +13,7 @@ SRC_URI="http://download.drobilla.net/${P}.tar.bz2" LICENSE="ISC" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86" IUSE="doc static-libs test" RESTRICT="!test? ( test )" diff --git a/media-libs/suil/Manifest b/media-libs/suil/Manifest index fa8c72058f8a..2873b123dc30 100644 --- a/media-libs/suil/Manifest +++ b/media-libs/suil/Manifest @@ -1,5 +1,3 @@ DIST suil-0.10.10.tar.bz2 339906 BLAKE2B 03d1ac744fa3fa487bbf44d6e006f6cfcc73dc4aa6eb79d1ac5d024dc9493e3e426ff6054705d1de514286b2d43f5a1448bfcf7e573fa95d61c41790ca06c405 SHA512 e442022096150b2f71d65bbd625e2e262cb3e3865c57f5a30f0472dac8ef90ad2fbbf67235823055019017e3751b46330f6e98b8e1745e5845eb02c4d2a4fc21 -DIST suil-0.10.8.tar.bz2 357003 BLAKE2B d5445a8a539d3aaca94141fe0a7bfce976db9602fcaa563d0e5661ce7d281ac48679110e5545d3a3aa4d3c488c5ce7a00f2f06bd67e56da26943885a71480648 SHA512 1d68996756ac593b2b2da6d9554e3257944cacbc8d70d90ded0f6ad5b5877778a08c779a12c7b4527d492f9c480613e030ab6933532f758e16221daa9d5c2dd4 -EBUILD suil-0.10.10.ebuild 1087 BLAKE2B 0753f3b0d59ae9e56d4cb92ee79d8d70bd89ba87a22e70bdd678c16b62fdf886346003639e2bc60a068979bfa7a942d1846e537395b6ca23ea425ec9a6b0aea2 SHA512 a9b9c757e78be221752f63441d4bd2ad27f21c585898ab24dfe5abcb8b2971da5bdf7d4d6ef1a25289a4d565888294466960f6ee2e4cf0101baad9797f5cad37 -EBUILD suil-0.10.8.ebuild 1033 BLAKE2B 3e698fb6bd09a3fd76fd9c538bd03af87fc59ce7eaa2864b9db93c07304d29d6651dd6ad8bd692a284f4b3d25c70a5e01f692996a6500ff81096339f2562fa6b SHA512 28f367ea81c46dd7324277ccc9a42881ef43e56a1de0ab74cce01cd717328f65ee266d9550c2360fe21067535d470a95b0f0fb21754560a25d016f1818a86323 +EBUILD suil-0.10.10.ebuild 1086 BLAKE2B 6c25bd0f3c1cc1dd73a9b0d6e4941525e7b4c30ae69962ea807826d5fcbcebd25ba45559159592df367428a6eace66453df2c0bea2ea9fa72ff89e73aea2c4c1 SHA512 1e6a7064805c5062182e9cbd5e1ac3036f9b27f24c844eb4e4608d6c4f1ad3f84a031460c0f4ba7ae3d464ee1616df2b4d62e07112eda939789e09903d38a28a MISC metadata.xml 491 BLAKE2B 8d423d4bd56c2fc586cac7dfeef9ba125799795a02f8f7303d1e657e83181ad68eae5e20cc75806fefbe1296f0eabc632fee3824b9b36e7ccef0a22e04fe4081 SHA512 c56784f3b84159aaa284b5b04ce4d2110d78acb536ea9dd60d5043199a061171dfd0272f4d810e7ac68025fb906cc021b36f099ea966bc87e0de8f57464a88c3 diff --git a/media-libs/suil/suil-0.10.10.ebuild b/media-libs/suil/suil-0.10.10.ebuild index eed4bf740f4c..49482f204a2f 100644 --- a/media-libs/suil/suil-0.10.10.ebuild +++ b/media-libs/suil/suil-0.10.10.ebuild @@ -14,7 +14,7 @@ SRC_URI="http://download.drobilla.net/${P}.tar.bz2" LICENSE="ISC" SLOT="0" -KEYWORDS="amd64 ~arm64 ppc ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ppc ppc64 x86" IUSE="doc gtk qt5" BDEPEND=" diff --git a/media-libs/suil/suil-0.10.8.ebuild b/media-libs/suil/suil-0.10.8.ebuild deleted file mode 100644 index c4d76652838b..000000000000 --- a/media-libs/suil/suil-0.10.8.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_{7,8,9} ) -PYTHON_REQ_USE='threads(+)' - -inherit flag-o-matic python-any-r1 waf-utils - -DESCRIPTION="Lightweight C library for loading and wrapping LV2 plugin UIs" -HOMEPAGE="http://drobilla.net/software/suil/" -SRC_URI="http://download.drobilla.net/${P}.tar.bz2" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="amd64 ~arm64 ppc ppc64 x86" -IUSE="doc gtk qt5" - -BDEPEND=" - virtual/pkgconfig - doc? ( app-doc/doxygen ) -" -CDEPEND=" - media-libs/lv2 - gtk? ( x11-libs/gtk+:2 ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - )" -RDEPEND="${CDEPEND}" -DEPEND=" - ${CDEPEND} - ${PYTHON_DEPS} -" - -DOCS=( AUTHORS NEWS README.md ) - -src_prepare() { - default - sed -i -e 's/^.*run_ldconfig/#\0/' wscript || die -} - -src_configure() { - waf-utils_src_configure \ - --mandir="${EPREFIX}/usr/share/man" \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" \ - --no-qt4 \ - $(usex gtk '' --no-gtk) \ - $(usex qt5 '' --no-qt5) \ - $(usex doc --docs '') -} diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest index 4d06adc6b743..95068778701f 100644 --- a/media-libs/tg_owt/Manifest +++ b/media-libs/tg_owt/Manifest @@ -1,5 +1,9 @@ +DIST libvpx-5b63f0f821e94f8072eb483014cfc33b05978bb9.tar.gz 5337558 BLAKE2B 795f613cee5efc4f6382b09063978b772ebb283fb1f5f621f5fbac018a6aca4721319de89dba02cf66202fe92bf9df681c27b94657a67acea66293b9cf3e1b0c SHA512 ad151972dc6077ddc520d7b6aa14d64e3183e010ceddd5acc6e2d9407f3476006a92461f61662b826feab623a65e748df60d5478af56bd657fbacbdb71dddec6 +DIST libyuv-ad890067f661dc747a975bc55ba3767fe30d4452.tar.gz 473845 BLAKE2B 664be51c166440e6b03fa98f65d907efc446800804058a5ea7fdf944e12cb1237a1487e83fbe9a2f1ce4c73521234e43632f921ad0333507737d81e1cb23ce8f SHA512 f97529b80a786e2e92443caabebd6d85a42641e10c3d2940b0f69bedf3b8a96c69c3247abddd059c4ddd6f78107ab7214222a4267a559fc2086c8edf5ea1afbc DIST tg_owt-0_pre20201105.tar.gz 18390526 BLAKE2B 115e93eb9dfd158779d2a521de9bca8cf0e0a38cff7d7a470b59d2941212a79cc7c33abf330c348ad70321486cd80d44644ceea61f9a86bbaee3ef6463a9e23d SHA512 de9d4490c3e68f17dd75e523596683395e67e91b51c5c7af61c0a51517779129cc965bc97d63b5054bdddb76d385ab33d6995d72b08316941fa2a72a93d1c3fa DIST tg_owt-0_pre20201112.tar.gz 18391959 BLAKE2B 85ad2880e9067daad94389708c0cb3638c090fa8281b8bf55d990dcdbf8eb898a70a930a0c0e904b0a682b9ebdb021134e18270ab760191b12cccba12dae95d5 SHA512 10f6ca1a6a82e9bd9af9e815b4d849fdace39332df61d32a9b706bffc3e8647b20f58e63a2fcc4e714e1480768ddd8f7ad21588f1e9762b3c056b205abfd5806 +DIST tg_owt-0_pre20210309.tar.gz 16159542 BLAKE2B 354992fca17f6217daa7294a8b60aa96f16b1198a07c79599ce676770cde068bf3ebf83c3935613ab181d4f7f23abbf2e4dd3ba41988b7505f27f537ada87fc2 SHA512 eca2c249d4837f8564218ea969390579b7f07c40879a80249310d978ba6d8865b85ec12e324fdba92af2d0b9bd501f2328fad5475028211013239dc35f508bb0 EBUILD tg_owt-0_pre20201105.ebuild 1110 BLAKE2B 08db203fac816c05d87217e9f188ef66d17ba838ff2180c7477ee69f5d9fd3795b18b1912e9aa71bcac79a080ef7cfec8fd4d206b02a8a49306a6a4e8d4e8df5 SHA512 284997626835d55edfa2628ddd789ec7bd80fd2f675106f9e87f76dc4617426cc73cc388bf7cd3470f6053f89b6b3bf3ec0248857a767cebec61a46c4eb1a17c -EBUILD tg_owt-0_pre20201112.ebuild 1111 BLAKE2B d2ce91fdc8b0e2e4e81133d69b636bb6739904f5a308f7d7173c84448ec52fc351c9411444ea92fb40d4fd55d33b189de5e7d56c5948d3e963cf62ba99834c86 SHA512 80f0e7a3096c52a170a7690ace4122f6945f41171d266f127e5fa3e743434c7f18b429064119b4d97dfde1a57cbdd3432d7f757caa1ee4768de9f6ed538b72d3 -MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 +EBUILD tg_owt-0_pre20201112.ebuild 1115 BLAKE2B 0b6ee35510c34969290b97a8928df3359b00a9628dadc7a4ef0f988fc08fd9022bd0fde6e4ccab22ab29c1dd7c455cf97c1259ebe3c1de7a76593bfc72ac6813 SHA512 4a123260cb17113443345b0b4916174461994b57ce8600e6b0cfafcc893cfe161ce79c13445ee39edcc25558107e7943f6fa30d7745ece8d74ff6500833a6b28 +EBUILD tg_owt-0_pre20210309-r1.ebuild 2573 BLAKE2B 17139fa4a6c405ed5e15680c1917d7ef1b6b4046be8824857e6cb1c0e1b5a418dd4f3e0a2ed8d293c6f74fad525ba5ce00213de3ee02fb0cf662e4e398f08fc1 SHA512 b612fbd2fe75f416a208fc2c2795519680829c374de543c1373ed5aafbef47e57567f3c4c7ad7580c1499a4b4e0c0d63ab0f59b7332ec3b23f5831ba845fb7e4 +MISC metadata.xml 409 BLAKE2B 1d4ff3a79885150e6c29f8eda10d9ded0bebf9635033a3e76bbda7f223767cac0627599537faeb2827e8424fa3791eae0244ac1033486900c0bfbf3448f14b79 SHA512 cd254c020f0e32e28d91bf1d404ccb631e837962f9fcbfddb0cea4a0e54d82076d90eea987f3bcdcd9e689fbafe069ee671005f8edf6b8acf45d8ba99a18eae2 diff --git a/media-libs/tg_owt/metadata.xml b/media-libs/tg_owt/metadata.xml index 7a38bb900964..631cf5ff785f 100644 --- a/media-libs/tg_owt/metadata.xml +++ b/media-libs/tg_owt/metadata.xml @@ -1,5 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person" proxied="yes"> + <email>esteve.varela@gmail.com</email> + <name>Esteve Varela Colominas</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> </pkgmetadata> diff --git a/media-libs/tg_owt/tg_owt-0_pre20201112.ebuild b/media-libs/tg_owt/tg_owt-0_pre20201112.ebuild index d962696ed699..51716d538a99 100644 --- a/media-libs/tg_owt/tg_owt-0_pre20201112.ebuild +++ b/media-libs/tg_owt/tg_owt-0_pre20201112.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz - LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~ppc64" +KEYWORDS="amd64 ~ppc64" IUSE="pulseaudio" # some things from this list are bundled diff --git a/media-libs/tg_owt/tg_owt-0_pre20210309-r1.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210309-r1.ebuild new file mode 100644 index 000000000000..579a610a5718 --- /dev/null +++ b/media-libs/tg_owt/tg_owt-0_pre20210309-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +TG_OWT_COMMIT="7f965710b93c4dadd7e6f1ac739e708694df7929" +LIBVPX_COMMIT="5b63f0f821e94f8072eb483014cfc33b05978bb9" +LIBYUV_COMMIT="ad890067f661dc747a975bc55ba3767fe30d4452" + +DESCRIPTION="WebRTC build for Telegram" +HOMEPAGE="https://github.com/desktop-app/tg_owt" +SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz -> ${P}.tar.gz + https://github.com/webmproject/libvpx/archive/${LIBVPX_COMMIT}.tar.gz -> libvpx-${LIBVPX_COMMIT}.tar.gz + https://archive.org/download/libyuv-${LIBYUV_COMMIT}.tar/libyuv-${LIBYUV_COMMIT}.tar.gz" +# Fetch libyuv archive from: https://chromium.googlesource.com/libyuv/libyuv/+archive/${LIBYUV_COMMIT}.tar.gz + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +IUSE="pulseaudio" + +# Bundled libs: +# - libvpx (media-libs/libvpx, requires git version, post v1.9.0) +# - libyuv (no stable versioning) +# - libsrtp (project uses private APIs) +# - pffft (no stable versioning, patched) +# Bundled libs that will be unbundled at a later date (upstream support is in the works): +# - net-libs/usrsctp +# - dev-libs/libevent:= +# - dev-cpp/abseil-cpp +# - media-libs/openh264:= +# dev-lang/yasm is required for libvpx +# media-libs/libjpeg-turbo is required for libyuv +DEPEND=" + dev-libs/openssl:= + dev-libs/protobuf:= + media-libs/alsa-lib + media-libs/libjpeg-turbo:= + media-libs/opus + media-video/ffmpeg:= + x11-libs/libXtst + !pulseaudio? ( media-sound/apulse[sdk] ) + pulseaudio? ( media-sound/pulseaudio ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig + amd64? ( dev-lang/yasm ) +" + +S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}" + +src_unpack() { + unpack "${P}.tar.gz" + unpack "libvpx-${LIBVPX_COMMIT}.tar.gz" + mv -T "libvpx-${LIBVPX_COMMIT}" "$S/src/third_party/libvpx/source/libvpx" || die + cd "$S/src/third_party/libyuv" || die + unpack "libyuv-${LIBYUV_COMMIT}.tar.gz" +} + +src_prepare() { + # Can cause race conditions when no webcam is available or webcam is blocked + # See https://bugs.debian.org/982556 + sed -i -e 's/#ifndef NO_MAIN_THREAD_WRAPPING/#if 0/' src/rtc_base/thread.cc || die + + # Causes forced inclusion of SSE2, so we strip it out on x86* arches + # https://github.com/desktop-app/tg_owt/pull/57 + if ! use amd64 && ! use x86; then + sed -i '/modules\/desktop_capture/d' CMakeLists.txt || die + fi + + cmake_src_prepare +} + +src_configure() { + # Defined by -DCMAKE_BUILD_TYPE=Release, avoids crashes + # see https://bugs.gentoo.org/754012 + append-cppflags '-DNDEBUG' + + append-flags '-fPIC' + cmake_src_configure +} |