Gentoo Archives: gentoo-commits

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