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/xvid/
Date: Thu, 07 Jan 2021 11:33:35
Message-Id: 1610019197.04fc3d6b9648e533f60a61c53146ef8d28b3d821.sam@gentoo
1 commit: 04fc3d6b9648e533f60a61c53146ef8d28b3d821
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 7 11:23:14 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 7 11:33:17 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04fc3d6b
7
8 media-libs/xvid: 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/xvid/Manifest | 1 -
14 media-libs/xvid/xvid-1.3.5-r1.ebuild | 67 ------------------------------------
15 media-libs/xvid/xvid-1.3.5.ebuild | 67 ------------------------------------
16 3 files changed, 135 deletions(-)
17
18 diff --git a/media-libs/xvid/Manifest b/media-libs/xvid/Manifest
19 index fb8109e94b9..7590bee3b1e 100644
20 --- a/media-libs/xvid/Manifest
21 +++ b/media-libs/xvid/Manifest
22 @@ -1,2 +1 @@
23 -DIST xvidcore-1.3.5.tar.bz2 698846 BLAKE2B c65c90a2a51d993af65becd760364b495ca1714f888c640b577ee3cb509afc5dbe56d1f536aa710a5322106ca65bed4ad162ad97440e9c14deeabbcbe00984b5 SHA512 3297243400ce9ed2d0083559ee15fdfa422e585114c4e92c72fe702f43fea4af9fe4e9e794630959c220222379fa329452c4163a395f4ba1998c9be03a2e9441
24 DIST xvidcore-1.3.7.tar.bz2 698615 BLAKE2B 19bea63226c2223e74e5202d3b671c5b292c03ce5de240df7d8ce34101de4036b28fad516b2a56712a099819b905e68922fa83a01fbe4f200dc880ca56c10a96 SHA512 e2b22e7a7e103af7adcc999d95484f991a0a33df02b912fe042b2e23d2af07381c737d23158dbf0fad770ee680572f86fbe04ab2ef33c81e2e0180ead2acc8ed
25
26 diff --git a/media-libs/xvid/xvid-1.3.5-r1.ebuild b/media-libs/xvid/xvid-1.3.5-r1.ebuild
27 deleted file mode 100644
28 index acbb5a947da..00000000000
29 --- a/media-libs/xvid/xvid-1.3.5-r1.ebuild
30 +++ /dev/null
31 @@ -1,67 +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 -MY_PN="${PN}core"
38 -MY_P="${MY_PN}-${PV}"
39 -inherit flag-o-matic multilib-minimal
40 -
41 -DESCRIPTION="High performance/quality MPEG-4 video de-/encoding solution"
42 -HOMEPAGE="https://www.xvid.org/"
43 -SRC_URI="http://downloads.xvid.org/downloads/${MY_P}.tar.bz2"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
48 -IUSE="elibc_FreeBSD examples pic +threads"
49 -
50 -NASM=">=dev-lang/nasm-2"
51 -YASM=">=dev-lang/yasm-1"
52 -
53 -BDEPEND="sys-apps/grep"
54 -DEPEND="amd64? ( || ( ${YASM} ${NASM} ) )
55 - x86? ( || ( ${YASM} ${NASM} ) )
56 - x64-macos? ( ${NASM} )"
57 -
58 -S="${WORKDIR}/${MY_PN}/build/generic"
59 -
60 -src_prepare() {
61 - default
62 -
63 - # make build verbose
64 - sed \
65 - -e 's/@$(CC)/$(CC)/' \
66 - -e 's/@$(AS)/$(AS)/' \
67 - -e 's/@$(RM)/$(RM)/' \
68 - -e 's/@$(INSTALL)/$(INSTALL)/' \
69 - -e 's/@cd/cd/' \
70 - -e '/\$(libdir)\/\$(STATIC_LIB)/d' \
71 - -e 's/\$(BUILD_DIR)\/\$(STATIC_LIB)//g' \
72 - -e 's/info \$(STATIC_LIB)/info/g' \
73 - -i Makefile || die
74 - # Since only the build system is in $S, this will only copy it but not the
75 - # entire sources.
76 - multilib_copy_sources
77 -}
78 -
79 -multilib_src_configure() {
80 - use sparc && append-cflags -mno-vis #357149
81 - use elibc_FreeBSD && export ac_cv_prog_ac_yasm=no #477736
82 -
83 - local myconf=( $(use_enable threads pthread) )
84 - if use pic || [[ ${ABI} == "x32" ]] ; then #421841
85 - myconf+=( --disable-assembly )
86 - fi
87 -
88 - econf "${myconf[@]}"
89 -}
90 -
91 -multilib_src_install_all() {
92 - dodoc "${S}"/../../{AUTHORS,ChangeLog*,CodingStyle,README,TODO}
93 -
94 - if use examples; then
95 - insinto /usr/share/${PN}
96 - doins -r "${S}"/../../examples
97 - fi
98 -}
99
100 diff --git a/media-libs/xvid/xvid-1.3.5.ebuild b/media-libs/xvid/xvid-1.3.5.ebuild
101 deleted file mode 100644
102 index 74d30b88857..00000000000
103 --- a/media-libs/xvid/xvid-1.3.5.ebuild
104 +++ /dev/null
105 @@ -1,67 +0,0 @@
106 -# Copyright 1999-2021 Gentoo Authors
107 -# Distributed under the terms of the GNU General Public License v2
108 -
109 -EAPI=6
110 -
111 -MY_PN="${PN}core"
112 -MY_P="${MY_PN}-${PV}"
113 -inherit flag-o-matic multilib-minimal
114 -
115 -DESCRIPTION="High performance/quality MPEG-4 video de-/encoding solution"
116 -HOMEPAGE="https://www.xvid.org/"
117 -SRC_URI="http://downloads.xvid.org/downloads/${MY_P}.tar.bz2"
118 -
119 -LICENSE="GPL-2"
120 -SLOT="0"
121 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
122 -IUSE="elibc_FreeBSD examples pic +threads"
123 -
124 -NASM=">=dev-lang/nasm-2"
125 -YASM=">=dev-lang/yasm-1"
126 -
127 -DEPEND="sys-apps/grep
128 - amd64? ( || ( ${YASM} ${NASM} ) )
129 - amd64-fbsd? ( ${NASM} )
130 - x86? ( || ( ${YASM} ${NASM} ) )
131 - x86-fbsd? ( ${NASM} )
132 - x64-macos? ( ${NASM} )"
133 -RDEPEND=""
134 -
135 -S="${WORKDIR}/${MY_PN}/build/generic"
136 -
137 -src_prepare() {
138 - default
139 -
140 - # make build verbose
141 - sed \
142 - -e 's/@$(CC)/$(CC)/' \
143 - -e 's/@$(AS)/$(AS)/' \
144 - -e 's/@$(RM)/$(RM)/' \
145 - -e 's/@$(INSTALL)/$(INSTALL)/' \
146 - -e 's/@cd/cd/' \
147 - -i Makefile || die
148 - # Since only the build system is in $S, this will only copy it but not the
149 - # entire sources.
150 - multilib_copy_sources
151 -}
152 -
153 -multilib_src_configure() {
154 - use sparc && append-cflags -mno-vis #357149
155 - use elibc_FreeBSD && export ac_cv_prog_ac_yasm=no #477736
156 -
157 - local myconf=( $(use_enable threads pthread) )
158 - if use pic || [[ ${ABI} == "x32" ]] ; then #421841
159 - myconf+=( --disable-assembly )
160 - fi
161 -
162 - econf "${myconf[@]}"
163 -}
164 -
165 -multilib_src_install_all() {
166 - dodoc "${S}"/../../{AUTHORS,ChangeLog*,CodingStyle,README,TODO}
167 -
168 - if use examples; then
169 - insinto /usr/share/${PN}
170 - doins -r "${S}"/../../examples
171 - fi
172 -}