1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-03-24 13:43:33 +01:00

new ebuilds: screenkey, ppsspp, azpainterb, primus, apktool

This commit is contained in:
root
2016-08-08 16:35:52 +02:00
parent 1f1ccf379d
commit 6847cc1089
14 changed files with 374 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit multilib-build git-r3
DESCRIPTION="Faster OpenGL offloading for Bumblebee"
HOMEPAGE="https://github.com/amonakov/primus"
SRC_URI=""
EGIT_REPO_URI="git://github.com/amonakov/primus.git https://github.com/amonakov/primus.git"
EGIT_COMMIT="d1afbf6fce2778c0751eddf19db9882e04f18bfd"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND="x11-misc/bumblebee[video_cards_nvidia]
"
DEPEND="virtual/opengl"
src_compile() {
export PRIMUS_libGLa='/usr/$$LIB/opengl/nvidia/lib/libGL.so.1'
mymake() {
emake LIBDIR=$(get_libdir)
}
multilib_parallel_foreach_abi mymake
}
src_install() {
sed -i -e "s#^PRIMUS_libGL=.*#PRIMUS_libGL='/usr/\$LIB/primus'#" primusrun
dobin primusrun
myinst() {
insinto /usr/$(get_libdir)/primus
doins ${S}/$(get_libdir)/libGL.so.1
}
multilib_foreach_abi myinst
}