From 616579b5d773c50af31ee56f00105d96ce641ca2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Aug 2021 10:30:13 +0100 Subject: gentoo resync : 14.08.2021 --- media-video/transcode/Manifest | 2 +- media-video/transcode/transcode-1.1.7-r5.ebuild | 144 ------------------------ media-video/transcode/transcode-1.1.7-r6.ebuild | 144 ++++++++++++++++++++++++ 3 files changed, 145 insertions(+), 145 deletions(-) delete mode 100644 media-video/transcode/transcode-1.1.7-r5.ebuild create mode 100644 media-video/transcode/transcode-1.1.7-r6.ebuild (limited to 'media-video/transcode') diff --git a/media-video/transcode/Manifest b/media-video/transcode/Manifest index 1962cd2c93a7..42a9fdd8c82c 100644 --- a/media-video/transcode/Manifest +++ b/media-video/transcode/Manifest @@ -4,5 +4,5 @@ AUX transcode-1.1.7-swresample.patch 674 BLAKE2B 733a3490d2a25b20555cce3624f8e17 DIST transcode-1.1.7-ffmpeg4.patch.xz 4880 BLAKE2B 92bf63ba3f9cb69aff3cdc0f7250da0452f8bc0977010d024bbd8bbf9f66b86fb31e819ec3d1069e9176fdb58cba6ec510b866ddc44a65fd252f175cc567807a SHA512 8c44fd1b78dbbafbbef090d6115bbe086605f1d5b5286eba83d9c7c0d5457af286cb5d61ab6d260380694b6b3636f751709476915dcab5cc3109dc868785f424 DIST transcode-1.1.7-patchset.tar.bz2 16379 BLAKE2B fbdc188bffeb8751814abfa7e119a1053e482f194bc1b87a721c48e2b66e107df146d38b3ea11a88d066c49d8862489b88b74f61fa36ce3f8a1a782da3762615 SHA512 bedc82aa4fbc17774e34d8fc24799d70b8460c6c1dd728549bcaa5c387492f56e520674fdf8bb976c0b5fcc9ccefb765f2ee26816e0d2b96a83402a21cee3f6d DIST transcode-1.1.7.tar.bz2 2183627 BLAKE2B 25001d4cae83d86e5295917bcd9e2e77dd61637e238394a2d603398baf810201dc61d8b0de5b54a7b8848ac3bcef5fb211e8f2b43ed7da4e56e335b8d4d2fbe1 SHA512 d6f9674f3f5c3346194120585741ca660eb9ee133085cfce9460a14eaa0cf16fdf291761bd1db78e1c784e4d69a9481c7470cf8357dc7638ee3017620500f45f -EBUILD transcode-1.1.7-r5.ebuild 4351 BLAKE2B d123cd546237ece93c5b25c8c76615b7822ed35e0edd76bc7e5b0b05aa8c4316714657db23def65f62310068ea62cf034769ed1974ae47851943562db7733228 SHA512 8c66ea579849464e6eaca36f62d055cf5913f851178fa9a00950c1db8d9508fc079db0506817f2a2f7741d31a6201658aa108ac7226c2b053e2b0aa995aa13f6 +EBUILD transcode-1.1.7-r6.ebuild 4353 BLAKE2B e6085286c0297a48dfbe1c2c2a46f262df3a03741edbfa13b0192b3be2885b26d8ad71c77e9c09992140b69e1001bd91c1d7c14e34d0ca1e697dc329e3b76e6b SHA512 225fdf674a0008d0e8d51a7a6336a3ca31650e6d1fab62a7330bc9d068e35880efc651eab0205d6255c6a6f020654efde2025f76b57270fcba39ee6fa28864cf MISC metadata.xml 619 BLAKE2B fa440f0f00bd7afe2834108078f48dc93dfe5ea38d343587267e2b45f4c4187762fdf16e1f023e4fc3af69d181ec77cbedec4a39df98eb8d4a098b98248c7b56 SHA512 043d39001850f8088e33e7277a579af7cb45b6fd2b3fe4483eb7771340dae8eab14927184f0fab9aedc8934a6d2599ce6231726308079d0ae16e7710f826ad1b diff --git a/media-video/transcode/transcode-1.1.7-r5.ebuild b/media-video/transcode/transcode-1.1.7-r5.ebuild deleted file mode 100644 index 2a8fe279f70e..000000000000 --- a/media-video/transcode/transcode-1.1.7-r5.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 2002-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools libtool multilib - -DESCRIPTION="Utilities for transcoding video and audio codecs in different containers" -HOMEPAGE="http://www.transcoding.org/ https://bitbucket.org/france/transcode-tcforge" -SRC_URI="https://www.bitbucket.org/france/${PN}-tcforge/downloads/${P}.tar.bz2 - https://dev.gentoo.org/~mgorny/dist/${P}-patchset.tar.bz2 - https://dev.gentoo.org/~whissi/dist/${PN}/${PN}-1.1.7-ffmpeg4.patch.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm64 ppc ppc64 sparc x86" -IUSE="cpu_flags_x86_3dnow a52 aac alsa altivec dv dvd +iconv imagemagick jpeg lzo mjpeg cpu_flags_x86_mmx mp3 mpeg nuv ogg oss pic postproc quicktime sdl cpu_flags_x86_sse cpu_flags_x86_sse2 theora truetype v4l vorbis X x264 xml xvid" - -RDEPEND=" - >=media-video/ffmpeg-0.10 - a52? ( media-libs/a52dec ) - aac? ( media-libs/faac ) - alsa? ( media-libs/alsa-lib ) - dv? ( media-libs/libdv ) - dvd? ( media-libs/libdvdread:0= ) - iconv? ( virtual/libiconv ) - imagemagick? ( media-gfx/imagemagick:= ) - jpeg? ( virtual/jpeg:0= ) - lzo? ( >=dev-libs/lzo-2 ) - mjpeg? ( media-video/mjpegtools ) - mp3? ( media-sound/lame ) - mpeg? ( media-libs/libmpeg2 ) - ogg? ( media-libs/libogg ) - postproc? ( >=media-video/ffmpeg-0.10 ) - quicktime? ( >=media-libs/libquicktime-1 ) - sdl? ( >=media-libs/libsdl-1.2.5[X?] ) - theora? ( media-libs/libtheora ) - truetype? ( >=media-libs/freetype-2 ) - v4l? ( media-libs/libv4l ) - vorbis? ( media-libs/libvorbis ) - X? ( x11-libs/libXpm x11-libs/libXaw x11-libs/libXv ) - x264? ( media-libs/x264:= ) - xml? ( dev-libs/libxml2 ) - xvid? ( media-libs/xvid ) - " - -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - v4l? ( >=sys-kernel/linux-headers-2.6.11 ) -" - -REQUIRED_USE=" - cpu_flags_x86_sse? ( cpu_flags_x86_mmx ) - cpu_flags_x86_sse2? ( cpu_flags_x86_mmx cpu_flags_x86_sse ) - cpu_flags_x86_3dnow? ( cpu_flags_x86_mmx ) - nuv? ( lzo ) - " - -PATCHES=( - "${WORKDIR}"/${P}-patchset/${P}-ffmpeg.patch - "${WORKDIR}"/${P}-patchset/${P}-ffmpeg-0.10.patch - "${WORKDIR}"/${P}-patchset/${P}-ffmpeg-0.11.patch - "${WORKDIR}"/${P}-patchset/${P}-preset-free.patch - "${WORKDIR}"/${P}-patchset/${P}-libav-9.patch - "${WORKDIR}"/${P}-patchset/${P}-libav-10.patch - "${WORKDIR}"/${P}-patchset/${P}-preset-force.patch - "${WORKDIR}"/${P}-patchset/${P}-ffmpeg2.patch - "${WORKDIR}"/${P}-patchset/${P}-freetype251.patch - "${WORKDIR}"/${P}-patchset/${P}-ffmpeg24.patch - "${FILESDIR}"/${P}-swresample.patch #722296 - "${FILESDIR}"/${P}-gcc10-fno-common.patch - "${FILESDIR}"/${P}-glibc-2.32.patch -) - -src_prepare() { - if has_version '>=media-video/ffmpeg-2.8'; then - PATCHES+=( "${WORKDIR}"/${P}-patchset/${P}-ffmpeg29.patch ) - fi - - if has_version '>=media-gfx/imagemagick-7.0.1.0' ; then - PATCHES+=( "${WORKDIR}"/${P}-patchset/${P}-imagemagick7.patch ) - fi - - if has_version '>=media-video/ffmpeg-4' ; then - PATCHES+=( "${WORKDIR}/transcode-1.1.7-ffmpeg4.patch" ) - fi - - default - - eautoreconf -} - -src_configure() { - local myconf - use x86 && myconf="$(use_enable !pic x86-textrels)" #271476 - - local myeconfargs=( - $(use_enable cpu_flags_x86_mmx mmx) - $(use_enable cpu_flags_x86_3dnow 3dnow) - $(use_enable cpu_flags_x86_sse sse) - $(use_enable cpu_flags_x86_sse2 sse2) - $(use_enable altivec) - $(use_enable v4l libv4l2) - $(use_enable v4l libv4lconvert) - $(use_enable mpeg libmpeg2) - $(use_enable mpeg libmpeg2convert) - --enable-experimental - --enable-deprecated - $(use_enable v4l) - $(use_enable oss) - $(use_enable alsa) - $(use_enable postproc libpostproc) - $(use_enable truetype freetype2) - $(use_enable mp3 lame) - $(use_enable xvid) - $(use_enable x264) - $(use_enable ogg) - $(use_enable vorbis) - $(use_enable theora) - $(use_enable dvd libdvdread) - $(use_enable dv libdv) - $(use_enable quicktime libquicktime) - $(use_enable lzo) - $(use_enable a52) - $(use_enable aac faac) - $(use_enable xml libxml2) - $(use_enable mjpeg mjpegtools) - $(use_enable sdl) - $(use_enable imagemagick) - $(use_enable jpeg libjpeg) - $(use_enable iconv) - $(use_enable nuv) - $(use_with X x) - --with-mod-path=/usr/$(get_libdir)/transcode - ${myconf} - ) - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" docsdir=/usr/share/doc/${PF} install - dodoc AUTHORS ChangeLog README STYLE TODO - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die -} diff --git a/media-video/transcode/transcode-1.1.7-r6.ebuild b/media-video/transcode/transcode-1.1.7-r6.ebuild new file mode 100644 index 000000000000..88ed88c76a94 --- /dev/null +++ b/media-video/transcode/transcode-1.1.7-r6.ebuild @@ -0,0 +1,144 @@ +# Copyright 2002-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools libtool multilib + +DESCRIPTION="Utilities for transcoding video and audio codecs in different containers" +HOMEPAGE="http://www.transcoding.org/ https://bitbucket.org/france/transcode-tcforge" +SRC_URI="https://www.bitbucket.org/france/${PN}-tcforge/downloads/${P}.tar.bz2 + https://dev.gentoo.org/~mgorny/dist/${P}-patchset.tar.bz2 + https://dev.gentoo.org/~whissi/dist/${PN}/${PN}-1.1.7-ffmpeg4.patch.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm64 ppc ppc64 sparc x86" +IUSE="cpu_flags_x86_3dnow a52 aac alsa altivec dv dvd +iconv imagemagick jpeg lzo mjpeg cpu_flags_x86_mmx mp3 mpeg nuv ogg oss pic postproc quicktime sdl cpu_flags_x86_sse cpu_flags_x86_sse2 theora truetype v4l vorbis X x264 xml xvid" + +RDEPEND=" + >=media-video/ffmpeg-0.10 + a52? ( media-libs/a52dec ) + aac? ( media-libs/faac ) + alsa? ( media-libs/alsa-lib ) + dv? ( media-libs/libdv ) + dvd? ( media-libs/libdvdread:0= ) + iconv? ( virtual/libiconv ) + imagemagick? ( media-gfx/imagemagick:= ) + jpeg? ( virtual/jpeg:0= ) + lzo? ( >=dev-libs/lzo-2 ) + mjpeg? ( media-video/mjpegtools:= ) + mp3? ( media-sound/lame ) + mpeg? ( media-libs/libmpeg2 ) + ogg? ( media-libs/libogg ) + postproc? ( >=media-video/ffmpeg-0.10 ) + quicktime? ( >=media-libs/libquicktime-1 ) + sdl? ( >=media-libs/libsdl-1.2.5[X?] ) + theora? ( media-libs/libtheora ) + truetype? ( >=media-libs/freetype-2 ) + v4l? ( media-libs/libv4l ) + vorbis? ( media-libs/libvorbis ) + X? ( x11-libs/libXpm x11-libs/libXaw x11-libs/libXv ) + x264? ( media-libs/x264:= ) + xml? ( dev-libs/libxml2 ) + xvid? ( media-libs/xvid ) + " + +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + v4l? ( >=sys-kernel/linux-headers-2.6.11 ) +" + +REQUIRED_USE=" + cpu_flags_x86_sse? ( cpu_flags_x86_mmx ) + cpu_flags_x86_sse2? ( cpu_flags_x86_mmx cpu_flags_x86_sse ) + cpu_flags_x86_3dnow? ( cpu_flags_x86_mmx ) + nuv? ( lzo ) + " + +PATCHES=( + "${WORKDIR}"/${P}-patchset/${P}-ffmpeg.patch + "${WORKDIR}"/${P}-patchset/${P}-ffmpeg-0.10.patch + "${WORKDIR}"/${P}-patchset/${P}-ffmpeg-0.11.patch + "${WORKDIR}"/${P}-patchset/${P}-preset-free.patch + "${WORKDIR}"/${P}-patchset/${P}-libav-9.patch + "${WORKDIR}"/${P}-patchset/${P}-libav-10.patch + "${WORKDIR}"/${P}-patchset/${P}-preset-force.patch + "${WORKDIR}"/${P}-patchset/${P}-ffmpeg2.patch + "${WORKDIR}"/${P}-patchset/${P}-freetype251.patch + "${WORKDIR}"/${P}-patchset/${P}-ffmpeg24.patch + "${FILESDIR}"/${P}-swresample.patch #722296 + "${FILESDIR}"/${P}-gcc10-fno-common.patch + "${FILESDIR}"/${P}-glibc-2.32.patch +) + +src_prepare() { + if has_version '>=media-video/ffmpeg-2.8'; then + PATCHES+=( "${WORKDIR}"/${P}-patchset/${P}-ffmpeg29.patch ) + fi + + if has_version '>=media-gfx/imagemagick-7.0.1.0' ; then + PATCHES+=( "${WORKDIR}"/${P}-patchset/${P}-imagemagick7.patch ) + fi + + if has_version '>=media-video/ffmpeg-4' ; then + PATCHES+=( "${WORKDIR}/transcode-1.1.7-ffmpeg4.patch" ) + fi + + default + + eautoreconf +} + +src_configure() { + local myconf + use x86 && myconf="$(use_enable !pic x86-textrels)" #271476 + + local myeconfargs=( + $(use_enable cpu_flags_x86_mmx mmx) + $(use_enable cpu_flags_x86_3dnow 3dnow) + $(use_enable cpu_flags_x86_sse sse) + $(use_enable cpu_flags_x86_sse2 sse2) + $(use_enable altivec) + $(use_enable v4l libv4l2) + $(use_enable v4l libv4lconvert) + $(use_enable mpeg libmpeg2) + $(use_enable mpeg libmpeg2convert) + --enable-experimental + --enable-deprecated + $(use_enable v4l) + $(use_enable oss) + $(use_enable alsa) + $(use_enable postproc libpostproc) + $(use_enable truetype freetype2) + $(use_enable mp3 lame) + $(use_enable xvid) + $(use_enable x264) + $(use_enable ogg) + $(use_enable vorbis) + $(use_enable theora) + $(use_enable dvd libdvdread) + $(use_enable dv libdv) + $(use_enable quicktime libquicktime) + $(use_enable lzo) + $(use_enable a52) + $(use_enable aac faac) + $(use_enable xml libxml2) + $(use_enable mjpeg mjpegtools) + $(use_enable sdl) + $(use_enable imagemagick) + $(use_enable jpeg libjpeg) + $(use_enable iconv) + $(use_enable nuv) + $(use_with X x) + --with-mod-path=/usr/$(get_libdir)/transcode + ${myconf} + ) + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" docsdir=/usr/share/doc/${PF} install + dodoc AUTHORS ChangeLog README STYLE TODO + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +} -- cgit v1.2.3