diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-13 01:41:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-13 01:41:21 +0100 |
commit | b89a664f266dab3b9b5ddac2cb874f8869142370 (patch) | |
tree | 21d127b0b99c1505ba548bc05975b9fcecda871e /media-libs/xvid | |
parent | 7e662ec84fc13cef513542e4030f47017d030187 (diff) |
gentoo auto-resync : 13:10:2022 - 01:41:21
Diffstat (limited to 'media-libs/xvid')
-rw-r--r-- | media-libs/xvid/Manifest | 1 | ||||
-rw-r--r-- | media-libs/xvid/xvid-1.3.7-r1.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/media-libs/xvid/Manifest b/media-libs/xvid/Manifest index 35f049ed8f45..bea7245a71e8 100644 --- a/media-libs/xvid/Manifest +++ b/media-libs/xvid/Manifest @@ -1,3 +1,4 @@ DIST xvidcore-1.3.7.tar.bz2 698615 BLAKE2B 19bea63226c2223e74e5202d3b671c5b292c03ce5de240df7d8ce34101de4036b28fad516b2a56712a099819b905e68922fa83a01fbe4f200dc880ca56c10a96 SHA512 e2b22e7a7e103af7adcc999d95484f991a0a33df02b912fe042b2e23d2af07381c737d23158dbf0fad770ee680572f86fbe04ab2ef33c81e2e0180ead2acc8ed +EBUILD xvid-1.3.7-r1.ebuild 1631 BLAKE2B 325fcb7b2bc93f06eab4d489b58bf9dbe769d3ffb4474034d83fea685925294c7e0f422ad75a4af7eca4f9ab780567e807b7eee3b0a8d969ba53d049d1149602 SHA512 c9edfe44d5599ced7b66ca84763086ed38fcd4aa896233b81ed4a050ff385da3870054ef1ecb956f35cd1547ae7a5b1a39d4786effe70891b11b04c6f12292d2 EBUILD xvid-1.3.7.ebuild 1642 BLAKE2B 097970f3a38ab0a72b8e840c16d67180dd73e703910c51d96546507c80744a6cc9a25fbfdfa68823cf0c705be2993c2dd41b08008bb2d8d12330bf4a036e089b SHA512 50dd399c3c851abc650c7f05af7b36cbd13a8173aa5c736aa356d4b9390d278023da5031a9a02a0d58775a6ba5039acc6e14685f279c9d74287f74b79a436f2b 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 new file mode 100644 index 000000000000..7d16863774be --- /dev/null +++ b/media-libs/xvid/xvid-1.3.7-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 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://www.xvid.org/" +SRC_URI="https://downloads.xvid.com/downloads/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +IUSE="examples pic" + +NASM=">=dev-lang/nasm-2" +YASM=">=dev-lang/yasm-1" + +BDEPEND="sys-apps/grep" +DEPEND="amd64? ( || ( ${YASM} ${NASM} ) ) + x86? ( || ( ${YASM} ${NASM} ) ) + x64-macos? ( ${NASM} )" + +S="${WORKDIR}/${MY_PN}/build/generic" + +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 + ) + + if use pic || [[ ${ABI} == "x32" ]] ; then #421841 + myconf+=( --disable-assembly ) + fi + + 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 +} |