public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dhcpcd-ui/
Date: Thu,  7 Jul 2016 22:54:47 +0000 (UTC)	[thread overview]
Message-ID: <1467931985.9ab1a2f12404eef7babcdc3ba906a98c091980d3.dlan@gentoo> (raw)

commit:     9ab1a2f12404eef7babcdc3ba906a98c091980d3
Author:     Lukáš Poláček <lukas <AT> ksp <DOT> sk>
AuthorDate: Mon Jun 27 06:21:57 2016 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Jul  7 22:53:05 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ab1a2f1

net-misc/dhcpcd-ui: Add knotify dependency

Package fails to build when libnotify and qt4 USE flags are set.
Adding knotify as a dependency fixes the issue.

Gentoo-Bug: 568166

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1763

Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 net-misc/dhcpcd-ui/dhcpcd-ui-0.7.5-r1.ebuild | 60 ++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.5-r1.ebuild b/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.5-r1.ebuild
new file mode 100644
index 0000000..78bfb2a
--- /dev/null
+++ b/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.5-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit qmake-utils systemd
+
+DESCRIPTION="Desktop notification and configuration for dhcpcd"
+HOMEPAGE="http://roy.marples.name/projects/dhcpcd-ui/"
+SRC_URI="http://roy.marples.name/downloads/${PN%-ui}/${P}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug gtk gtk3 qt4 libnotify"
+
+REQUIRED_USE="
+	?? ( gtk gtk3 qt4 )
+	gtk3? ( !gtk )
+	gtk? ( !gtk3 )"
+
+DEPEND="
+	virtual/libintl
+	libnotify? (
+		gtk?  ( x11-libs/libnotify )
+		gtk3? ( x11-libs/libnotify )
+		qt4?  ( kde-base/kdelibs kde-apps/knotify )
+	)
+	gtk?  ( x11-libs/gtk+:2 )
+	gtk3? ( x11-libs/gtk+:3 )
+	qt4?  ( dev-qt/qtgui:4 )"
+
+RDEPEND=">=net-misc/dhcpcd-6.4.4"
+
+pkg_setup() {
+	if use qt4 ; then
+		# This is required in case a user still has qt3 installed
+		export QTDIR="$(qt4_get_bindir)"
+	fi
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable debug)
+		$(usex gtk  '--with-gtk=gtk+-2.0 --with-icons' '')
+		$(usex gtk3 '--with-gtk=gtk+-3.0 --with-icons' '')
+		$(usex qt4 '--with-qt --with-icons' '--without-qt')
+		$(use_enable libnotify notification)
+		$(use gtk || use gtk3 || echo '--without-gtk')
+		$(use gtk || use gtk3 || use qt4 || echo '--without-icons')
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
+
+	systemd_dounit src/dhcpcd-online/dhcpcd-wait-online.service
+}


             reply	other threads:[~2016-07-07 22:54 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-07 22:54 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-14 16:33 [gentoo-commits] repo/gentoo:master commit in: net-misc/dhcpcd-ui/ Petr Vaněk
2023-12-24 17:21 Arthur Zamarin
2021-10-24  9:29 Sam James
2021-03-08 10:26 Sam James
2021-03-08 10:25 Sam James
2021-02-07 20:19 Andreas Sturmlechner
2021-01-15 17:42 Lars Wendler
2020-12-28 19:44 Lars Wendler
2020-08-06 10:21 Lars Wendler
2020-08-06 10:18 Lars Wendler
2020-07-05 13:44 Agostino Sarubbo
2020-07-05 13:36 Agostino Sarubbo
2020-07-02 15:02 Lars Wendler
2019-12-21 14:54 Lars Wendler
2018-08-16 17:25 Jonas Stein
2017-09-10 22:18 Andreas Sturmlechner
2017-09-10 22:18 Andreas Sturmlechner
2017-02-12 15:44 Agostino Sarubbo
2017-02-04 15:21 Agostino Sarubbo
2016-12-26 17:19 Lars Wendler
2016-03-23 12:14 Lars Wendler
2015-10-25 10:49 Mikle Kolyada
2015-10-19  9:27 Agostino Sarubbo

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=1467931985.9ab1a2f12404eef7babcdc3ba906a98c091980d3.dlan@gentoo \
    --to=dlan@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