summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-19 12:25:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-19 12:25:21 +0100
commit1f3e27f8fde0df9246ce9151ced7d2dd4e96cb07 (patch)
tree2ccd1e9121906f2bccf218e14e3ca943a2b84bf3 /media-libs
parent16be64511bd21e32a29645b49e37611507709790 (diff)
gentoo auto-resync : 19:08:2024 - 12:25:21
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/Manifest.gzbin69307 -> 69472 bytes
-rw-r--r--media-libs/glycin-loaders/Manifest3
-rw-r--r--media-libs/glycin-loaders/glycin-loaders-1.1_beta.ebuild82
-rw-r--r--media-libs/glycin-loaders/metadata.xml11
-rw-r--r--media-libs/xvid/Manifest5
-rw-r--r--media-libs/xvid/xvid-1.3.7-r1.ebuild4
-rw-r--r--media-libs/xvid/xvid-1.3.7-r2.ebuild69
-rw-r--r--media-libs/xvid/xvid-1.3.7.ebuild4
8 files changed, 172 insertions, 6 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz
index 3df534011a97..c8df1d10f228 100644
--- a/media-libs/Manifest.gz
+++ b/media-libs/Manifest.gz
Binary files differ
diff --git a/media-libs/glycin-loaders/Manifest b/media-libs/glycin-loaders/Manifest
new file mode 100644
index 000000000000..57aa5b4cd877
--- /dev/null
+++ b/media-libs/glycin-loaders/Manifest
@@ -0,0 +1,3 @@
+DIST glycin-1.1.beta.tar.xz 28597076 BLAKE2B 94e0172de27ce1a1cbbaba6ee5d3792b8a05a2f192598a03f61dc7cdacbdb2927ad3b19158ae30c63fe73916edab0c24a3d547ec4d8c7adbf63b7cce8cc81704 SHA512 a5534546f58508a033b00ad798536e0342c0d3f2108464f3c58bc0c7e23aeebf9687e6b2717c0edf35e3f88177c8bd281ab8f5e82377adec096396ce8c4e8eb2
+EBUILD glycin-loaders-1.1_beta.ebuild 1723 BLAKE2B f0e06237380da76e25129096769faa9cc80bb9a06fda198522093d580bd6431f5409e506e80859ba773113deebd8f572570238e61bd27cb22147a452fdfc77be SHA512 4d215b5c34adcae9a797a9b816eb6869481c9835bf2f3f5cee80a5b7cd8f875a1fad7364f2875a8be9fc3e65fe030e17b1dc1b28dc205d1d212b25e807e13699
+MISC metadata.xml 334 BLAKE2B 40a37360358b501628e64a2278652edb17a57432f8dc36dd6c585761f59cbdaaa284760e27d9a33b8e7aa27e916df3112601b0b6141940a6b4aae4138af64883 SHA512 06b70f17068f327d4412a798b938e65ced583ab6e63e2dfc66135d8fa7f7e32316f53c1c2dc65a9482222a64fe8398929705bb16579cfd3ee5b2aa677db7dc1a
diff --git a/media-libs/glycin-loaders/glycin-loaders-1.1_beta.ebuild b/media-libs/glycin-loaders/glycin-loaders-1.1_beta.ebuild
new file mode 100644
index 000000000000..349d971f98c1
--- /dev/null
+++ b/media-libs/glycin-loaders/glycin-loaders-1.1_beta.ebuild
@@ -0,0 +1,82 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cargo meson
+
+MY_P=glycin-${PV/_/.}
+DESCRIPTION="Loaders for glycin clients (glycin crate or libglycin)"
+HOMEPAGE="https://gitlab.gnome.org/sophie-h/glycin/"
+SRC_URI="
+ https://download.gnome.org/sources/glycin/$(ver_cut 1-2)/${MY_P}.tar.xz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="|| ( LGPL-2.1+ MPL-2.0 )"
+# Dependent crate licenses
+LICENSE+="
+ Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD GPL-3+ ISC MIT
+ Unicode-DFS-2016
+ || ( LGPL-2.1+ MPL-2.0 )
+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="heif jpegxl svg test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/glib-2.60:2
+ >=sys-libs/libseccomp-2.5.0
+ heif? ( >=media-libs/libheif-1.17.0:= )
+ jpegxl? ( >=media-libs/libjxl-0.10.0:= )
+ svg? (
+ >=gnome-base/librsvg-2.52.0:2
+ >=x11-libs/cairo-1.17.0
+ )
+"
+DEPEND="
+ ${RDEPEND}
+ test? (
+ >=gui-libs/gtk-4.12.0:4
+ >=media-libs/lcms-2.14:2
+ )
+"
+
+ECARGO_VENDOR=${S}/vendor
+
+QA_FLAGS_IGNORED="usr/libexec/glycin-loaders/.*"
+
+src_prepare() {
+ default
+
+ # https://gitlab.gnome.org/sophie-h/glycin/-/issues/81
+ sed -i -e '\|/fonts|d' tests/tests.rs || die
+}
+
+src_configure() {
+ local formats=(
+ $(usev heif glycin-heif)
+ $(usev jpegxl glycin-jxl)
+ $(usev svg glycin-svg)
+ glycin-image-rs
+ )
+ local formats_s=${formats[*]}
+ local emesonargs=(
+ -Dprofile=$(usex debug release dev)
+ -Dglycin-loaders=true
+ -Dloaders="${formats_s// /,}"
+ -Dtests=$(usex test true false)
+ -Dlibglycin=false
+ )
+
+ meson_src_configure
+ ln -s "${CARGO_HOME}" "${BUILD_DIR}/cargo-home" || die
+}
+
+src_test() {
+ # tests write to /proc/*/uid_map
+ # apparently, "addpredict /" in Portage breaks it
+ local -x SANDBOX_ON=0
+ meson_src_test
+}
diff --git a/media-libs/glycin-loaders/metadata.xml b/media-libs/glycin-loaders/metadata.xml
new file mode 100644
index 000000000000..52ff5d43ffe7
--- /dev/null
+++ b/media-libs/glycin-loaders/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">sophie-h/glycin</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-libs/xvid/Manifest b/media-libs/xvid/Manifest
index 0d485cde6aa0..4a66f1542f48 100644
--- a/media-libs/xvid/Manifest
+++ b/media-libs/xvid/Manifest
@@ -1,4 +1,5 @@
DIST xvidcore-1.3.7.tar.bz2 698615 BLAKE2B 19bea63226c2223e74e5202d3b671c5b292c03ce5de240df7d8ce34101de4036b28fad516b2a56712a099819b905e68922fa83a01fbe4f200dc880ca56c10a96 SHA512 e2b22e7a7e103af7adcc999d95484f991a0a33df02b912fe042b2e23d2af07381c737d23158dbf0fad770ee680572f86fbe04ab2ef33c81e2e0180ead2acc8ed
-EBUILD xvid-1.3.7-r1.ebuild 1603 BLAKE2B 3c160fb540afdc9a9778dcce7e7a270ffea26eabc688be7a5f343e8bf5ff2f7d1b88566a8afca48ca4d3b95f8d2ee04be7b972f655c9169097f192dd99127bae SHA512 e8552e6c5f5e018f91704095938d10c35890a3f8e070150223176d17f86e9c93648a6714beed731b81de1a4bc32844f31dda41651760b61449004bcaf6ab1da8
-EBUILD xvid-1.3.7.ebuild 1614 BLAKE2B bb640faf1d426b9bc92031e577871891ab9c5117d19a1ef90312a072663333f4e9b487304ae63559049fddc53bc0b65e0e2472ce4b9fc6aff472ec9734d6256d SHA512 90c45f17e624997e44786fa27a3ff220e9fccf6ee2d3149d8cab0aa06d393db28d760ea6730b694a41d97443e5d5c1fc1922fa65474c977032b4622649bf8fbe
+EBUILD xvid-1.3.7-r1.ebuild 1633 BLAKE2B 58143c2f59f96bb121a84360643cf0703888e228e1a342152315b7e7bdaa27d1d1d8a6e120b6421dcb3e2ea46c436e8b055df221aed5d65ebca780356b809a64 SHA512 9ff24d6ad00e643e987a4025802839047b9adae980d5e758e81879ecddc58adcb139dd38d350f85a3b9425e575c2c4324e57431be6cfe382e05984c2111cc053
+EBUILD xvid-1.3.7-r2.ebuild 1640 BLAKE2B 30777023307f9bb16a6c6992c70a8271d66429162394852e1d3f128c14c66cda10f3c24668db7759326924a9ed6b753ce1abe11f50c3f57524fe626021957b14 SHA512 1362a1da83d8ab7c2c11d99c74cb5f9fc99408630b7e0ac7d66031569c84b4fec1b7ed43cd0a77942d9708164b73c2f374432a223ff47b6be43c0a1fc45b5ef4
+EBUILD xvid-1.3.7.ebuild 1644 BLAKE2B 1509869d644725b083124f96eaa958b801a89fe648f763dcdb2842b8ab09267f50315b2865ac87cf2ab885f923d7456f9c8d21dc4083b0f90a050fb3de9e848c SHA512 d4ea5274d0b33212377958140eec8ba8e946e2e8275e216c1a3dacada464923a29ab7496869c9d02eae92a4e042a2433c3920bd0d526671486376eefdf1493f7
MISC metadata.xml 322 BLAKE2B 841709000ce38ec97e44a9223e6458abf57618d1f858f31d2a31ac190495fa558f4b7d9220b11566dfd927643480001bd14dda9497fe3fc1f8aeba38ce4f3822 SHA512 a9ce57b28bae87e53a402ac2ff8ac3dc6c8011fd72d528c371b4b9107613a81829986646940140862e0ff7ce475773b35da771a5fa043e0ced9a34111204891e
diff --git a/media-libs/xvid/xvid-1.3.7-r1.ebuild b/media-libs/xvid/xvid-1.3.7-r1.ebuild
index 27a7dba1457a..df98962a51e2 100644
--- a/media-libs/xvid/xvid-1.3.7-r1.ebuild
+++ b/media-libs/xvid/xvid-1.3.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -8,7 +8,7 @@ MY_P="${MY_PN}-${PV}"
inherit flag-o-matic multilib-minimal
DESCRIPTION="High performance/quality MPEG-4 video de-/encoding solution"
-HOMEPAGE="https://www.xvid.org/"
+HOMEPAGE="https://labs.xvid.com/source/ https://www.xvid.org/"
SRC_URI="https://downloads.xvid.com/downloads/${MY_P}.tar.bz2"
LICENSE="GPL-2"
diff --git a/media-libs/xvid/xvid-1.3.7-r2.ebuild b/media-libs/xvid/xvid-1.3.7-r2.ebuild
new file mode 100644
index 000000000000..058d55df86ea
--- /dev/null
+++ b/media-libs/xvid/xvid-1.3.7-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN}core"
+MY_P="${MY_PN}-${PV}"
+inherit flag-o-matic multilib-minimal
+
+DESCRIPTION="High performance/quality MPEG-4 video de-/encoding solution"
+HOMEPAGE="https://labs.xvid.com/source/ https://www.xvid.org/"
+SRC_URI="https://downloads.xvid.com/downloads/${MY_P}.tar.bz2"
+S="${WORKDIR}/${MY_PN}/build/generic"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="examples"
+
+NASM=">=dev-lang/nasm-2"
+YASM=">=dev-lang/yasm-1"
+
+BDEPEND="sys-apps/grep"
+DEPEND="
+ amd64? ( || ( ${YASM} ${NASM} ) )
+ x86? ( || ( ${YASM} ${NASM} ) )
+ x64-macos? ( ${NASM} )
+"
+
+src_prepare() {
+ default
+
+ # make build verbose
+ sed \
+ -e 's/@$(CC)/$(CC)/' \
+ -e 's/@$(AS)/$(AS)/' \
+ -e 's/@$(RM)/$(RM)/' \
+ -e 's/@$(INSTALL)/$(INSTALL)/' \
+ -e 's/@cd/cd/' \
+ -e '/\$(libdir)\/\$(STATIC_LIB)/d' \
+ -e 's/\$(BUILD_DIR)\/\$(STATIC_LIB)//g' \
+ -e 's/info \$(STATIC_LIB)/info/g' \
+ -i Makefile || die
+ # Since only the build system is in $S, this will only copy it but not the
+ # entire sources.
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ use sparc && append-cflags -mno-vis #357149
+
+ local myconf=(
+ --enable-pthread
+ # On x86, only available for mmx+sse2 and non-PIC.
+ # Not worth it.
+ --disable-assembly
+ )
+
+ econf "${myconf[@]}"
+}
+
+multilib_src_install_all() {
+ dodoc "${S}"/../../{AUTHORS,ChangeLog*,CodingStyle,README,TODO}
+
+ if use examples; then
+ insinto /usr/share/${PN}
+ doins -r "${S}"/../../examples
+ fi
+}
diff --git a/media-libs/xvid/xvid-1.3.7.ebuild b/media-libs/xvid/xvid-1.3.7.ebuild
index db2a26ff37be..bef9c36bae6e 100644
--- a/media-libs/xvid/xvid-1.3.7.ebuild
+++ b/media-libs/xvid/xvid-1.3.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -8,7 +8,7 @@ MY_P="${MY_PN}-${PV}"
inherit flag-o-matic multilib-minimal
DESCRIPTION="High performance/quality MPEG-4 video de-/encoding solution"
-HOMEPAGE="https://www.xvid.org/"
+HOMEPAGE="https://labs.xvid.com/source/ https://www.xvid.org/"
SRC_URI="https://downloads.xvid.com/downloads/${MY_P}.tar.bz2"
LICENSE="GPL-2"