public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/libgdiplus/
Date: Wed, 28 Apr 2021 07:31:40 +0000 (UTC)	[thread overview]
Message-ID: <1619595093.86bd90724e3a4e13b1b4ef7b97e08b611d5d6da9.juippis@gentoo> (raw)

commit:     86bd90724e3a4e13b1b4ef7b97e08b611d5d6da9
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Mon Jan 18 01:56:41 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> 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 <telans <AT> posteo.de>
Closes: https://github.com/gentoo/gentoo/pull/19096
Signed-off-by: Joonas Niilola <juippis <AT> 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
+}


             reply	other threads:[~2021-04-28  7:31 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28  7:31 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-08 18:39 [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/libgdiplus/ Sam James
2021-12-05 18:31 Sam James
2021-12-05  7:49 Jakov Smolić
2020-03-31  8:28 Mikle Kolyada
2020-03-27 16:31 Agostino Sarubbo
2019-12-23 23:21 James Le Cuirot
2019-08-20 12:11 Stefan Strogin
2019-07-27 12:54 Aaron Bauman
2019-06-17  6:40 Mikhail Pukhlikov
2019-06-07 11:32 Mikhail Pukhlikov
2018-12-08 21:47 Anthony G. Basile
2018-12-07  1:13 Anthony G. Basile
2018-03-08 22:08 Michał Górny
2017-06-26 10:21 Alexis Ballier
2017-02-23 16:30 Agostino Sarubbo
2017-02-23 15:55 Agostino Sarubbo
2017-02-23  7:41 Michael Weber
2017-02-09  7:01 Mikhail Pukhlikov
2017-02-08 11:39 Mikhail Pukhlikov
2016-11-20  8:43 Michael Palimaka
2016-11-20  8:43 Michael Palimaka
2016-02-24 13:08 Heather Cynede
2016-01-27 23:02 Ian Delaney
2016-01-21  9:09 Heather Cynede
2015-08-14  7:18 Heather Cynede

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=1619595093.86bd90724e3a4e13b1b4ef7b97e08b611d5d6da9.juippis@gentoo \
    --to=juippis@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