Gentoo Archives: gentoo-commits

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