From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 079951382F6 for ; Thu, 7 Jul 2016 22:54:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EA67941B7; Thu, 7 Jul 2016 22:54:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B676C941B7 for ; Thu, 7 Jul 2016 22:54:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 82026340B66 for ; Thu, 7 Jul 2016 22:54:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0BBC52098 for ; Thu, 7 Jul 2016 22:54:47 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1467931985.9ab1a2f12404eef7babcdc3ba906a98c091980d3.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dhcpcd-ui/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/dhcpcd-ui/dhcpcd-ui-0.7.5-r1.ebuild X-VCS-Directories: net-misc/dhcpcd-ui/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 9ab1a2f12404eef7babcdc3ba906a98c091980d3 X-VCS-Branch: master Date: Thu, 7 Jul 2016 22:54:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6d33e697-1db0-494a-9d8e-49f6853fc729 X-Archives-Hash: ef5f72ab5e942789a5f4a96f0d261396 commit: 9ab1a2f12404eef7babcdc3ba906a98c091980d3 Author: Lukáš Poláček ksp sk> AuthorDate: Mon Jun 27 06:21:57 2016 +0000 Commit: Yixun Lan gentoo 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 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 +}