Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/x264/
Date: Thu, 07 Jan 2021 19:04:07
Message-Id: 1610046118.c202f939cfbd90e688d0bf0756d9165920c4d88e.sam@gentoo
1 commit: c202f939cfbd90e688d0bf0756d9165920c4d88e
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 7 19:01:58 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 7 19:01:58 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c202f939
7
8 media-libs/x264: cleanup old
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 media-libs/x264/Manifest | 1 -
14 media-libs/x264/x264-0.0.20190214.ebuild | 65 --------------------------------
15 media-libs/x264/x264-0.0.20190903.ebuild | 65 --------------------------------
16 3 files changed, 131 deletions(-)
17
18 diff --git a/media-libs/x264/Manifest b/media-libs/x264/Manifest
19 index fd3a9926450..c1e5f3cbddf 100644
20 --- a/media-libs/x264/Manifest
21 +++ b/media-libs/x264/Manifest
22 @@ -1,2 +1 @@
23 -DIST x264-snapshot-20190214-2245.tar.bz2 770462 BLAKE2B d90a3bafb88febe12526b225617616a62c32fa3d3eacf410267e1fbd7e0fafaadca7c146172c08fc525bce8791d81c7d87dc27b06d61a6a44bf2ad92f6c1def6 SHA512 c8b1b46d4e6c0ef653dab35083a454c635ebf72c6a5255ce30bbb5d9d6bb8e23fca0e6cc197ea99f3c702fbfec096587df6fa82dec338d8bd45e35fa89c43039
24 DIST x264-snapshot-20190903-2245.tar.bz2 774515 BLAKE2B 0b19fc1d3cedea32bfac9c5247bce7b3c04dead35458d61f3b5c0694040dc852b0110b620faf4118ed265a5605aafce3c49d468d38fb91e4c515b2860c486920 SHA512 c357c9025ffdf653c974eb7ccc2e9a4de86c02881372a6a8270ae59ce948c284da48a2aba37763bd29359d2a6dfc76ea56a52fed6082f8483912c8f948488a2d
25
26 diff --git a/media-libs/x264/x264-0.0.20190214.ebuild b/media-libs/x264/x264-0.0.20190214.ebuild
27 deleted file mode 100644
28 index afad6f3e086..00000000000
29 --- a/media-libs/x264/x264-0.0.20190214.ebuild
30 +++ /dev/null
31 @@ -1,65 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -inherit flag-o-matic multilib-minimal toolchain-funcs
38 -
39 -DESCRIPTION="A free library for encoding X264/AVC streams"
40 -HOMEPAGE="https://www.videolan.org/developers/x264.html"
41 -if [[ ${PV} == 9999 ]]; then
42 - inherit git-r3
43 - EGIT_REPO_URI="https://code.videolan.org/videolan/x264.git"
44 -else
45 - MY_P="x264-snapshot-$(ver_cut 3)-2245"
46 - SRC_URI="https://download.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2"
47 - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
48 - S="${WORKDIR}/${MY_P}"
49 -fi
50 -
51 -SLOT="0/157" # SONAME
52 -
53 -LICENSE="GPL-2"
54 -IUSE="altivec +interlaced opencl pic static-libs cpu_flags_x86_sse +threads"
55 -
56 -ASM_DEP=">=dev-lang/nasm-2.13"
57 -DEPEND="abi_x86_32? ( ${ASM_DEP} )
58 - abi_x86_64? ( ${ASM_DEP} )
59 - opencl? ( dev-lang/perl )"
60 -RDEPEND="opencl? ( >=virtual/opencl-0-r3[${MULTILIB_USEDEP}] )"
61 -
62 -DOCS=( AUTHORS doc/{ratecontrol,regression_test,standards,threads,vui}.txt )
63 -
64 -multilib_src_configure() {
65 - tc-export CC
66 -
67 - if [[ ${ABI} == x86 || ${ABI} == amd64 ]]; then
68 - export AS="nasm"
69 - else
70 - export AS="${CC}"
71 - fi
72 -
73 - local asm_conf=""
74 -
75 - if [[ ${ABI} == x86* ]] && { use pic || use !cpu_flags_x86_sse ; } || [[ ${ABI} == "x32" ]] || [[ ${CHOST} == armv5* ]] || [[ ${ABI} == ppc* ]] && { use !altivec ; }; then
76 - asm_conf=" --disable-asm"
77 - fi
78 -
79 - "${S}/configure" \
80 - --prefix="${EPREFIX}"/usr \
81 - --libdir="${EPREFIX}"/usr/$(get_libdir) \
82 - --disable-cli \
83 - --disable-avs \
84 - --disable-lavf \
85 - --disable-swscale \
86 - --disable-ffms \
87 - --disable-gpac \
88 - --enable-pic \
89 - --enable-shared \
90 - --host="${CHOST}" \
91 - $(usex interlaced "" "--disable-interlaced") \
92 - $(usex opencl "" "--disable-opencl") \
93 - $(usex static-libs "--enable-static" "") \
94 - $(usex threads "" "--disable-thread") \
95 - ${asm_conf} || die
96 -}
97
98 diff --git a/media-libs/x264/x264-0.0.20190903.ebuild b/media-libs/x264/x264-0.0.20190903.ebuild
99 deleted file mode 100644
100 index 51c45d66d46..00000000000
101 --- a/media-libs/x264/x264-0.0.20190903.ebuild
102 +++ /dev/null
103 @@ -1,65 +0,0 @@
104 -# Copyright 1999-2021 Gentoo Authors
105 -# Distributed under the terms of the GNU General Public License v2
106 -
107 -EAPI=7
108 -
109 -inherit flag-o-matic multilib-minimal toolchain-funcs
110 -
111 -DESCRIPTION="A free library for encoding X264/AVC streams"
112 -HOMEPAGE="https://www.videolan.org/developers/x264.html"
113 -if [[ ${PV} == 9999 ]]; then
114 - inherit git-r3
115 - EGIT_REPO_URI="https://code.videolan.org/videolan/x264.git"
116 -else
117 - MY_P="x264-snapshot-$(ver_cut 3)-2245"
118 - SRC_URI="https://download.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2"
119 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
120 - S="${WORKDIR}/${MY_P}"
121 -fi
122 -
123 -SLOT="0/157" # SONAME
124 -
125 -LICENSE="GPL-2"
126 -IUSE="cpu_flags_ppc_altivec +interlaced opencl pic static-libs cpu_flags_x86_sse +threads"
127 -
128 -ASM_DEP=">=dev-lang/nasm-2.13"
129 -DEPEND="abi_x86_32? ( ${ASM_DEP} )
130 - abi_x86_64? ( ${ASM_DEP} )
131 - opencl? ( dev-lang/perl )"
132 -RDEPEND="opencl? ( >=virtual/opencl-0-r3[${MULTILIB_USEDEP}] )"
133 -
134 -DOCS=( AUTHORS doc/{ratecontrol,regression_test,standards,threads,vui}.txt )
135 -
136 -multilib_src_configure() {
137 - tc-export CC
138 -
139 - if [[ ${ABI} == x86 || ${ABI} == amd64 ]]; then
140 - export AS="nasm"
141 - else
142 - export AS="${CC}"
143 - fi
144 -
145 - local asm_conf=""
146 -
147 - if [[ ${ABI} == x86* ]] && { use pic || use !cpu_flags_x86_sse ; } || [[ ${ABI} == "x32" ]] || [[ ${CHOST} == armv5* ]] || [[ ${ABI} == ppc* ]] && { use !cpu_flags_ppc_altivec ; }; then
148 - asm_conf=" --disable-asm"
149 - fi
150 -
151 - "${S}/configure" \
152 - --prefix="${EPREFIX}"/usr \
153 - --libdir="${EPREFIX}"/usr/$(get_libdir) \
154 - --disable-cli \
155 - --disable-avs \
156 - --disable-lavf \
157 - --disable-swscale \
158 - --disable-ffms \
159 - --disable-gpac \
160 - --enable-pic \
161 - --enable-shared \
162 - --host="${CHOST}" \
163 - $(usex interlaced "" "--disable-interlaced") \
164 - $(usex opencl "" "--disable-opencl") \
165 - $(usex static-libs "--enable-static" "") \
166 - $(usex threads "" "--disable-thread") \
167 - ${asm_conf} || die
168 -}