summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-01-09 19:39:57 +0100
committerDavid Seifert <soap@gentoo.org>2022-01-09 19:39:57 +0100
commit793a75e101ba3d372dcb34f61cf2c899af009133 (patch)
tree1838bae32bb02021073f3a31f9ea4ce238fc2eeb /media-libs/libmpeg3/libmpeg3-1.8-r1.ebuild
parentsys-fabric/librdmacm: update EAPI 5 -> 6 (diff)
downloadgentoo-793a75e101ba3d372dcb34f61cf2c899af009133.tar.gz
gentoo-793a75e101ba3d372dcb34f61cf2c899af009133.tar.bz2
gentoo-793a75e101ba3d372dcb34f61cf2c899af009133.zip
media-libs/libmpeg3: update EAPI 5 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-libs/libmpeg3/libmpeg3-1.8-r1.ebuild')
-rw-r--r--media-libs/libmpeg3/libmpeg3-1.8-r1.ebuild60
1 files changed, 0 insertions, 60 deletions
diff --git a/media-libs/libmpeg3/libmpeg3-1.8-r1.ebuild b/media-libs/libmpeg3/libmpeg3-1.8-r1.ebuild
deleted file mode 100644
index 2b72b966641f..000000000000
--- a/media-libs/libmpeg3/libmpeg3-1.8-r1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools epatch multilib-minimal
-
-DESCRIPTION="An mpeg library for linux"
-HOMEPAGE="http://heroinewarrior.com/libmpeg3.php"
-SRC_URI="mirror://sourceforge/heroines/${P}-src.tar.bz2
- mirror://gentoo/${PN}-1.7-gentoo.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
-IUSE="cpu_flags_x86_mmx"
-
-RDEPEND="sys-libs/zlib
- virtual/jpeg:0
- media-libs/a52dec"
-DEPEND="${RDEPEND}
- cpu_flags_x86_mmx? ( dev-lang/nasm )"
-
-src_prepare() {
- epatch "${WORKDIR}"/${PN}-1.7-mpeg3split.patch
- epatch "${WORKDIR}"/${PN}-1.7-textrel.patch
- epatch "${WORKDIR}"/${PN}-1.7-gnustack.patch
- epatch "${WORKDIR}"/${PN}-1.7-a52.patch
- epatch "${WORKDIR}"/${PN}-1.7-all_gcc4.patch
- epatch "${WORKDIR}"/${PN}-1.7-all_pthread.patch
-
- epatch "${FILESDIR}/${P}-impldecl.patch"
-
- cp -rf "${WORKDIR}"/1.7/* .
- eautoreconf
-}
-
-multilib_src_configure() {
- #disabling css since it's a fake one.
- #One can find in the sources this message :
- # Stubs for deCSS which can't be distributed in source form
-
- ECONF_SOURCE="${S}" econf \
- $(use_enable cpu_flags_x86_mmx mmx) \
- --disable-css
-}
-
-multilib_src_install_all() {
- dohtml -r docs
- # This is a workaround, it wants to rebuild
- # everything if the headers have changed
- # So we patch them after install...
- cd "${ED}/usr/include/libmpeg3"
- # This patch patches the .h files that get installed into /usr/include
- # to show the correct include syntax '<>' instead of '""' This patch
- # was also generated using info from SF's src.rpm
- epatch "${WORKDIR}"/gentoo-p2.patch
-
- find "${ED}" -name '*.la' -exec rm -f '{}' +
-}