From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6E64A58973 for ; Wed, 20 Jan 2016 12:57:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 885BA21C00E; Wed, 20 Jan 2016 12:57:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 21DDA21C00E for ; Wed, 20 Jan 2016 12:57:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9B3EB340AC8 for ; Wed, 20 Jan 2016 12:57:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 19E2CCF3 for ; Wed, 20 Jan 2016 12:57:49 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1453294645.46f0cbc7b6f2fba7d0df44852f6591eb0086b9bf.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/kolourpaint/ X-VCS-Repository: proj/kde X-VCS-Files: kde-apps/kolourpaint/kolourpaint-15.12.1.ebuild kde-apps/kolourpaint/kolourpaint-15.12.49.9999.ebuild kde-apps/kolourpaint/kolourpaint-9999.ebuild X-VCS-Directories: kde-apps/kolourpaint/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 46f0cbc7b6f2fba7d0df44852f6591eb0086b9bf X-VCS-Branch: master Date: Wed, 20 Jan 2016 12:57:49 +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: 68cb635d-f304-4fb5-a657-8f188d5ade99 X-Archives-Hash: 0b1788b52f4f111c8d15cff861b9ab86 commit: 46f0cbc7b6f2fba7d0df44852f6591eb0086b9bf Author: Michael Palimaka gentoo org> AuthorDate: Wed Jan 20 12:57:25 2016 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Wed Jan 20 12:57:25 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=46f0cbc7 kde-apps/kolourpaint: introduce scanner USE flag Package-Manager: portage-2.2.27 kde-apps/kolourpaint/kolourpaint-15.12.1.ebuild | 21 +++++++++++++-------- .../kolourpaint/kolourpaint-15.12.49.9999.ebuild | 21 +++++++++++++-------- kde-apps/kolourpaint/kolourpaint-9999.ebuild | 21 +++++++++++++-------- 3 files changed, 39 insertions(+), 24 deletions(-) diff --git a/kde-apps/kolourpaint/kolourpaint-15.12.1.ebuild b/kde-apps/kolourpaint/kolourpaint-15.12.1.ebuild index 8b1c5a6..0a2407b 100644 --- a/kde-apps/kolourpaint/kolourpaint-15.12.1.ebuild +++ b/kde-apps/kolourpaint/kolourpaint-15.12.1.ebuild @@ -11,15 +11,20 @@ DESCRIPTION="Paint Program for KDE" HOMEPAGE="https://www.kde.org/applications/graphics/kolourpaint/" KEYWORDS=" ~amd64 ~x86" LICENSE="BSD LGPL-2" -IUSE="debug" +IUSE="debug scanner" -DEPEND="media-libs/qimageblitz" -RDEPEND="${DEPEND}" +DEPEND=" + media-libs/qimageblitz + scanner? ( $(add_kdeapps_dep libksane) ) +" +RDEPEND="${DEPEND} + scanner? ( $(add_kdeapps_dep ksaneplugin) ) +" -pkg_postinst() { - kde4-base_pkg_postinst +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package scanner KSane) + ) - if ! has_version kde-apps/ksaneplugin:${SLOT} ; then - elog "To enable scanner support, please install kde-apps/ksaneplugin:${SLOT}" - fi + kde4-base_src_configure } diff --git a/kde-apps/kolourpaint/kolourpaint-15.12.49.9999.ebuild b/kde-apps/kolourpaint/kolourpaint-15.12.49.9999.ebuild index 15da9a0..0e93748 100644 --- a/kde-apps/kolourpaint/kolourpaint-15.12.49.9999.ebuild +++ b/kde-apps/kolourpaint/kolourpaint-15.12.49.9999.ebuild @@ -11,15 +11,20 @@ DESCRIPTION="Paint Program for KDE" HOMEPAGE="https://www.kde.org/applications/graphics/kolourpaint/" KEYWORDS="" LICENSE="BSD LGPL-2" -IUSE="debug" +IUSE="debug scanner" -DEPEND="media-libs/qimageblitz" -RDEPEND="${DEPEND}" +DEPEND=" + media-libs/qimageblitz + scanner? ( $(add_kdeapps_dep libksane) ) +" +RDEPEND="${DEPEND} + scanner? ( $(add_kdeapps_dep ksaneplugin) ) +" -pkg_postinst() { - kde4-base_pkg_postinst +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package scanner KSane) + ) - if ! has_version kde-apps/ksaneplugin:${SLOT} ; then - elog "To enable scanner support, please install kde-apps/ksaneplugin:${SLOT}" - fi + kde4-base_src_configure } diff --git a/kde-apps/kolourpaint/kolourpaint-9999.ebuild b/kde-apps/kolourpaint/kolourpaint-9999.ebuild index 15da9a0..0e93748 100644 --- a/kde-apps/kolourpaint/kolourpaint-9999.ebuild +++ b/kde-apps/kolourpaint/kolourpaint-9999.ebuild @@ -11,15 +11,20 @@ DESCRIPTION="Paint Program for KDE" HOMEPAGE="https://www.kde.org/applications/graphics/kolourpaint/" KEYWORDS="" LICENSE="BSD LGPL-2" -IUSE="debug" +IUSE="debug scanner" -DEPEND="media-libs/qimageblitz" -RDEPEND="${DEPEND}" +DEPEND=" + media-libs/qimageblitz + scanner? ( $(add_kdeapps_dep libksane) ) +" +RDEPEND="${DEPEND} + scanner? ( $(add_kdeapps_dep ksaneplugin) ) +" -pkg_postinst() { - kde4-base_pkg_postinst +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package scanner KSane) + ) - if ! has_version kde-apps/ksaneplugin:${SLOT} ; then - elog "To enable scanner support, please install kde-apps/ksaneplugin:${SLOT}" - fi + kde4-base_src_configure }