1 |
vapier 12/04/01 22:04:23 |
2 |
|
3 |
Modified: libcec-1.5.2.ebuild ChangeLog |
4 |
Log: |
5 |
Add IUSE=static-libs, fix linux config checking to not die, drop incorrect depends, add missing pkg-config depend, and drop -fPIC hardcode. |
6 |
|
7 |
(Portage version: 2.2.0_alpha95/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-libs/libcec/libcec-1.5.2.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libcec/libcec-1.5.2.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libcec/libcec-1.5.2.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libcec/libcec-1.5.2.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: libcec-1.5.2.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libcec/libcec-1.5.2.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- libcec-1.5.2.ebuild 1 Apr 2012 20:01:45 -0000 1.1 |
23 |
+++ libcec-1.5.2.ebuild 1 Apr 2012 22:04:23 -0000 1.2 |
24 |
@@ -1,8 +1,8 @@ |
25 |
# Copyright 1999-2012 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcec/libcec-1.5.2.ebuild,v 1.1 2012/04/01 20:01:45 thev00d00 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcec/libcec-1.5.2.ebuild,v 1.2 2012/04/01 22:04:23 vapier Exp $ |
29 |
|
30 |
-EAPI=4 |
31 |
+EAPI="4" |
32 |
|
33 |
inherit autotools linux-info vcs-snapshot |
34 |
|
35 |
@@ -13,26 +13,24 @@ |
36 |
LICENSE="GPL-2" |
37 |
SLOT="0" |
38 |
KEYWORDS="~amd64 ~x86" |
39 |
-IUSE="" |
40 |
+IUSE="static-libs" |
41 |
|
42 |
-DEPEND=">=sys-devel/autoconf-2.13 |
43 |
- >=sys-devel/automake-1.11 |
44 |
- sys-devel/libtool |
45 |
- " |
46 |
RDEPEND=">=sys-fs/udev-151" |
47 |
+DEPEND="${RDEPEND} |
48 |
+ dev-util/pkgconfig" |
49 |
|
50 |
-pkg_setup() { |
51 |
- if linux_config_exists; then |
52 |
- if ! linux_chkconfig_present USB_ACM; then |
53 |
- ewarn "You should enable the USB_ACM support in your kernel." |
54 |
- ewarn "Check the 'USB Modem (CDC ACM) support' under the" |
55 |
- ewarn "'Device Drivers' and 'USB support' option. It is" |
56 |
- ewarn "marked as CONFIG_USB_ACM in the config" |
57 |
- die 'missing CONFIG_USB_ACM' |
58 |
- fi |
59 |
- fi |
60 |
-} |
61 |
+CONFIG_CHECK="~USB_ACM" |
62 |
|
63 |
src_prepare() { |
64 |
+ sed -i '/^CXXFLAGS/s:-fPIC::' configure.ac || die |
65 |
eautoreconf |
66 |
} |
67 |
+ |
68 |
+src_configure() { |
69 |
+ econf $(use_enable static-libs static) |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ default |
74 |
+ use static-libs || find "${ED}" -name '*.la' -delete |
75 |
+} |
76 |
|
77 |
|
78 |
|
79 |
1.2 dev-libs/libcec/ChangeLog |
80 |
|
81 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libcec/ChangeLog?rev=1.2&view=markup |
82 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libcec/ChangeLog?rev=1.2&content-type=text/plain |
83 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libcec/ChangeLog?r1=1.1&r2=1.2 |
84 |
|
85 |
Index: ChangeLog |
86 |
=================================================================== |
87 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libcec/ChangeLog,v |
88 |
retrieving revision 1.1 |
89 |
retrieving revision 1.2 |
90 |
diff -u -r1.1 -r1.2 |
91 |
--- ChangeLog 1 Apr 2012 20:01:45 -0000 1.1 |
92 |
+++ ChangeLog 1 Apr 2012 22:04:23 -0000 1.2 |
93 |
@@ -1,6 +1,10 @@ |
94 |
# ChangeLog for dev-libs/libcec |
95 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
96 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcec/ChangeLog,v 1.1 2012/04/01 20:01:45 thev00d00 Exp $ |
97 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcec/ChangeLog,v 1.2 2012/04/01 22:04:23 vapier Exp $ |
98 |
+ |
99 |
+ 01 Apr 2012; Mike Frysinger <vapier@g.o> libcec-1.5.2.ebuild: |
100 |
+ Add IUSE=static-libs, fix linux config checking to not die, drop incorrect |
101 |
+ depends, add missing pkg-config depend, and drop -fPIC hardcode. |
102 |
|
103 |
*libcec-1.5.2 (01 Apr 2012) |