diff options
author | Pacho Ramos <pacho@gentoo.org> | 2012-09-14 20:24:21 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2012-09-14 20:24:21 +0000 |
commit | 3a0cad9dffdb546d67b0596583b8e13088bbc29b (patch) | |
tree | 39225c8c2e097d5b66a3efac2d4b1e2183367e7b /x11-misc/bumblebee | |
parent | dev-java/netbeans-ide: switched to dev-java/icu4j:49 (diff) | |
download | historical-3a0cad9dffdb546d67b0596583b8e13088bbc29b.tar.gz historical-3a0cad9dffdb546d67b0596583b8e13088bbc29b.tar.bz2 historical-3a0cad9dffdb546d67b0596583b8e13088bbc29b.zip |
Version bump, bug #433381 by mrueg.
Package-Manager: portage-2.1.11.14/cvs/Linux x86_64
Diffstat (limited to 'x11-misc/bumblebee')
-rw-r--r-- | x11-misc/bumblebee/ChangeLog | 8 | ||||
-rw-r--r-- | x11-misc/bumblebee/Manifest | 36 | ||||
-rw-r--r-- | x11-misc/bumblebee/bumblebee-3.0.1.ebuild | 69 |
3 files changed, 89 insertions, 24 deletions
diff --git a/x11-misc/bumblebee/ChangeLog b/x11-misc/bumblebee/ChangeLog index 28cc8790d6bb..2cfa3c23655d 100644 --- a/x11-misc/bumblebee/ChangeLog +++ b/x11-misc/bumblebee/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-misc/bumblebee # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/bumblebee/ChangeLog,v 1.8 2012/06/20 12:49:22 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/bumblebee/ChangeLog,v 1.9 2012/09/14 20:24:21 pacho Exp $ + +*bumblebee-3.0.1 (14 Sep 2012) + + 14 Sep 2012; Pacho Ramos <pacho@gentoo.org> +bumblebee-3.0.1.ebuild: + Version bump, bug #433381 by mrueg. 20 Jun 2012; Tomáš Chvátal <scarabeus@gentoo.org> bumblebee-3.0-r2.ebuild: Trivial commit, sort the logic and use ED instead of D. @@ -41,4 +46,3 @@ +files/bumblebee.nvidia-confd, +metadata.xml: Initial commit from bumblebee overlay, this fixes bug #384083. Thanks a lot to mva and rei4dan for their work. - diff --git a/x11-misc/bumblebee/Manifest b/x11-misc/bumblebee/Manifest index 1179b4feb99f..21d20d4111fe 100644 --- a/x11-misc/bumblebee/Manifest +++ b/x11-misc/bumblebee/Manifest @@ -1,27 +1,19 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 -AUX bumblebee.confd 60 RMD160 dca2e620d95414c3fcab40698d54dbb8d2897bc1 SHA1 ae5e15d8262b92ab4916435aa1c2552203a839a9 SHA256 9e0287f542cff0fd3452a0c3d6d427a3404706c93ac9a00f4d99fe52ed596d75 -AUX bumblebee.envd 127 RMD160 e302b4eb3058583808e0579557dc72d745fcc7a4 SHA1 f1df66dc0eda6490b8808ab17dab7e7e6e30f8e6 SHA256 fd6c2719f8268a03fe01df6f9ead660faa3f7aa2a63230d5a7e923a190077437 -AUX bumblebee.initd 598 RMD160 34e12f48ad4d9443d2ce789306a4feff33a83309 SHA1 ba92631b7467771a73b1a62d98da265ad674ce74 SHA256 8dd0ea64c084a6e4daac3b8da043ff16d87ec2ba44c63e9965a2e8c9382dc639 -DIST bumblebee-3.0.tar.gz 136935 RMD160 510443fb17968ff8d3be1f3fdd5372132ceab75f SHA1 b5afc562e33fa23abd2cb9b83dee6d549d133f23 SHA256 a27ddb77b282ac8b972857fdb0dc5061cf0a0982b7ac3e1cfa698b4f786e49a1 -EBUILD bumblebee-3.0-r2.ebuild 2058 RMD160 1eb478f929d798263dab13fb9d95aafb4fcfc03b SHA1 0cc909ba93127a37d876d5e1e7d26d320fc9b2cb SHA256 2d418474138e6bf1f50dcd74c0bc023f7efdded9add7f2e2ef28114f592e2a6a -MISC ChangeLog 1817 RMD160 a0d2b61a104c6ecb50cd73b46700614db6fe285c SHA1 fde1661f43e3d70a827f7169854f53fa180272b5 SHA256 17c53b4fbdaa93cdbadb0727560ab3e142292797ceb3d586ae80a2e37766b29d -MISC metadata.xml 850 RMD160 51246d63293773cd733fa55315fc4a89df435912 SHA1 7bac14dbe84943961d3144a6d2569aa3552bcd04 SHA256 402fc01c90d3969d01b8567a53a8af406087118382ef02f158b009b927014c14 +AUX bumblebee.confd 60 SHA256 9e0287f542cff0fd3452a0c3d6d427a3404706c93ac9a00f4d99fe52ed596d75 SHA512 4c773002e372e1696c0922bda91a104ea0ee244eb6beac84a4e7ad2ff1aee265aa248e63c3ad55ea75cabbd36b03d9efa3f8ec3ef708346837ab6a10d6652251 WHIRLPOOL 53e0f7efcf8ceb1990feccabb2050a440ea5e279703c70c896ced4a0a042c191c4ef6c5096dd237af86ca2bcc8d61782cf057f56b6f21983dd642832f314bfbd +AUX bumblebee.envd 127 SHA256 fd6c2719f8268a03fe01df6f9ead660faa3f7aa2a63230d5a7e923a190077437 SHA512 f42bd5992a8c80d045036a689e3c33cc2bdb7d54afb03bb7f33a80fa6a9c1e05f583cdec5b3da42021c48c1b59db4664e9c850e48ada47a1887327f7b11633af WHIRLPOOL dc5d9dffd2b5219f7c6f11a917cbab004fa3ed89005357dbc1dd1eb3833d4243209c71ccc0b3abc6163c1c192e1a7de8dc1b7ce137ba43aa8f0157ecfd78857c +AUX bumblebee.initd 598 SHA256 8dd0ea64c084a6e4daac3b8da043ff16d87ec2ba44c63e9965a2e8c9382dc639 SHA512 f39792f6711433f63adbb940f61e013bd8c8e72ea263e97a47bf470c3745ecfb0c28c04192f36dd6a133c5824d3830b1c9be8800da3b4510372518d2976bc350 WHIRLPOOL 008bd1451a1e5252e1a6d97a96bd9722fc43599aec596d1839136c645f9c135a2218942f1c7b58a0ee3ffd4cc05b9da33d427b0ea2340e753cd475386748124d +DIST bumblebee-3.0.1.tar.gz 137534 SHA256 447eebbcfbc8877a7a15126b492f07b9186428e75c768b1eeb86ce71076f3e60 SHA512 4b1b37c4b6bef9ea2b91bcfdacf5a2dea18fc4ed245d9881f93454d5e23bb07d4048114ec79c143f82504e20526e7b55e5b8d3a1b83c08340c244ea93fbef150 WHIRLPOOL cf93188d39d2449a2410005649f26c5462a0610bd6c616052cbbb9e27f253cbc2ad394dd737fc963b956298ae6d706c0adf587aebd102a46e82bbe13a7549535 +DIST bumblebee-3.0.tar.gz 136935 SHA256 a27ddb77b282ac8b972857fdb0dc5061cf0a0982b7ac3e1cfa698b4f786e49a1 +EBUILD bumblebee-3.0-r2.ebuild 2058 SHA256 2d418474138e6bf1f50dcd74c0bc023f7efdded9add7f2e2ef28114f592e2a6a SHA512 0c261efb2c1fad80732f2a5b7ba946fb0d8efccf40c0c14e63a3c498d6540ccefcd101ce089d27d0599b2f8304d30c7c7382f03a5026bc8395c5f962b002d7e8 WHIRLPOOL bb35a6524687cd2bcd28960e1be5856424f3589723fa1562bbe06d7a7237b15f7e61687bfd356bd2a971f3922025a53044b3a94155f01ff3878b38fb7309ed6f +EBUILD bumblebee-3.0.1.ebuild 2050 SHA256 2d8a23d485ce97cee1839dc46158585b231ba0ba2f5b302620dd7945a64d6bc4 SHA512 46a04a68992aa4ce03e7f39bda363bc9de67238ec72574759906391cb0a9521602ac17ca7cf7b5c2fe4213c1fe7bbf72079364d138cc2b413e539153a35947f0 WHIRLPOOL 9acb50877b420acc1880cf6f6b9bc298b39dc3c8926ebd1eaa17bd757288b4cbd49a8c985cabbb0d3d0502a631d4a04d0328d10b5824429123bef7b32c84e6e4 +MISC ChangeLog 1954 SHA256 06847b396cfb6be1946acf5c343f749377f85056d565fb9636841e750f757813 SHA512 06c1f5e6fb0c77301241869f02e307ed370882ea58ba33702d31b68303021bfd2fed13ab08ea01d11d6a5c9c3dbee95e2e62d0accda14cb41b8d64ed1d45d257 WHIRLPOOL 7aca4241f449c9d2bb471c140c4a83879d2902ffe3b3e6ed3c318e46ce5f4567e4d4f95f0d577abd9f2944db1c15e2d004dd6d0f344774e281b39b46408989d1 +MISC metadata.xml 850 SHA256 402fc01c90d3969d01b8567a53a8af406087118382ef02f158b009b927014c14 SHA512 5d4fde7b767cc3cd27246ac19173d61f6cc0cea08dc6e810e0bfdc557d86b6286aa24bdf6e70fe488adbd4e866188d20182c07df39ad8731c24edb19657db387 WHIRLPOOL 7a7485591af12c10c7073deb8267d346c5efc2684df270c5a455de98302e0cdca8205c93d367c6058b8721de3a6fd307b875b052417c9a392db6b211a75a7d79 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBAgAGBQJP4cbpAAoJEOSiRoyO7jvomt0P+wSB3O+GQXCXaFPrV8NEwB+C -EQycfFScPN0q3m6TRxtmIwkGUq62ExUO/0qcHBKySe1RLgK9Yj/6KeBwtX6lvcav -q2FOUoJEqkKlFD9vrSXcPiN9alEclIQLoGdI6I4EuMxax4Cx/eZRBVSaIhXf5gmO -+Rk+fkSKrf1ObXRt4xuEioLhhHjTU6PIHMLJle0mzYMdNJG0+Axmd6s5HziNwa4e -1EyUuDeQZ0kPQjMoAyxqx2TB7dcjPYl2r5U9lcf87M+FBlj8FaLbxQ1q9ilBcpBD -wciRQ1oXjVh10aGKPIQs7pSPaGQq5UJ4Gez7ISPEDoJvWd15AFhmDGexztM/gkiS -61x3Oo5aoT57jaKnKFD+U+d+AOIWHmqR/TFu9AO4gT3AZN/zI1BDS4k6oQ/R6hGO -/jJVDJVOQw+qrnbBZezh+BpyXIomlYo87qbrmGbSf86U5f57S1FmXr2T7RRsvagg -m2p6OP1fBu0d80Fn06HQTvGR7svlC1F843G5n2v5ZfwoZwM8MP/CAo5gr3Wc2yvp -V8Adtj5uQQUNiyuXc7ZFIQUNRR+t2NqGhcn+kWIXUyTMlOIPBjlkXkA7M7cUaG2r -ll53Ih0HF/beKJp/ntOqF1hNnmoKk2IWuqUoL8faoMXWSC+U802t29l2y72HKcVg -fvcTT60zrfeYOxUaNQZq -=zSK0 +iEYEAREIAAYFAlBTknsACgkQCaWpQKGI+9TrxgCeIOVnwDTeB9/9RuMzaT+JxK7e +uHsAn3dFCCvS2n026KPwGfPjE8gU6dWP +=d75b -----END PGP SIGNATURE----- diff --git a/x11-misc/bumblebee/bumblebee-3.0.1.ebuild b/x11-misc/bumblebee/bumblebee-3.0.1.ebuild new file mode 100644 index 000000000000..6d80803b675e --- /dev/null +++ b/x11-misc/bumblebee/bumblebee-3.0.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/bumblebee/bumblebee-3.0.1.ebuild,v 1.1 2012/09/14 20:24:21 pacho Exp $ + +EAPI=4 +inherit multilib systemd user + +DESCRIPTION="Service providing elegant and stable means of managing Optimus graphics chipsets" +HOMEPAGE="https://github.com/Bumblebee-Project/Bumblebee" +SRC_URI="mirror://github/Bumblebee-Project/${PN/bu/Bu}/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86" + +IUSE="+bbswitch video_cards_nouveau video_cards_nvidia" + +RDEPEND="x11-misc/virtualgl + bbswitch? ( sys-power/bbswitch ) + virtual/opengl + x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]" +DEPEND=">=sys-devel/autoconf-2.68 + sys-devel/automake + sys-devel/gcc + virtual/pkgconfig + dev-libs/glib:2 + x11-libs/libX11 + dev-libs/libbsd + sys-apps/help2man" + +REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )" + +src_configure() { + if use video_cards_nvidia ; then + # Get paths to GL libs for all ABIs + local nvlib="" + for i in $(get_all_libdirs) ; do + nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib" + done + + local nvpref="/usr/$(get_libdir)/opengl/nvidia" + local xorgpref="/usr/$(get_libdir)/xorg/modules" + ECONF_PARAMS="CONF_DRIVER=nvidia CONF_DRIVER_MODULE_NVIDIA=nvidia \ + CONF_LDPATH_NVIDIA=${nvlib#:} \ + CONF_MODPATH_NVIDIA=${nvpref}/lib,${nvpref}/extensions,${xorgpref}/drivers,${xorgpref}" + fi + + econf ${ECONF_PARAMS} +} + +src_install() { + newconfd "${FILESDIR}"/bumblebee.confd bumblebee + newinitd "${FILESDIR}"/bumblebee.initd bumblebee + newenvd "${FILESDIR}"/bumblebee.envd 99bumblebee + systemd_dounit scripts/systemd/bumblebeed.service + default +} + +pkg_preinst() { + use video_cards_nvidia || rm "${ED}"/etc/bumblebee/xorg.conf.nvidia + use video_cards_nouveau || rm "${ED}"/etc/bumblebee/xorg.conf.nouveau + + enewgroup bumblebee +} + +pkg_postinst() { + ewarn "In order to use Bumblebee, add your user to 'bumblebee' group." + ewarn "You may need to setup your /etc/bumblebee/bumblebee.conf" +} |