Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/zziplib: zziplib-0.13.62.ebuild ChangeLog
Date: Sun, 01 Dec 2013 06:28:14
Message-Id: 20131201062805.7673A2004B@flycatcher.gentoo.org
1 vapier 13/12/01 06:28:05
2
3 Modified: ChangeLog
4 Added: zziplib-0.13.62.ebuild
5 Log:
6 Version bump & update to EAPI=4 #450636 by Agostino Sarubbo. Set up the build dir ourselves to simplify things #492816 by gregg4567.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
9
10 Revision Changes Path
11 1.111 dev-libs/zziplib/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/zziplib/ChangeLog?rev=1.111&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/zziplib/ChangeLog?rev=1.111&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/zziplib/ChangeLog?r1=1.110&r2=1.111
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/zziplib/ChangeLog,v
20 retrieving revision 1.110
21 retrieving revision 1.111
22 diff -u -r1.110 -r1.111
23 --- ChangeLog 20 Apr 2013 00:07:18 -0000 1.110
24 +++ ChangeLog 1 Dec 2013 06:28:05 -0000 1.111
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/zziplib
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/ChangeLog,v 1.110 2013/04/20 00:07:18 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/ChangeLog,v 1.111 2013/12/01 06:28:05 vapier Exp $
30 +
31 +*zziplib-0.13.62 (01 Dec 2013)
32 +
33 + 01 Dec 2013; Mike Frysinger <vapier@g.o> +zziplib-0.13.62.ebuild:
34 + Version bump & update to EAPI=4 #450636 by Agostino Sarubbo. Set up the build
35 + dir ourselves to simplify things #492816 by gregg4567.
36
37 20 Apr 2013; Mike Frysinger <vapier@g.o> zziplib-0.13.60-r1.ebuild:
38 Disable aclocal checking since the default path works #449156 by Diego Elio
39
40
41
42 1.1 dev-libs/zziplib/zziplib-0.13.62.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/zziplib/zziplib-0.13.62.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/zziplib/zziplib-0.13.62.ebuild?rev=1.1&content-type=text/plain
46
47 Index: zziplib-0.13.62.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/dev-libs/zziplib/zziplib-0.13.62.ebuild,v 1.1 2013/12/01 06:28:05 vapier Exp $
52
53 EAPI="4"
54 # PYTHON_BDEPEND="2"
55
56 inherit libtool eutils flag-o-matic python
57
58 DESCRIPTION="Lightweight library used to easily extract data from files archived in a single zip file"
59 HOMEPAGE="http://zziplib.sourceforge.net/"
60 SRC_URI="mirror://sourceforge/zziplib/${P}.tar.bz2"
61
62 LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
65 IUSE="doc sdl static-libs test"
66
67 RDEPEND="sys-libs/zlib
68 sdl? ( >=media-libs/libsdl-1.2.6 )"
69 DEPEND="${RDEPEND}
70 =dev-lang/python-2*
71 virtual/pkgconfig
72 test? ( app-arch/zip )"
73
74 pkg_setup() {
75 python_set_active_version 2
76 python_pkg_setup
77 }
78
79 src_prepare() {
80 epatch "${FILESDIR}"/${PN}-0.13.49-SDL-test.patch
81
82 # workaround AX_CREATE_PKGCONFIG_INFO bug #353195
83 sed -i \
84 -e '/ax_create_pkgconfig_ldflags/s:$LDFLAGS::' \
85 -e '/ax_create_pkgconfig_cppflags/s:$CPPFLAGS::' \
86 configure || die
87
88 # zziplib tries to install backwards compat symlinks we dont want
89 sed -i -e '/^zzip-postinstall:/s|$|\ndisable-this:|' Makefile.in || die
90 sed -i -e '/^install-exec-hook:/s|$|\ndisable-this:|' zzip/Makefile.in || die
91
92 elibtoolize
93
94 # Do an out-of-tree build as their configure will do it automatically
95 # otherwise and that can lead to funky errors. #492816
96 mkdir -p build
97 }
98
99 src_configure() {
100 cd "${S}"/build
101
102 append-flags -fno-strict-aliasing # bug reported upstream
103 export ac_cv_path_XMLTO= # man pages are bundled in .tar's
104
105 # Disable aclocal probing as the default path works #449156
106 ECONF_SOURCE=${S} \
107 ACLOCAL=true \
108 econf \
109 --disable-dependency-tracking \
110 $(use_enable sdl) \
111 $(use_enable static-libs static)
112 }
113
114 src_compile() {
115 emake -C build
116 }
117
118 src_test() {
119 # need this because `make test` will always return true
120 # tests fail with -j > 1 (bug #241186)
121 emake -C build -j1 check
122 }
123
124 src_install() {
125 emake -C build DESTDIR="${D}" install
126 # fowners fails when we don't have enough permissions (Prefix)
127 if [[ ${EUID} == 0 ]] ; then
128 fowners -R root /usr/share/man #321975
129 fi
130
131 if ! use static-libs ; then
132 find "${D}" -type f -name '*.la' -delete || die
133 fi
134
135 dodoc ChangeLog README TODO
136
137 if use doc ; then
138 dohtml -r docs/*
139 fi
140 }