From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/libidn/
Date: Mon, 17 May 2021 22:24:40 +0000 (UTC) [thread overview]
Message-ID: <1621290270.ef301d876e10541ad7783b7c3f92d775f73e5549.sam@gentoo> (raw)
commit: ef301d876e10541ad7783b7c3f92d775f73e5549
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 17 22:14:05 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 17 22:24:30 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef301d87
net-dns/libidn: add 1.37
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-dns/libidn/Manifest | 2 +
net-dns/libidn/libidn-1.37.ebuild | 122 ++++++++++++++++++++++++++++++++++++++
2 files changed, 124 insertions(+)
diff --git a/net-dns/libidn/Manifest b/net-dns/libidn/Manifest
index 7d30534963a..5531e76951e 100644
--- a/net-dns/libidn/Manifest
+++ b/net-dns/libidn/Manifest
@@ -1 +1,3 @@
DIST libidn-1.36.tar.gz 4557804 BLAKE2B 562ea97cba7970e3f3bd1557ba9e25e4180cca1b5cb8f66539f7830baf195cd36dc513c50e2475829af42d420e3d3b73a1c002acb06579c8b8b3879dcc8f95b2 SHA512 0d66e10bf7a8de4b27f692a427d2c8e901b8bed73b0a36268d8f939205df81f6a30f0634fd3b87370d4e81c1327c0b10391fa122a0a5459c32a3541b8a2149ad
+DIST libidn-1.37.tar.gz 2603177 BLAKE2B 2f55644b8e521ae75638e6b660f7a7e457957b783bfa359de497a475f70372d46557d9abd1263588cf8aecbaa713f24e5baf460b4aa663d3ead7326f296a58dc SHA512 198a5b2f0db3ad076e3726dda7f197835dd93a126ee796c138185abd09ee2f828042225dd570fa19b58b3e81b120daf929f348a55f9a536c546dd3311c29e27c
+DIST libidn-1.37.tar.gz.sig 488 BLAKE2B 449e2222becc9c3714463c9875a625ef017aad9c188c2487ea3c7677a56c7821f02ac39404581bb033a23860e8b07251efabefd85a1f2be91461f2bd27162869 SHA512 6fc3543d32d2a2b730ee22c04098420200292c95582a625cbd05729b3df40f87faa35aaceb9fa45245fa891971a10f47281f490eb7bc3099910e349c643360a2
diff --git a/net-dns/libidn/libidn-1.37.ebuild b/net-dns/libidn/libidn-1.37.ebuild
new file mode 100644
index 00000000000..70da61fa213
--- /dev/null
+++ b/net-dns/libidn/libidn-1.37.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libidn.asc
+inherit elisp-common java-pkg-opt-2 libtool mono-env multilib-minimal verify-sig
+
+DESCRIPTION="Internationalized Domain Names (IDN) implementation"
+HOMEPAGE="https://www.gnu.org/software/libidn/"
+SRC_URI="mirror://gnu/libidn/${P}.tar.gz
+ verify-sig? ( mirror://gnu/libidn/${P}.tar.gz.sig )"
+
+LICENSE="GPL-2 GPL-3 LGPL-3 java? ( Apache-2.0 )"
+SLOT="0/12"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc emacs java mono nls"
+
+DOCS=( AUTHORS ChangeLog FAQ NEWS README THANKS )
+
+COMMON_DEPEND="
+ mono? ( >=dev-lang/mono-0.95 )
+ nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ java? ( >=virtual/jdk-1.8:* )
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ java? ( >=virtual/jre-1.8:* )
+"
+BDEPEND="
+ emacs? ( >=app-editors/emacs-23.1:* )
+ nls? ( >=sys-devel/gettext-0.17 )
+ verify-sig? ( app-crypt/openpgp-keys-libidn )
+"
+
+pkg_setup() {
+ mono-env_pkg_setup
+ java-pkg-opt-2_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ # Bundled and with wrong bytecode
+ rm "${S}/java/${P}.jar" || die
+
+ # For Solaris shared objects
+ elibtoolize
+}
+
+multilib_src_configure() {
+ local -x GJDOC=javadoc
+
+ local args=(
+ $(multilib_native_use_enable java)
+ $(multilib_native_use_enable mono csharp mono)
+ $(use_enable nls)
+ --disable-static
+ --disable-valgrind-tests
+ --with-lispdir="${EPREFIX}${SITELISP}/${PN}"
+ --with-packager-bug-reports="https://bugs.gentoo.org"
+ --with-packager-version="r${PR}"
+ --with-packager="Gentoo"
+ )
+
+ ECONF_SOURCE="${S}" econf "${args[@]}"
+}
+
+multilib_src_compile() {
+ default
+
+ if multilib_is_native_abi; then
+ use emacs && elisp-compile "${S}"/src/*.el
+ use java && use doc && emake -C java/src/main/java javadoc
+ fi
+}
+
+multilib_src_test() {
+ # Only run libidn specific tests and not gnulib tests (bug #539356)
+ emake -C tests check
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+
+ if multilib_is_native_abi && use java; then
+ java-pkg_newjar java/${P}.jar ${PN}.jar
+
+ rm -r "${ED}"/usr/share/java || die
+
+ use doc && java-pkg_dojavadoc "${S}"/doc/java
+ fi
+}
+
+multilib_src_install_all() {
+ if use emacs; then
+ # *.el are installed by the build system
+ elisp-install ${PN} "${S}"/src/*.elc
+ elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el"
+ else
+ rm -r "${ED}/usr/share/emacs" || die
+ fi
+
+ einstalldocs
+
+ if use doc ; then
+ dodoc -r doc/reference/html/
+ fi
+
+ find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
next reply other threads:[~2021-05-17 22:24 UTC|newest]
Thread overview: 112+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-17 22:24 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-24 8:49 [gentoo-commits] repo/gentoo:master commit in: net-dns/libidn/ Michał Górny
2024-02-24 2:44 Ionen Wolkens
2024-02-09 1:04 Sam James
2024-02-08 17:10 Arthur Zamarin
2024-02-08 15:28 Michał Górny
2024-02-08 15:28 Michał Górny
2024-02-08 15:28 Michał Górny
2024-02-08 14:48 Michał Górny
2024-02-08 14:48 Michał Górny
2024-01-14 2:46 Sam James
2022-07-30 11:19 Michał Górny
2022-07-30 9:51 Arthur Zamarin
2022-07-26 15:20 Agostino Sarubbo
2022-07-26 15:19 Agostino Sarubbo
2022-07-26 15:18 Agostino Sarubbo
2022-07-26 15:16 Agostino Sarubbo
2022-07-26 4:27 Sam James
2022-07-26 4:15 Sam James
2022-06-26 6:27 Sam James
2022-06-22 4:39 Sam James
2022-06-21 22:01 Sam James
2022-06-21 22:01 Sam James
2022-05-17 11:54 WANG Xuerui
2021-11-19 14:04 Michał Górny
2021-11-19 13:38 Jakov Smolić
2021-11-18 14:00 Jakov Smolić
2021-11-18 9:09 Sam James
2021-11-18 9:09 Sam James
2021-11-16 2:53 Sam James
2021-11-15 1:12 Sam James
2021-10-07 6:37 Sam James
2021-07-31 13:40 Michał Górny
2021-07-22 23:16 Sam James
2021-07-22 21:52 Sam James
2021-07-22 17:49 Sam James
2021-06-29 4:57 Sam James
2021-06-25 19:36 Sam James
2021-06-19 21:10 Sergei Trofimovich
2021-06-17 20:24 Sam James
2021-06-17 20:24 Sam James
2021-06-17 20:24 Sam James
2021-06-17 20:24 Sam James
2021-06-17 20:23 Sam James
2021-05-17 22:24 Sam James
2021-03-21 19:00 David Seifert
2021-01-06 14:36 Fabian Groffen
2020-12-27 17:50 Fabian Groffen
2020-11-18 8:47 Michał Górny
2020-11-17 19:05 Agostino Sarubbo
2020-11-13 2:25 Sam James
2020-11-12 21:03 Thomas Deutschmann
2020-11-04 10:51 Sam James
2020-11-04 10:42 Sergei Trofimovich
2020-11-04 8:16 Sergei Trofimovich
2020-11-04 7:58 Sergei Trofimovich
2020-11-04 7:53 Sergei Trofimovich
2020-11-04 6:54 Sam James
2020-11-03 22:23 Michał Górny
2020-11-03 22:23 Michał Górny
2020-09-07 12:00 Yixun Lan
2020-07-22 17:05 Jeroen Roovers
2020-02-24 9:56 Agostino Sarubbo
2018-10-27 12:31 Fabian Groffen
2018-07-05 16:30 Jeroen Roovers
2018-07-05 16:30 Jeroen Roovers
2018-05-27 15:03 Mikle Kolyada
2018-05-26 10:06 Mart Raudsepp
2018-05-25 4:18 Matt Turner
2018-05-25 4:18 Matt Turner
2018-05-19 9:26 Sergei Trofimovich
2018-05-16 21:19 Sergei Trofimovich
2018-05-15 19:54 Mikle Kolyada
2018-05-14 21:19 Tobias Klausmann
2018-05-14 10:51 Jeroen Roovers
2018-05-14 8:27 Jeroen Roovers
2018-05-13 23:45 Aaron Bauman
2018-05-13 22:06 Thomas Deutschmann
2018-05-13 16:18 Jeroen Roovers
2018-05-13 16:18 Jeroen Roovers
2018-04-03 17:36 Jeroen Roovers
2018-04-03 17:36 Jeroen Roovers
2018-03-12 1:56 Matt Turner
2018-03-04 13:22 Jeroen Roovers
2018-03-04 10:12 Sergei Trofimovich
2018-03-03 14:17 Mart Raudsepp
2018-02-05 23:21 Sergei Trofimovich
2018-02-05 21:27 Markus Meier
2018-01-28 18:23 Tobias Klausmann
2018-01-26 18:21 Thomas Deutschmann
2018-01-23 16:41 Agostino Sarubbo
2017-10-30 8:18 Jeroen Roovers
2017-10-24 7:50 Jeroen Roovers
2017-10-15 11:23 Jeroen Roovers
2017-10-02 8:25 Jeroen Roovers
2017-03-21 15:46 Michael Haubenwallner
2017-02-24 4:16 Mike Frysinger
2017-01-29 19:33 Fabian Groffen
2017-01-24 8:57 Fabian Groffen
2016-10-21 10:36 Jeroen Roovers
2016-10-01 17:41 Tobias Klausmann
2016-09-29 13:28 Agostino Sarubbo
2016-09-29 12:35 Agostino Sarubbo
2016-09-29 9:35 Agostino Sarubbo
2016-07-27 6:55 Jeroen Roovers
2016-07-27 6:55 Jeroen Roovers
2016-07-26 12:41 Tobias Klausmann
2016-07-24 18:42 Markus Meier
2016-07-23 6:45 Jeroen Roovers
2016-07-21 6:18 Jeroen Roovers
2015-10-18 21:54 James Le Cuirot
2015-10-18 21:54 James Le Cuirot
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=1621290270.ef301d876e10541ad7783b7c3f92d775f73e5549.sam@gentoo \
--to=sam@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