Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/xz-utils: xz-utils-5.2.1.ebuild ChangeLog
Date: Thu, 26 Feb 2015 17:44:21
Message-Id: 20150226174416.EC698129B6@oystercatcher.gentoo.org
1 vapier 15/02/26 17:44:16
2
3 Modified: ChangeLog
4 Added: xz-utils-5.2.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
9
10 Revision Changes Path
11 1.94 app-arch/xz-utils/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xz-utils/ChangeLog?rev=1.94&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xz-utils/ChangeLog?rev=1.94&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xz-utils/ChangeLog?r1=1.93&r2=1.94
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/xz-utils/ChangeLog,v
20 retrieving revision 1.93
21 retrieving revision 1.94
22 diff -u -r1.93 -r1.94
23 --- ChangeLog 2 Jan 2015 15:00:21 -0000 1.93
24 +++ ChangeLog 26 Feb 2015 17:44:16 -0000 1.94
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-arch/xz-utils
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/ChangeLog,v 1.93 2015/01/02 15:00:21 zlogene Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/ChangeLog,v 1.94 2015/02/26 17:44:16 vapier Exp $
30 +
31 +*xz-utils-5.2.1 (26 Feb 2015)
32 +
33 + 26 Feb 2015; Mike Frysinger <vapier@g.o> +xz-utils-5.2.1.ebuild:
34 + Version bump.
35
36 02 Jan 2015; Mikle Kolyada <zlogene@g.o> xz-utils-5.0.8.ebuild:
37 ia64 stable wrt bug #533274
38
39
40
41 1.1 app-arch/xz-utils/xz-utils-5.2.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xz-utils/xz-utils-5.2.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xz-utils/xz-utils-5.2.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xz-utils-5.2.1.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/app-arch/xz-utils/xz-utils-5.2.1.ebuild,v 1.1 2015/02/26 17:44:16 vapier Exp $
51
52 # Remember: we cannot leverage autotools in this ebuild in order
53 # to avoid circular deps with autotools
54
55 EAPI="4"
56
57 inherit eutils multilib toolchain-funcs libtool multilib-minimal
58
59 if [[ ${PV} == "9999" ]] ; then
60 EGIT_REPO_URI="http://git.tukaani.org/xz.git"
61 inherit git-2 autotools
62 SRC_URI=""
63 EXTRA_DEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068
64 else
65 MY_P="${PN/-utils}-${PV/_}"
66 SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz"
67 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
68 S=${WORKDIR}/${MY_P}
69 EXTRA_DEPEND=
70 fi
71
72 DESCRIPTION="utils for managing LZMA compressed files"
73 HOMEPAGE="http://tukaani.org/xz/"
74
75 # See top-level COPYING file as it outlines the various pieces and their licenses.
76 LICENSE="public-domain LGPL-2.1+ GPL-2+"
77 SLOT="0"
78 IUSE="nls static-libs +threads"
79
80 RDEPEND="!<app-arch/lzma-4.63
81 !app-arch/lzma-utils
82 !<app-arch/p7zip-4.57"
83 DEPEND="${RDEPEND}
84 ${EXTRA_DEPEND}"
85
86 src_prepare() {
87 if [[ ${PV} == "9999" ]] ; then
88 eautopoint
89 eautoreconf
90 else
91 elibtoolize # to allow building shared libs on Solaris/x64
92 fi
93 }
94
95 multilib_src_configure() {
96 ECONF_SOURCE="${S}" econf \
97 $(use_enable nls) \
98 $(use_enable threads) \
99 $(use_enable static-libs static) \
100 $(multilib_is_native_abi || echo --disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts})
101 }
102
103 multilib_src_install() {
104 default
105 multilib_is_native_abi && gen_usr_ldscript -a lzma
106 }
107
108 multilib_src_install_all() {
109 prune_libtool_files --all
110 rm "${ED}"/usr/share/doc/xz/COPYING* || die
111 mv "${ED}"/usr/share/doc/{xz,${PF}} || die
112 }
113
114 pkg_preinst() {
115 preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
116 }
117
118 pkg_postinst() {
119 preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0)
120 }