commit: c794a4a1011ce5a484720b42ecfe4baef093a13a Author: Theo Anderson <telans <AT> posteo <DOT> de> AuthorDate: Wed Dec 23 20:41:44 2020 +0000 Commit: Theo Anderson <telans <AT> posteo <DOT> de> CommitDate: Wed Dec 23 20:41:56 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c794a4a1
media-sound/ibniz: fix tc-direct,cflags,pre-strip; depend libsdl[X] Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans <AT> posteo.de> media-sound/ibniz/ibniz-1.18.ebuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/media-sound/ibniz/ibniz-1.18.ebuild b/media-sound/ibniz/ibniz-1.18.ebuild index 709c52d2..5c80dc61 100644 --- a/media-sound/ibniz/ibniz-1.18.ebuild +++ b/media-sound/ibniz/ibniz-1.18.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit toolchain-funcs + DESCRIPTION="virtual machine designed for extremely compact low-level audiovisual programs" HOMEPAGE="http://pelulamu.net/ibniz/" SRC_URI="http://pelulamu.net/ibniz/${P}.tar.gz" @@ -10,11 +12,18 @@ SRC_URI="http://pelulamu.net/ibniz/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" -DEPEND="media-libs/libsdl" +DEPEND="media-libs/libsdl[X]" RDEPEND="${DEPEND}" +src_prepare() { + default + sed -e "s/gcc/$(tc-getCC)/" \ + -e "s/FLAGS=/FLAGS=${CFLAGS} /" \ + -e "s/-s //" \ + -i Makefile +} + src_install() { dobin ibniz }