mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
media-libs/theoraplay: drop multilib
No multilib reverse dependencies. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit multilib multilib-minimal toolchain-funcs
|
||||
inherit edo multilib toolchain-funcs
|
||||
|
||||
COMMIT="7d8701876294"
|
||||
DESCRIPTION="Simple library to make decoding of Ogg Theora videos easier"
|
||||
HOMEPAGE="https://icculus.org/projects/theoraplay/"
|
||||
SRC_URI="https://hg.icculus.org/icculus/${PN}/archive/${COMMIT}.tar.bz2 -> ${P}.tar.bz2"
|
||||
S="${WORKDIR}"/${PN}-${COMMIT}
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
@@ -18,19 +20,16 @@ RDEPEND="
|
||||
media-libs/libtheora
|
||||
media-libs/libvorbis
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="sys-devel/libtool"
|
||||
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
multilib_src_compile() {
|
||||
libtool --tag=CC --mode=compile $(tc-getCC) -shared ${CFLAGS} -pthread -c "${S}"/${PN}.c || die
|
||||
libtool --tag=CC --mode=link $(tc-getCC) -shared ${LDFLAGS} -pthread -Wl,-z,defs ${PN}.lo \
|
||||
-logg -ltheoradec -lvorbis -o lib${PN}.la -rpath "${EPREFIX}/usr/$(get_libdir)" || die
|
||||
src_compile() {
|
||||
edo libtool --tag=CC --mode=compile $(tc-getCC) -shared ${CFLAGS} -pthread -c "${S}"/${PN}.c
|
||||
edo libtool --tag=CC --mode=link $(tc-getCC) -shared ${LDFLAGS} -pthread -Wl,-z,defs ${PN}.lo \
|
||||
-logg -ltheoradec -lvorbis -o lib${PN}.la -rpath "${EPREFIX}/usr/$(get_libdir)"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
src_install() {
|
||||
dolib.so .libs/lib${PN}$(get_libname)*
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
doheader ${PN}.h
|
||||
}
|
||||
Reference in New Issue
Block a user