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