From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1120824-garchives=archives.gentoo.org@lists.gentoo.org>
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 7760E138334
	for <garchives@archives.gentoo.org>; Thu,  7 Nov 2019 08:11:23 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 96C97E08F3;
	Thu,  7 Nov 2019 08:11:22 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 30F5DE08F3
	for <gentoo-commits@lists.gentoo.org>; Thu,  7 Nov 2019 08:11:22 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A7D8B34CA02
	for <gentoo-commits@lists.gentoo.org>; Thu,  7 Nov 2019 08:11:18 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id AD23D5FF
	for <gentoo-commits@lists.gentoo.org>; Thu,  7 Nov 2019 08:11:15 +0000 (UTC)
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" <polynomial-c@gentoo.org>
Message-ID: <1573114266.343aa41ec2ce85c7b6905c1666e77a41d22276d4.polynomial-c@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/inkscape/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-gfx/inkscape/inkscape-1.0_beta1.ebuild
X-VCS-Directories: media-gfx/inkscape/
X-VCS-Committer: polynomial-c
X-VCS-Committer-Name: Lars Wendler
X-VCS-Revision: 343aa41ec2ce85c7b6905c1666e77a41d22276d4
X-VCS-Branch: master
Date: Thu,  7 Nov 2019 08:11:15 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 914f9cb4-b495-43fc-9a65-b57b36a84a62
X-Archives-Hash: 9abf0b637a9808eab97e26c026dbfc78

commit:     343aa41ec2ce85c7b6905c1666e77a41d22276d4
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  7 08:06:01 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Nov  7 08:11:06 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=343aa41e

media-gfx/inkscape: Added BDEPEND and fixed some style issues

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 media-gfx/inkscape/inkscape-1.0_beta1.ebuild | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/media-gfx/inkscape/inkscape-1.0_beta1.ebuild b/media-gfx/inkscape/inkscape-1.0_beta1.ebuild
index 1e150bf71bd..5084ffd08c6 100644
--- a/media-gfx/inkscape/inkscape-1.0_beta1.ebuild
+++ b/media-gfx/inkscape/inkscape-1.0_beta1.ebuild
@@ -21,7 +21,8 @@ KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
 IUSE="cdr dia dbus exif gnome graphicsmagick +imagemagick openmp postscript inkjar jpeg svg2 jemalloc"
 IUSE+=" lcms nls spell static-libs visio wpg"
 
-REQUIRED_USE="${PYTHON_REQUIRED_USE} ^^ ( imagemagick graphicsmagick )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+	^^ ( imagemagick graphicsmagick )"
 
 COMMON_DEPEND="${PYTHON_DEPS}
 	>=app-text/poppler-0.57.0:=[cairo]
@@ -86,6 +87,8 @@ RDEPEND="${COMMON_DEPEND}
 "
 DEPEND="${COMMON_DEPEND}
 	>=dev-libs/boost-1.65
+"
+BDEPEND="
 	dev-util/glib-utils
 	>=dev-util/intltool-0.40
 	>=sys-devel/gettext-0.17
@@ -118,13 +121,13 @@ src_configure() {
 	# aliasing unsafe wrt #310393
 	append-flags -fno-strict-aliasing
 
-mycmakeargs=(
+	mycmakeargs=(
 	-DWITH_DBUS="$(usex dbus ON OFF)"   # Compile with support for DBus interface
 	-DENABLE_LCMS="$(usex lcms ON OFF)"   # Compile with LCMS support
 	-DWITH_SVG2="$(usex svg2 ON OFF)"   # Compile with support for new SVG2 features
-#    -DWITH_LPETOOL   # Compile with LPE Tool and experimental LPEs enabled
+	#-DWITH_LPETOOL   # Compile with LPE Tool and experimental LPEs enabled
 	-DWITH_OPENMP="$(usex openmp ON OFF)"   # Compile with OpenMP support
-#    -DWITH_PROFILING   # Turn on profiling
+	#-DWITH_PROFILING   # Turn on profiling
 	-DBUILD_SHARED_LIBS="$(usex !static-libs ON OFF)"  # Compile libraries as shared and not static
 	-DENABLE_POPPLER=ON   # Compile with support of libpoppler
 	-DENABLE_POPPLER_CAIRO=ON   # Compile with support of libpoppler-cairo for rendering PDF preview (depends on ENABLE_POPPLER)
@@ -135,7 +138,7 @@ mycmakeargs=(
 	-DWITH_LIBWPG="$(usex wpg ON OFF)"   # Compile with support of libwpg for WordPerfect Graphics
 	-DWITH_NLS="$(usex nls ON OFF)"   # Compile with Native Language Support (using gettext)
 	-DWITH_JEMALLOC="$(usex jemalloc ON OFF)"   # Compile with JEMALLOC support
-)
+	)
 
 	cmake-utils_src_configure
 }
@@ -143,10 +146,10 @@ mycmakeargs=(
 src_install() {
 	default
 
-	find "${ED}" -name "*.la" -delete || die
+	find "${ED}" -type f -name "*.la" -delete || die
 
 	# No extensions are present in beta1
-	if [ -n $(find "${ED}"/usr/share/${PN}/extensions -mindepth 1) ]; then
+	if [[ -n $(find "${ED}"/usr/share/${PN}/extensions -mindepth 1) ]]; then
 		python_optimize "${ED}"/usr/share/${PN}/extensions
 	fi