commit: 5261ce2afc6bf66db5956ce4cea37850fa3b48d4 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sun Jul 27 17:36:28 2025 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sun Jul 27 17:36:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5261ce2a
media-libs/oneVPL-cpu: treeclean Closes: https://bugs.gentoo.org/956601 (pkgremoved) Closes: https://bugs.gentoo.org/930253 (pkgremoved) Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> media-libs/oneVPL-cpu/Manifest | 1 - .../oneVPL-cpu-2022.2.5-respect-user-flags.patch | 13 ----- .../oneVPL-cpu-2022.2.5-use-system-libs.patch | 49 ------------------- media-libs/oneVPL-cpu/metadata.xml | 17 ------- .../oneVPL-cpu/oneVPL-cpu-2023.2.0-r2.ebuild | 56 ---------------------- profiles/package.mask | 6 --- 6 files changed, 142 deletions(-) diff --git a/media-libs/oneVPL-cpu/Manifest b/media-libs/oneVPL-cpu/Manifest deleted file mode 100644 index 0179b5977a6a..000000000000 --- a/media-libs/oneVPL-cpu/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST oneVPL-cpu-2023.2.0.tar.gz 10140311 BLAKE2B eacd9bdc30939c7701453b6cff051de0fddf810792cd6f2db027342f7756fa289ddb2571fab920c87fa51b09241cbf65fd13cbcd3840080ba15917a90dd0e992 SHA512 1b2755e384c3cfb88e2046d02f4414a51485cbc6fa4ce9c9aa9b48c0eb21a96e49d21640bc259dc8b9dafa76afa4d1619c6660e0d1757fcd2625a27e46553328 diff --git a/media-libs/oneVPL-cpu/files/oneVPL-cpu-2022.2.5-respect-user-flags.patch b/media-libs/oneVPL-cpu/files/oneVPL-cpu-2022.2.5-respect-user-flags.patch deleted file mode 100644 index 59aad21af7f3..000000000000 --- a/media-libs/oneVPL-cpu/files/oneVPL-cpu-2022.2.5-respect-user-flags.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 981574e..7bdf346 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -72,8 +72,6 @@ set(CMAKE_POSITION_INDEPENDENT_CODE true) - # Keep executable bits on shared objects when installing regardless of distro - set(CMAKE_INSTALL_SO_NO_EXE 0) - --include(cmake/CompileOptions.cmake) -- - if(NOT BUILD_GPL_X264) - if(CMAKE_SIZEOF_VOID_P EQUAL 8) - set(BUILD_OPENH264 ON) diff --git a/media-libs/oneVPL-cpu/files/oneVPL-cpu-2022.2.5-use-system-libs.patch b/media-libs/oneVPL-cpu/files/oneVPL-cpu-2022.2.5-use-system-libs.patch deleted file mode 100644 index aa9363a65e83..000000000000 --- a/media-libs/oneVPL-cpu/files/oneVPL-cpu-2022.2.5-use-system-libs.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff --git a/cpu/ext/ffmpeg-codecs/CMakeLists.txt b/cpu/ext/ffmpeg-codecs/CMakeLists.txt -index 7bde28b..c8067c4 100644 ---- a/cpu/ext/ffmpeg-codecs/CMakeLists.txt -+++ b/cpu/ext/ffmpeg-codecs/CMakeLists.txt -@@ -38,9 +38,9 @@ endif() - - # Set basic FFmpeg and codec libs - if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "8") -- set(SVTHEVCENC_LIB ${VPL_DEP_DIR}/lib/libSvtHevcEnc.a) -- set(SVTAV1ENC_LIB ${VPL_DEP_DIR}/lib/libSvtAv1Enc.a) -- set(DAV1D_LIB ${VPL_DEP_DIR}/lib/libdav1d.a) -+ set(SVTHEVCENC_LIB ${VPL_DEP_DIR}/lib64/libSvtHevcEnc.so) -+ set(SVTAV1ENC_LIB ${VPL_DEP_DIR}/lib64/libSvtAv1Enc.so) -+ set(DAV1D_LIB ${VPL_DEP_DIR}/lib64/libdav1d.so) - - if(NOT EXISTS ${SVTHEVCENC_LIB} - OR NOT EXISTS ${SVTAV1ENC_LIB} -@@ -49,10 +49,10 @@ if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "8") - endif() - endif() - --set(AVCODEC_LIB ${VPL_DEP_DIR}/lib/libavcodec.a) --set(AVUTIL_LIB ${VPL_DEP_DIR}/lib/libavutil.a) --set(AVFILTER_LIB ${VPL_DEP_DIR}/lib/libavfilter.a) --set(SWSCALE_LIB ${VPL_DEP_DIR}/lib/libswscale.a) -+set(AVCODEC_LIB ${VPL_DEP_DIR}/lib64/libavcodec.so) -+set(AVUTIL_LIB ${VPL_DEP_DIR}/lib64/libavutil.so) -+set(AVFILTER_LIB ${VPL_DEP_DIR}/lib64/libavfilter.so) -+set(SWSCALE_LIB ${VPL_DEP_DIR}/lib64/libswscale.so) - - if(NOT EXISTS ${AVCODEC_LIB} - OR NOT EXISTS ${AVUTIL_LIB} -@@ -135,14 +135,14 @@ endif() - - # Set AVC encoder lib name - if(BUILD_GPL_X264) -- set(H264_ENC_LIB ${VPL_DEP_DIR}/lib/libx264.a) -+ set(H264_ENC_LIB ${VPL_DEP_DIR}/lib64/libx264.so) - if(NOT EXISTS ${H264_ENC_LIB}) - message(FATAL_ERROR "Could not find x264 libraries") - else() - message(STATUS "Building with GPL x264 for AVC implementation") - endif() - elseif(BUILD_OPENH264) -- set(H264_ENC_LIB ${VPL_DEP_DIR}/lib/libopenh264.a) -+ set(H264_ENC_LIB ${VPL_DEP_DIR}/lib64/libopenh264.so) - if(NOT EXISTS ${H264_ENC_LIB}) - message(FATAL_ERROR "Could not find openh264 libraries") - else() diff --git a/media-libs/oneVPL-cpu/metadata.xml b/media-libs/oneVPL-cpu/metadata.xml deleted file mode 100644 index 570d9c127e33..000000000000 --- a/media-libs/oneVPL-cpu/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>[email protected]</email> - </maintainer> - <maintainer type="person"> - <email>[email protected]</email> - <name>Nowa Ammerlaan</name> - </maintainer> - <upstream> - <remote-id type="github">oneapi-src/oneVPL-cpu</remote-id> - </upstream> - <use> - <flag name="openh264">Use <pkg>media-libs/openh264</pkg> instead of <pkg>media-libs/x264</pkg></flag> - </use> -</pkgmetadata> diff --git a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0-r2.ebuild b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0-r2.ebuild deleted file mode 100644 index be3b52aaba9a..000000000000 --- a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0-r2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="oneAPI Video Processing Library CPU implementation" -HOMEPAGE="https://github.com/oneapi-src/oneVPL-cpu" -SRC_URI="https://github.com/oneapi-src/oneVPL-cpu/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT x264? ( GPL-2 )" -SLOT="0" -KEYWORDS="~amd64" - -IUSE="openh264 test +x264" -REQUIRED_USE="^^ ( openh264 x264 )" -# RESTRICT="!test? ( test )" -# Tests fail -RESTRICT="test" - -BDEPEND="virtual/pkgconfig" -DEPEND=" - media-libs/dav1d:= - media-libs/libvpl:= - media-libs/svt-av1:= - media-libs/svt-hevc:= - media-video/ffmpeg:= - x264? ( media-libs/x264:= ) - openh264? ( media-libs/openh264:= ) -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-2022.2.5-use-system-libs.patch" - "${FILESDIR}/${PN}-2022.2.5-respect-user-flags.patch" -) - -src_configure() { - # Use system libraries - export VPL_BUILD_DEPENDENCIES="${ESYSROOT}/usr" - local mycmakeargs=( - -DBUILD_OPENH264="$(usex openh264)" - -DBUILD_TESTS="$(usex test)" - -DBUILD_GPL_X264="$(usex x264)" - # Use FHS instead - -DUSE_ONEAPI_INSTALL_LAYOUT=NO - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - # Remove these license files - rm -r "${ED}/usr/share/oneVPL-cpu/licensing" || die -} diff --git a/profiles/package.mask b/profiles/package.mask index 516ec4836761..47f9969d0d5d 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -262,12 +262,6 @@ dev-libs/urdfdom_headers # Breaks some reverse dependencies and is abandoned upstream (bug #956630). =dev-cpp/glog-0.7.1 -# Nowa Ammerlaan <[email protected]> (2025-05-25) -# Archived upstream and no longer builds with modern compilers. -# Bugs #956601, #930253 -# Removal on 2025-06-24 -media-libs/oneVPL-cpu - # Sam James <[email protected]> (2025-05-23) # Severe memory leak (bug #953874) =app-i18n/ibus-anthy-1.5.17
