Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libifp: ChangeLog libifp-1.0.0.2.ebuild
Date: Mon, 21 Feb 2011 17:47:01
Message-Id: 20110221174651.0FF4320054@flycatcher.gentoo.org
1 ssuominen 11/02/21 17:46:51
2
3 Modified: ChangeLog libifp-1.0.0.2.ebuild
4 Log:
5 USE="static-libs" and remove useless libtool archive. Use virtual/libusb:0.
6
7 (Portage version: 2.2.0_alpha24/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.14 media-libs/libifp/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libifp/ChangeLog?rev=1.14&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libifp/ChangeLog?rev=1.14&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libifp/ChangeLog?r1=1.13&r2=1.14
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/libifp/ChangeLog,v
19 retrieving revision 1.13
20 retrieving revision 1.14
21 diff -u -r1.13 -r1.14
22 --- ChangeLog 7 Oct 2009 16:12:45 -0000 1.13
23 +++ ChangeLog 21 Feb 2011 17:46:50 -0000 1.14
24 @@ -1,6 +1,9 @@
25 # ChangeLog for media-libs/libifp
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libifp/ChangeLog,v 1.13 2009/10/07 16:12:45 ssuominen Exp $
28 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libifp/ChangeLog,v 1.14 2011/02/21 17:46:50 ssuominen Exp $
30 +
31 + 21 Feb 2011; Samuli Suominen <ssuominen@g.o> libifp-1.0.0.2.ebuild:
32 + USE="static-libs" and remove useless libtool archive. Use virtual/libusb:0.
33
34 07 Oct 2009; Samuli Suominen <ssuominen@g.o> libifp-1.0.0.2.ebuild:
35 Replace USE modules with postinst message wrt #286081, because
36
37
38
39 1.14 media-libs/libifp/libifp-1.0.0.2.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libifp/libifp-1.0.0.2.ebuild?rev=1.14&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libifp/libifp-1.0.0.2.ebuild?rev=1.14&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libifp/libifp-1.0.0.2.ebuild?r1=1.13&r2=1.14
44
45 Index: libifp-1.0.0.2.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/media-libs/libifp/libifp-1.0.0.2.ebuild,v
48 retrieving revision 1.13
49 retrieving revision 1.14
50 diff -u -r1.13 -r1.14
51 --- libifp-1.0.0.2.ebuild 7 Oct 2009 16:16:51 -0000 1.13
52 +++ libifp-1.0.0.2.ebuild 21 Feb 2011 17:46:50 -0000 1.14
53 @@ -1,42 +1,45 @@
54 -# Copyright 1999-2009 Gentoo Foundation
55 +# Copyright 1999-2011 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libifp/libifp-1.0.0.2.ebuild,v 1.13 2009/10/07 16:16:51 ssuominen Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libifp/libifp-1.0.0.2.ebuild,v 1.14 2011/02/21 17:46:50 ssuominen Exp $
59
60 EAPI=2
61
62 -DESCRIPTION="A general-purpose library-driver for iRiver's iFP portable audio players."
63 +DESCRIPTION="A general-purpose library for iRiver's iFP portable audio players"
64 HOMEPAGE="http://ifp-driver.sourceforge.net/libifp/"
65 SRC_URI="mirror://sourceforge/ifp-driver/${P}.tar.gz"
66
67 LICENSE="GPL-2"
68 SLOT="0"
69 KEYWORDS="amd64 ~ia64 ppc ppc64 x86"
70 -IUSE="doc examples"
71 +IUSE="doc examples static-libs"
72
73 -RDEPEND=">=dev-libs/libusb-0.1"
74 +RDEPEND="virtual/libusb:0"
75 DEPEND="${RDEPEND}
76 doc? ( >=app-doc/doxygen-1.3.7 )
77 sys-apps/sed"
78
79 src_prepare() {
80 - sed -e '/CFLAGS=/s:-g -O2:${CFLAGS}:' \
81 + sed -i \
82 + -e '/CFLAGS=/s:-g -O2:${CFLAGS}:' \
83 -e '/CXXFLAGS=/s:-g -O2:${CXXFLAGS}:' \
84 - -i configure || die "sed failed"
85 + configure || die
86 }
87
88 src_configure() {
89 - # hack to prevent docs from building
90 - use doc || DOCS="have_doxygen=no"
91 + use doc || export have_doxygen=no
92
93 - eval $DOCS econf \
94 + econf \
95 + --disable-dependency-tracking \
96 + $(use_enable static-libs static) \
97 + $(use_enable examples) \
98 --with-libusb \
99 - --with-libifp \
100 - --without-kmodule \
101 - $(use_enable examples)
102 + --without-kmodule
103 }
104
105 src_install() {
106 - emake DESTDIR="${D}" install || die "emake install failed"
107 + emake DESTDIR="${D}" install || die
108 +
109 + find "${D}" -name '*.la' -exec rm -f {} +
110
111 # clean /usr/bin after installation
112 # by moving examples to examples dir
113 @@ -50,7 +53,3 @@
114
115 use doc && dodoc README ChangeLog TODO
116 }
117 -
118 -pkg_postinst() {
119 - elog "Install media-sound/libifp-module for kernel support."
120 -}