diff options
Diffstat (limited to 'media-libs/xvid')
-rw-r--r-- | media-libs/xvid/Manifest | 5 | ||||
-rw-r--r-- | media-libs/xvid/xvid-1.3.7-r1.ebuild | 4 | ||||
-rw-r--r-- | media-libs/xvid/xvid-1.3.7-r2.ebuild | 69 | ||||
-rw-r--r-- | media-libs/xvid/xvid-1.3.7.ebuild | 4 |
4 files changed, 76 insertions, 6 deletions
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" |