Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/libidn: libidn-1.30.ebuild ChangeLog
Date: Mon, 02 Mar 2015 20:30:18
Message-Id: 20150302203012.718A312E68@oystercatcher.gentoo.org
1 jer 15/03/02 20:30:12
2
3 Modified: ChangeLog
4 Added: libidn-1.30.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.218 net-dns/libidn/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/libidn/ChangeLog?rev=1.218&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/libidn/ChangeLog?rev=1.218&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/libidn/ChangeLog?r1=1.217&r2=1.218
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v
20 retrieving revision 1.217
21 retrieving revision 1.218
22 diff -u -r1.217 -r1.218
23 --- ChangeLog 10 Feb 2015 07:09:44 -0000 1.217
24 +++ ChangeLog 2 Mar 2015 20:30:12 -0000 1.218
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-dns/libidn
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.217 2015/02/10 07:09:44 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.218 2015/03/02 20:30:12 jer Exp $
30 +
31 +*libidn-1.30 (02 Mar 2015)
32 +
33 + 02 Mar 2015; Jeroen Roovers <jer@g.o> +libidn-1.30.ebuild:
34 + Version bump.
35
36 10 Feb 2015; Jeroen Roovers <jer@g.o> -libidn-1.28.ebuild,
37 libidn-1.29.ebuild:
38
39
40
41 1.1 net-dns/libidn/libidn-1.30.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/libidn/libidn-1.30.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/libidn/libidn-1.30.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libidn-1.30.ebuild
47 ===================================================================
48 # Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-1.30.ebuild,v 1.1 2015/03/02 20:30:12 jer Exp $
51
52 EAPI=5
53 inherit elisp-common java-pkg-opt-2 mono-env multilib-minimal
54
55 DESCRIPTION="Internationalized Domain Names (IDN) implementation"
56 HOMEPAGE="http://www.gnu.org/software/libidn/"
57 SRC_URI="mirror://gnu/libidn/${P}.tar.gz"
58
59 LICENSE="GPL-2 GPL-3 LGPL-3 java? ( Apache-2.0 )"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
62 IUSE="doc emacs java mono nls static-libs"
63
64 DOCS=( AUTHORS ChangeLog FAQ NEWS README THANKS TODO )
65 COMMON_DEPEND="
66 emacs? ( virtual/emacs )
67 mono? ( >=dev-lang/mono-0.95 )
68 "
69 DEPEND="${COMMON_DEPEND}
70 nls? ( >=sys-devel/gettext-0.17 )
71 java? (
72 >=virtual/jdk-1.5
73 doc? ( dev-java/gjdoc )
74 )
75 "
76 RDEPEND="${COMMON_DEPEND}
77 nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
78 java? ( >=virtual/jre-1.5 )
79 abi_x86_32? (
80 !<=app-emulation/emul-linux-x86-baselibs-20140508-r5
81 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
82 )
83 "
84
85 pkg_setup() {
86 mono-env_pkg_setup
87 java-pkg-opt-2_pkg_setup
88 }
89
90 src_prepare() {
91 # bundled, with wrong bytecode
92 rm "${S}/java/${P}.jar" || die
93 }
94
95 multilib_src_configure() {
96 ECONF_SOURCE=${S} \
97 econf \
98 $(multilib_native_use_enable java) \
99 $(multilib_native_use_enable mono csharp mono) \
100 $(use_enable nls) \
101 $(use_enable static-libs static) \
102 --disable-silent-rules \
103 --disable-valgrind-tests \
104 --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
105 --with-packager-bug-reports="https://bugs.gentoo.org" \
106 --with-packager-version="r${PR}" \
107 --with-packager="Gentoo"
108 }
109
110 multilib_src_compile() {
111 default
112
113 if multilib_is_native_abi && use emacs; then
114 elisp-compile "${S}"/src/*.el || die
115 fi
116 }
117
118 multilib_src_test() {
119 # only run libidn specific tests and not gnulib tests (bug #539356)
120 emake -C tests check
121 }
122
123 multilib_src_install() {
124 emake DESTDIR="${D}" install
125
126 if multilib_is_native_abi && use java; then
127 java-pkg_newjar java/${P}.jar ${PN}.jar || die
128 rm -r "${ED}"/usr/share/java || die
129
130 if use doc ; then
131 java-pkg_dojavadoc doc/java
132 fi
133 fi
134 }
135
136 multilib_src_install_all() {
137 if use emacs; then
138 # *.el are installed by the build system
139 elisp-install ${PN} "${S}"/src/*.elc
140 elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el"
141 else
142 rm -r "${ED}/usr/share/emacs" || die
143 fi
144
145 einstalldocs
146 if use doc ; then
147 dohtml -r doc/reference/html/.
148 fi
149
150 prune_libtool_files
151 }
152
153 pkg_postinst() {
154 use emacs && elisp-site-regen
155 }
156
157 pkg_postrm() {
158 use emacs && elisp-site-regen
159 }