public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/m17n-lib/
Date: Tue, 28 Aug 2018 14:02:29 +0000 (UTC)	[thread overview]
Message-ID: <1535464929.a2bec49a3f9149ae56868b7a95a6c6fd2e25cf4f.hattya@gentoo> (raw)

commit:     a2bec49a3f9149ae56868b7a95a6c6fd2e25cf4f
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 28 14:02:09 2018 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Tue Aug 28 14:02:09 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2bec49a

dev-libs/m17n-lib: new upstream release

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-libs/m17n-lib/Manifest              |  1 +
 dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild | 85 +++++++++++++++++++++++++++++++++
 dev-libs/m17n-lib/metadata.xml          | 31 +++++-------
 3 files changed, 98 insertions(+), 19 deletions(-)

diff --git a/dev-libs/m17n-lib/Manifest b/dev-libs/m17n-lib/Manifest
index 88e4c703a49..4af74c61ae1 100644
--- a/dev-libs/m17n-lib/Manifest
+++ b/dev-libs/m17n-lib/Manifest
@@ -1 +1,2 @@
 DIST m17n-lib-1.7.0.tar.gz 1063169 BLAKE2B 61192d26dec8a8bdb55b6a819c5b1aa5503e4320d57864889065c9490ee6720f5b258fbef10d5944f69f5a9ccbe49ea5494c8b0a10d536592c301f46df6826c5 SHA512 26fc1be02a5e487a2fa5f2f63d991f3c745aa1b78e20d931fe4b265125266501cc8d402aa3cb5c1b71a7d4c0f7a0bf5b2c3b17ec5f4f8e0f5ee3052ad4e205b7
+DIST m17n-lib-1.8.0.tar.gz 1091731 BLAKE2B a4b55fbc3246fe0865dcf1647e91d03de6ead06fb4349ba207613cdea6bb079c0e7623510a6fb046dce4bfefd262f68c41c9174d29a2b4a6f673da298642e1cb SHA512 8aba862888393232172c03cdf52531e29ea969c4327e6f69879ecf7438eafee32782f509ec292b3e1b7cd3202e2764984d7a59e85cdb87a7c8bfcbac5b0ee6fd

diff --git a/dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild b/dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild
new file mode 100644
index 00000000000..7ea10bb0d92
--- /dev/null
+++ b/dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit autotools
+
+DESCRIPTION="Multilingual Library for Unix/Linux"
+HOMEPAGE="https://savannah.nongnu.org/projects/m17n https://git.savannah.nongnu.org/cgit/m17n/m17n-lib.git"
+SRC_URI="mirror://nongnu/m17n/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="X anthy athena bidi fontconfig gd libotf libxml2 spell xft"
+
+RDEPEND="~dev-db/m17n-db-${PV}
+	X? (
+		x11-libs/libX11
+		athena? ( x11-libs/libXaw )
+		bidi? ( dev-libs/fribidi )
+		fontconfig? ( media-libs/fontconfig )
+		gd? ( media-libs/gd[png] )
+		libotf? ( dev-libs/libotf )
+		xft? (
+			media-libs/freetype
+			x11-libs/libXft
+		)
+	)
+	anthy? ( app-i18n/anthy )
+	libxml2? ( dev-libs/libxml2 )
+	spell? ( app-text/aspell )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-configure.patch
+	"${FILESDIR}"/${PN}-freetype.patch
+	"${FILESDIR}"/${PN}-gui.patch
+	"${FILESDIR}"/${PN}-ispell.patch
+	"${FILESDIR}"/${PN}-parallel-make.patch
+)
+
+src_prepare() {
+	default
+
+	eautoreconf
+	# workaround for parallel install
+	sed -i "/^install-module/s/:/: install-libLTLIBRARIES/" src/Makefile.in
+}
+
+src_configure() {
+	local myconf=(
+		$(use_with anthy)
+		$(use_with libxml2)
+		$(use_with spell ispell)
+	)
+	if use X; then
+		myconf+=(
+			$(use_with athena)
+			$(use_with bidi fribidi)
+			$(use_with fontconfig)
+			$(use_with xft freetype)
+			$(use_with gd)
+			--with-gui
+			$(use_with libotf)
+			--with-x
+			$(use_with xft)
+		)
+	else
+		myconf+=(
+			--without-athena
+			--without-fontconfig
+			--without-freetype
+			--without-fribidi
+			--without-gd
+			--without-gui
+			--without-libotf
+			--without-x
+			--without-xft
+		)
+	fi
+
+	econf "${myconf[@]}"
+}

