Skip to content

Commit

Permalink
zyn-fusion: more deps & waf python3 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marcan committed Aug 12, 2020
1 parent f4571de commit 6385d42
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions media-sound/zyn-fusion/zyn-fusion-3.0.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="dev-libs/libuv
DEPEND="dev-lang/python
dev-libs/libuv
x11-libs/libX11
x11-libs/libxcb"
x11-libs/libxcb
virtual/opengl"
RDEPEND="${DEPEND}"
BDEPEND="${RUBY_DEPS}"

Expand Down Expand Up @@ -79,8 +81,16 @@ src_prepare() {
sed -i -e 's/\bmake\b/$(MAKE)/' Makefile # fix jobserver
sed -i -e "s/\brake\b/rake ${MAKEOPTS}/" Makefile # make rake use MAKEOPTS too
sed -i -e "s/-shared/-shared -Wl,-soname,libzest.so/" Makefile # give it a soname
sed -i -e "s/python2/python/" Makefile # say no to python2

default_src_prepare

# bundled waf is broken in Python3.7, and this is a version with
# autowaf, so it isn't trivial to just replace with upstream.
# Hack around it instead.
deps/pugl/waf --version # This will unpack waf
# Now fix it
sed -i -e '/StopIteration/d' deps/pugl/.waf3-*/waflib/Node.py
}

src_install() {
Expand Down

0 comments on commit 6385d42

Please sign in to comment.