summaryrefslogtreecommitdiff
path: root/media-libs/libde265
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-11 06:06:37 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-11 06:06:37 +0000
commit81e061dafc8bba274946b1e96d43863977187080 (patch)
tree2a1736798a46b4dd6357b975082a7c98150008ac /media-libs/libde265
parent2e027f251732a168e55984da9d843155dca675c6 (diff)
gentoo auto-resync : 11:03:2023 - 06:06:37
Diffstat (limited to 'media-libs/libde265')
-rw-r--r--media-libs/libde265/Manifest4
-rw-r--r--media-libs/libde265/libde265-1.0.11.ebuild95
-rw-r--r--media-libs/libde265/libde265-9999.ebuild7
3 files changed, 101 insertions, 5 deletions
diff --git a/media-libs/libde265/Manifest b/media-libs/libde265/Manifest
index 4a6d54ba2c4b..99735d85d50a 100644
--- a/media-libs/libde265/Manifest
+++ b/media-libs/libde265/Manifest
@@ -1,7 +1,9 @@
AUX libde265-1.0.2-qtbindir.patch 1798 BLAKE2B 22e15a1d4dfe7f602c9b13611c17d4d6be396b1cb9d4d4690c43cb85cf6c21f64cde98e01b52551216612cf349f2fe74d59252b99a202cce7041d3c2b6a33dde SHA512 34b6efa56943e50d76c21e6911afff9c45e97d5608cfa5d3a53432bf2bf40f4fc6873d8c426b1a714542a6468670be2a710190191e5e1fe01c5e7dedf75f567c
+DIST libde265-1.0.11.tar.gz 845996 BLAKE2B 91711132757a10f0f277800525ee6f6a3902604cc969b8756232b15b581d830951d70bccd57d7731b3ad670a3b7a0d2c22e9578f3763da65b3cdeb016422568b SHA512 2ce28558c66e20714c07bf3011bc10dccabb770649903616bc32f1c4f18beba559ef7e0e42365ead77d7e813316b8c051039dc393cd351221cbab7248b3fa34c
DIST libde265-1.0.8.tar.gz 381963 BLAKE2B 0577623de2ef86e1122b5b5c3642a750bb222c4988a996168e060e8ffd9f5c0787d31331cc8738362d3fc3fb31e8eb659629cab068f0ff1c71de9d15ed1f2ceb SHA512 0007138cb5da0d4cad1e118c01de249580f39c387a11f490d1e1f63ad0968ee2f7951e54580f298b3dbe31e5a3d1a7fa04454e11cbb82beaf8a9aaf56f5532ed
DIST libde265-1.0.9.tar.gz 845520 BLAKE2B 155a0ac1e14c568c0fb559beb89f3bbde67239ae2ac13dda5ad30d36b59a79d68f399c8d8192ad5190cb8286b03ab03714a9cf89ac139264773c4ff368a97b7e SHA512 225f9aa25eb6565ebf4f549d9d427ae278c4f6f67c76c51bcad79188faac0f5c93e9538357b264a7e2e9043014ccbc07750fb7d1ce1e7bb87fe2e0d1782cba61
+EBUILD libde265-1.0.11.ebuild 2353 BLAKE2B 44f6508ef163fe2460cc65c8c683c092db0187160aa8488688148f907b66578f91daedf7c76daa73e34fc1d3c696ee85be499654aff8c5e67c6c6cbdeeb0ced8 SHA512 2aaf854b6f3a8fbf8f1025c7d9d78cb837547c8f68e682e497e58eb0489272176923344b768efc56933f74ecbc2ba562d0cc8f4b5e5586845e1fc6ff8fd577b3
EBUILD libde265-1.0.8.ebuild 2364 BLAKE2B 49964dcb953a5929eb6f6b627b6414cbd8728bb96bcfee69d1462106615acf1174df3ff455ab0df69c1f643dfd5e679246e76ffc4582d6c1f925a84ee4a8c873 SHA512 22a54b3f780bac8067388d80e86b65103abf6fed5ddf34b124f655a69c0250caf37e75301c776c6537a28b76c9717e5721b36913ee21b57b7b5bafe1a084c2e1
EBUILD libde265-1.0.9.ebuild 2367 BLAKE2B b7efc67e9d5701501655bb99765d9aa8960ddc1036dc83fe0df6e1cf649de00cb7b45f4ebd41bb728e9a27d7078780f35563f302993fc4b6c8733cb2d6fc4cf3 SHA512 320c77ce42b7e9380ef84fffe768c135f672d353779def0da2b8e577a9d0e4bf1245ca88b4bd817ed742e331faedaf7537bc40abb338f65c82884e2012d2bc20
-EBUILD libde265-9999.ebuild 2369 BLAKE2B 5a20aff777a2d245da2cac8cfe139c0bec3a1002b751ac2265d4d5a172d2b6a81c62abbfb5adc829b2cd2be555d97fcf0163bcaec07adad580b10a44db01c431 SHA512 8d477000a4944fabdb2ec2cee6c3bf240e63422c1821b75878c3c34c410835aa96cab4e05f49e87cb9a2617912bed2589e4bafc07d83b6d88e91711db9aa1e71
+EBUILD libde265-9999.ebuild 2353 BLAKE2B 44f6508ef163fe2460cc65c8c683c092db0187160aa8488688148f907b66578f91daedf7c76daa73e34fc1d3c696ee85be499654aff8c5e67c6c6cbdeeb0ced8 SHA512 2aaf854b6f3a8fbf8f1025c7d9d78cb837547c8f68e682e497e58eb0489272176923344b768efc56933f74ecbc2ba562d0cc8f4b5e5586845e1fc6ff8fd577b3
MISC metadata.xml 661 BLAKE2B 784b7d045c910e3242b8922f7851d489176d5e8ba2cef080ee5f250d37f407b56c7646301ee5a185eac4a5dad496b19be56e429d80343b7cdd9b762ffb361b55 SHA512 e4ad3770eaf5a8d961bee58d11c91c15235e028cb2e51d10a8b007d0b6444777c21eb4a7a846a538616231915f19df981296ea22d65f68ff5806b71bb2b4a0ce
diff --git a/media-libs/libde265/libde265-1.0.11.ebuild b/media-libs/libde265/libde265-1.0.11.ebuild
new file mode 100644
index 000000000000..ca34a4a3dccb
--- /dev/null
+++ b/media-libs/libde265/libde265-1.0.11.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools multilib-minimal
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/strukturag/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/strukturag/libde265/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+fi
+
+DESCRIPTION="Open h.265 video codec implementation"
+HOMEPAGE="https://github.com/strukturag/libde265"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="enc265 dec265 sdl tools debug cpu_flags_x86_sse4_1 cpu_flags_arm_neon cpu_flags_arm_thumb"
+# IUSE+=" sherlock265" # Require libvideogfx or libswscale
+
+RDEPEND="
+ dec265? (
+ sdl? ( media-libs/libsdl )
+ )"
+
+# Sherlock265 require libvideogfx or libswscale
+#RDEPEND+="
+# sherlock265? (
+# media-libs/libsdl
+# dev-qt/qtcore:5
+# dev-qt/qtgui:5
+# dev-qt/qtwidgets:5
+# media-libs/libswscale
+# )
+#"
+
+DEPEND="${RDEPEND}"
+BDEPEND="dec265? ( virtual/pkgconfig )"
+
+# Sherlock265 require libvideogfx or libswscale
+#BDEPEND+=" sherlock265? ( virtual/pkgconfig )"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.0.2-qtbindir.patch )
+
+src_prepare() {
+ default
+
+ eautoreconf
+
+ # without this, headers would be missing and make would fail
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ --enable-log-error
+ ax_cv_check_cflags___msse4_1=$(usex cpu_flags_x86_sse4_1)
+ ax_cv_check_cflags___mfpu_neon=$(usex cpu_flags_arm_neon)
+ $(use_enable cpu_flags_arm_thumb thumb)
+ $(use_enable debug log-info)
+ $(use_enable debug log-debug)
+ $(use_enable debug log-trace)
+ $(multilib_native_use_enable enc265 encoder)
+ $(multilib_native_use_enable dec265)
+ )
+
+ # myeconfargs+=( $(multilib_native_use_enable sherlock265) ) # Require libvideogfx or libswscale
+ myeconfargs+=( --disable-sherlock265 )
+
+ econf "${myeconfargs[@]}"
+}
+
+multilib_src_install() {
+ default
+
+ if multilib_is_native_abi; then
+ # Remove useless, unready and test tools
+ rm "${ED}"/usr/bin/{tests,gen-enc-table,yuv-distortion} || die
+ if ! use tools; then
+ rm "${ED}"/usr/bin/{bjoentegaard,block-rate-estim,rd-curves} || die
+ rm "${ED}"/usr/bin/acceleration_speed || die
+ fi
+ else
+ # Remove all non-native binary tools
+ rm "${ED}"/usr/bin/* || die
+ fi
+}
+
+multilib_src_install_all() {
+ find "${ED}" -name '*.la' -delete || die
+ einstalldocs
+}
diff --git a/media-libs/libde265/libde265-9999.ebuild b/media-libs/libde265/libde265-9999.ebuild
index 4146cf2ae597..ca34a4a3dccb 100644
--- a/media-libs/libde265/libde265-9999.ebuild
+++ b/media-libs/libde265/libde265-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools multilib-minimal
@@ -9,7 +9,7 @@ if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/strukturag/${PN}.git"
inherit git-r3
else
- SRC_URI="https://github.com/strukturag/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/strukturag/libde265/releases/download/v${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
fi
@@ -56,7 +56,6 @@ src_prepare() {
multilib_src_configure() {
local myeconfargs=(
- --disable-static
--enable-log-error
ax_cv_check_cflags___msse4_1=$(usex cpu_flags_x86_sse4_1)
ax_cv_check_cflags___mfpu_neon=$(usex cpu_flags_arm_neon)