public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: x11-themes/bespin/
Date: Tue, 25 Feb 2014 17:40:20 +0000 (UTC)	[thread overview]
Message-ID: <1393350000.b88d40e5de761b2114e52056bb992aa2f6e4ff25.kensington@gentoo> (raw)

commit:     b88d40e5de761b2114e52056bb992aa2f6e4ff25
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 25 17:40:00 2014 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Feb 25 17:40:00 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=b88d40e5

[x11-themes/bespin] Fix build with USE="-kde" wrt bug #484204.

Package-Manager: portage-2.2.7

---
 x11-themes/bespin/bespin-9999.ebuild | 38 +++++++++++++++++++++++++++---------
 1 file changed, 29 insertions(+), 9 deletions(-)

diff --git a/x11-themes/bespin/bespin-9999.ebuild b/x11-themes/bespin/bespin-9999.ebuild
index 845139a..3910735 100644
--- a/x11-themes/bespin/bespin-9999.ebuild
+++ b/x11-themes/bespin/bespin-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 KDE_REQUIRED="optional"
 KDE_SCM="svn"
 
-inherit kde4-base
+inherit kde4-base qmake-utils
 
 if [[ $PV != *9999 ]]; then
 	REV="1669"
@@ -38,12 +38,32 @@ DEPEND="
 "
 
 src_configure() {
-	mycmakeargs=(
-		$(cmake-utils_use_enable kde KDE)
-		$(cmake-utils_use_enable windeco KWIN)
-		$(cmake-utils_use_enable plasma XBAR)
-		-DENABLE_ARGB=ON
-	)
-
-	kde4-base_src_configure
+	if use kde ; then
+		local mycmakeargs=(
+			$(cmake-utils_use_enable kde KDE)
+			$(cmake-utils_use_enable windeco KWIN)
+			$(cmake-utils_use_enable plasma XBAR)
+			-DENABLE_ARGB=ON
+		)
+
+		kde4-base_src_configure
+	else
+		eqmake4
+	fi
+}
+
+src_compile() {
+	if use kde ; then
+		kde4-base_src_compile
+	else
+		default
+	fi
+}
+
+src_install() {
+	if use kde ; then
+		kde4-base_src_install
+	else
+		emake INSTALL_ROOT="${D}" install
+	fi
 }


             reply	other threads:[~2014-02-25 17:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-25 17:40 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-03-23 19:11 [gentoo-commits] proj/kde:master commit in: x11-themes/bespin/ Johannes Huber
2015-06-06 19:51 Michael Palimaka
2015-06-06 19:33 Michael Palimaka
2014-02-25 17:52 Michael Palimaka
2014-02-25 17:45 Michael Palimaka
2014-02-25 17:13 Michael Palimaka
2014-02-10 15:41 Manuel Rüger
2013-10-21  3:41 Chris Reffett
2013-05-14 14:42 David Heidelberger
2013-04-26 20:53 Johannes Huber
2012-08-22 20:12 Johannes Huber
2012-07-14 17:35 Michael Palimaka
2012-07-06 22:01 Chris Reffett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1393350000.b88d40e5de761b2114e52056bb992aa2f6e4ff25.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox