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 D7B7D1382C5 for ; Wed, 28 Apr 2021 07:31:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 417A5E0822; Wed, 28 Apr 2021 07:31:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 27CDBE0822 for ; Wed, 28 Apr 2021 07:31:43 +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 DB22634095A for ; Wed, 28 Apr 2021 07:31:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4FF6F4D2 for ; Wed, 28 Apr 2021 07:31:40 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1619595093.86bd90724e3a4e13b1b4ef7b97e08b611d5d6da9.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/libgdiplus/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-dotnet/libgdiplus/libgdiplus-6.0.2-r1.ebuild X-VCS-Directories: dev-dotnet/libgdiplus/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 86bd90724e3a4e13b1b4ef7b97e08b611d5d6da9 X-VCS-Branch: master Date: Wed, 28 Apr 2021 07:31:40 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f295c4d4-6fcb-485e-88b1-55961be62afb X-Archives-Hash: de4041df23fe7077e6b7476cb8fd14d5 commit: 86bd90724e3a4e13b1b4ef7b97e08b611d5d6da9 Author: Theo Anderson posteo de> AuthorDate: Mon Jan 18 01:56:41 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Apr 28 07:31:33 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86bd9072 dev-dotnet/libgdiplus: fix --with-pango configure, fix pango linking Closes: https://bugs.gentoo.org/700280 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Theo Anderson posteo.de> Closes: https://github.com/gentoo/gentoo/pull/19096 Signed-off-by: Joonas Niilola gentoo.org> dev-dotnet/libgdiplus/libgdiplus-6.0.2-r1.ebuild | 60 ++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/dev-dotnet/libgdiplus/libgdiplus-6.0.2-r1.ebuild b/dev-dotnet/libgdiplus/libgdiplus-6.0.2-r1.ebuild new file mode 100644 index 00000000000..6de35495da5 --- /dev/null +++ b/dev-dotnet/libgdiplus/libgdiplus-6.0.2-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils dotnet + +DESCRIPTION="Library for using System.Drawing with Mono" +HOMEPAGE="https://www.mono-project.com" +SRC_URI="https://download.mono-project.com/sources/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="cairo" +#skip tests due https://bugs.gentoo.org/687784 +RESTRICT="test" + +RDEPEND="dev-libs/glib + media-libs/freetype + media-libs/fontconfig + >=media-libs/giflib-5.1.2 + media-libs/libexif + media-libs/libpng:0= + media-libs/tiff + x11-libs/cairo[X] + x11-libs/libX11 + x11-libs/libXrender + x11-libs/libXt + virtual/jpeg:0 + !cairo? ( x11-libs/pango )" +DEPEND="${RDEPEND}" + +src_prepare() { + default + # Don't default to pango when `--with-pango` is not given. + # Link against correct pango libraries. Bug #700280 + sed -e 's/text_v=default/text_v=cairo/' \ + -e 's/pangocairo/pangocairo pangoft2/' \ + -i configure.ac || die + eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + $(usex cairo "" "--with-pango") +} + +src_install() { + default + + dotnet_multilib_comply + local commondoc=( AUTHORS ChangeLog README TODO ) + for docfile in "${commondoc[@]}"; do + [[ -e "${docfile}" ]] && dodoc "${docfile}" + done + [[ "${DOCS[@]}" ]] && dodoc "${DOCS[@]}" + find "${ED}" -name '*.la' -delete || die +}