diff --git a/dev-libs/m17n-lib/metadata.xml b/dev-libs/m17n-lib/metadata.xml
index 0c2995cb954..75b918da508 100644
--- a/dev-libs/m17n-lib/metadata.xml
+++ b/dev-libs/m17n-lib/metadata.xml
@@ -1,23 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="project">
-    <email>cjk@gentoo.org</email>
-    <name>Cjk</name>
-  </maintainer>
-  <use>
-    <flag name="X">Build the Graphical User Interface API and utilities</flag>
-    <flag name="anthy">
-      Enable support for <pkg>app-i18n/anthy</pkg> input method
-    </flag>
-    <flag name="athena">
-      Enable the MIT Athena widget set (<pkg>x11-libs/libXaw</pkg>)
-    </flag>
-    <flag name="gd">
-      Build API and utilities based on <pkg>media-libs/gd</pkg>. This
-      flag is only meaningful if the X USE flag is also enabled.
-    </flag>
-    <flag name="libotf">Use <pkg>dev-libs/libotf</pkg> to handle OpenType fonts</flag>
-    <flag name="libxml2">Use <pkg>dev-libs/libxml2</pkg> to parse XML</flag>
-  </use>
+	<maintainer type="project">
+		<email>cjk@gentoo.org</email>
+		<name>Cjk</name>
+	</maintainer>
+	<use>
+		<flag name="X">Build the Graphical User Interface API and utilities</flag>
+		<flag name="anthy">Enable support for <pkg>app-i18n/anthy</pkg> input method</flag>
+		<flag name="athena">Enable the MIT Athena widget set (<pkg>x11-libs/libXaw</pkg>)</flag>
+		<flag name="gd">Build API and utilities based on <pkg>media-libs/gd</pkg>. This flag is only meaningful if the X USE flag is also enabled</flag>
+		<flag name="libotf">Use <pkg>dev-libs/libotf</pkg> to handle OpenType fonts</flag>
+		<flag name="libxml2">Use <pkg>dev-libs/libxml2</pkg> to parse XML</flag>
+	</use>
 </pkgmetadata>


             reply	other threads:[~2018-08-28 14:02 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-28 14:02 Akinori Hattori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-15  6:51 [gentoo-commits] repo/gentoo:master commit in: dev-libs/m17n-lib/ Akinori Hattori
2024-09-12 13:45 Sam James
2024-09-12  5:38 Jakov Smolić
2024-09-07  9:15 Sam James
2024-09-07  9:15 Sam James
2024-09-07  9:15 Sam James
2024-09-07  9:15 Sam James
2024-09-07  8:17 Sam James
2024-06-27 12:52 Akinori Hattori
2024-06-27 12:52 Akinori Hattori
2024-06-22  9:09 Akinori Hattori
2024-06-22  9:09 Akinori Hattori
2024-01-17 16:50 WANG Xuerui
2021-11-30 13:06 Akinori Hattori
2021-11-29  8:14 Arthur Zamarin
2021-11-28 23:36 Jakov Smolić
2021-11-28 19:28 Arthur Zamarin
2021-11-28 19:28 Arthur Zamarin
2021-11-28 19:28 Arthur Zamarin
2021-11-28  8:03 Arthur Zamarin
2021-11-28  7:38 Arthur Zamarin
2021-11-27  6:09 Akinori Hattori
2021-08-23 11:41 Marek Szuba
2020-04-05 10:07 Sergei Trofimovich
2019-07-26 13:18 Aaron Bauman
2018-04-16 18:29 Mike Gilbert
2018-03-21  5:55 Markus Meier
2018-02-10 20:52 Sergei Trofimovich
2017-11-17 11:18 Tobias Klausmann
2017-11-16 19:43 Sergei Trofimovich
2017-11-11 12:34 Sergei Trofimovich
2017-11-10 10:23 Sergei Trofimovich
2017-11-02 20:19 Sergei Trofimovich
2017-11-01 20:54 Mike Gilbert
2017-11-01 20:54 Mike Gilbert
2017-08-04  4:31 Markus Meier
2017-07-08  9:43 Sergei Trofimovich
2017-07-05 13:43 Akinori Hattori
2017-07-05 13:24 Akinori Hattori
2017-07-05 13:20 Akinori Hattori
2017-07-05 12:50 Akinori Hattori
2017-07-04 15:49 Agostino Sarubbo
2017-07-04 10:17 Agostino Sarubbo
2017-06-18 11:56 Alexis Ballier

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=1535464929.a2bec49a3f9149ae56868b7a95a6c6fd2e25cf4f.hattya@gentoo \
    --to=hattya@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