summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarri Nieminen <moikkis@gmail.com>2017-02-13 19:21:38 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-02-16 00:00:13 +0100
commit7c0a2214a381891b0082e503dd4662e7622805ee (patch)
tree0518c325e208d10249ac85e8c5cc3e5261e57991 /x11-misc/bumblebee
parentnet-libs/gnome-online-accounts: remove old (diff)
downloadgentoo-7c0a2214a381891b0082e503dd4662e7622805ee.tar.gz
gentoo-7c0a2214a381891b0082e503dd4662e7622805ee.tar.bz2
gentoo-7c0a2214a381891b0082e503dd4662e7622805ee.zip
x11-misc/bumblebee: fix live ebuild.
Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/3958
Diffstat (limited to 'x11-misc/bumblebee')
-rw-r--r--x11-misc/bumblebee/bumblebee-9999.ebuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/x11-misc/bumblebee/bumblebee-9999.ebuild b/x11-misc/bumblebee/bumblebee-9999.ebuild
index ef99702e3344..4b832aebac22 100644
--- a/x11-misc/bumblebee/bumblebee-9999.ebuild
+++ b/x11-misc/bumblebee/bumblebee-9999.ebuild
@@ -4,11 +4,13 @@
EAPI=6
-inherit autotools readme.gentoo-r1 multilib systemd user
+inherit autotools multilib readme.gentoo-r1 systemd user
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="git://github.com/Bumblebee-Project/Bumblebee.git"
EGIT_BRANCH="develop"
+ KEYWORDS=""
+ inherit git-r3
else
COMMIT="c322bd849aabe6e48b4304b8d13cc4aadc36a30d"
SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
@@ -62,12 +64,9 @@ src_prepare() {
}
src_configure() {
- DOC_CONTENTS="In order to use Bumblebee, add your user to 'bumblebee' group.
- You may need to setup your /etc/bumblebee/bumblebee.conf"
-
if use video_cards_nvidia ; then
# Get paths to GL libs for all ABIs
- local nvlib=""
+ local i nvlib=""
for i in $(get_all_libdirs) ; do
nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
done
@@ -80,19 +79,19 @@ src_configure() {
fi
econf \
- --docdir=/usr/share/doc/"${PF}" \
${ECONF_PARAMS}
}
src_install() {
+ default
newconfd "${FILESDIR}"/${PN}.confd ${PN}
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newenvd "${FILESDIR}"/${PN}.envd 99${PN}
systemd_dounit scripts/systemd/bumblebeed.service
+ local DOC_CONTENTS="In order to use Bumblebee, add your user to 'bumblebee' group.
+ You may need to setup your /etc/bumblebee/bumblebee.conf"
readme.gentoo_create_doc
-
- default
}
#
#pkg_preinst() {