summaryrefslogtreecommitdiff
path: root/media-libs/theoraplay
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-09-09 12:44:59 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-09-09 12:44:59 +0000
commitdba8ac558abef6fa4217979c1334ab78cd34888b (patch)
tree07a1696088f7b91b9579b37a9778daeab71655de /media-libs/theoraplay
parent1a1a744cd22f358245266a119e428d26d5aed5c4 (diff)
downloadbaldeagleos-repo-dba8ac558abef6fa4217979c1334ab78cd34888b.tar.gz
baldeagleos-repo-dba8ac558abef6fa4217979c1334ab78cd34888b.tar.xz
baldeagleos-repo-dba8ac558abef6fa4217979c1334ab78cd34888b.zip
Adding metadata
Diffstat (limited to 'media-libs/theoraplay')
-rw-r--r--media-libs/theoraplay/theoraplay-0_pre20180524-r1.ebuild (renamed from media-libs/theoraplay/theoraplay-0_pre20180524.ebuild)25
1 files changed, 12 insertions, 13 deletions
diff --git a/media-libs/theoraplay/theoraplay-0_pre20180524.ebuild b/media-libs/theoraplay/theoraplay-0_pre20180524-r1.ebuild
index 487a8f89eb15..dd50e14aae72 100644
--- a/media-libs/theoraplay/theoraplay-0_pre20180524.ebuild
+++ b/media-libs/theoraplay/theoraplay-0_pre20180524-r1.ebuild
@@ -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
}