1 |
scarabeus 11/07/30 12:20:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mysql-connector-c++-1.1.0.ebuild |
5 |
Removed: mysql-connector-c++-1.1.0_pre814.ebuild |
6 |
Log: |
7 |
Version bump to 1.1.0 ebuild and cmake patch from Jorge (jmbsvicetto) updated by me to not cause any error. Tested and confirmed working with libreoffice. |
8 |
|
9 |
(Portage version: 2.2.0_alpha49/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.5 dev-db/mysql-connector-c++/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-connector-c++/ChangeLog?rev=1.5&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-connector-c++/ChangeLog?rev=1.5&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-connector-c++/ChangeLog?r1=1.4&r2=1.5 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql-connector-c++/ChangeLog,v |
21 |
retrieving revision 1.4 |
22 |
retrieving revision 1.5 |
23 |
diff -u -r1.4 -r1.5 |
24 |
--- ChangeLog 25 Mar 2010 18:59:39 -0000 1.4 |
25 |
+++ ChangeLog 30 Jul 2011 12:20:51 -0000 1.5 |
26 |
@@ -1,6 +1,16 @@ |
27 |
# ChangeLog for dev-db/mysql-connector-c++ |
28 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-connector-c++/ChangeLog,v 1.4 2010/03/25 18:59:39 robbat2 Exp $ |
30 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-connector-c++/ChangeLog,v 1.5 2011/07/30 12:20:51 scarabeus Exp $ |
32 |
+ |
33 |
+*mysql-connector-c++-1.1.0 (30 Jul 2011) |
34 |
+ |
35 |
+ 30 Jul 2011; Tomáš Chvátal <scarabeus@g.o> |
36 |
+ -mysql-connector-c++-1.1.0_pre814.ebuild, +mysql-connector-c++-1.1.0.ebuild, |
37 |
+ +files/mysql-connector-c++-1.1.0-disable-tests.patch, |
38 |
+ +files/mysql-connector-c++-1.1.0-fix-cmake.patch, |
39 |
+ -files/mysql-connector-c++-1.1.0_pre814-libdir.patch: |
40 |
+ Version bump to 1.1.0 ebuild and cmake patch from Jorge (jmbsvicetto) updated |
41 |
+ by me to not cause any error. Tested and confirmed working with libreoffice. |
42 |
|
43 |
25 Mar 2010; Robin H. Johnson <robbat2@g.o> |
44 |
mysql-connector-c++-1.1.0_pre814.ebuild: |
45 |
|
46 |
|
47 |
|
48 |
1.1 dev-db/mysql-connector-c++/mysql-connector-c++-1.1.0.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.0.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.0.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: mysql-connector-c++-1.1.0.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2011 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-connector-c++/mysql-connector-c++-1.1.0.ebuild,v 1.1 2011/07/30 12:20:51 scarabeus Exp $ |
58 |
|
59 |
EAPI=4 |
60 |
|
61 |
inherit eutils cmake-utils flag-o-matic multilib |
62 |
|
63 |
DESCRIPTION="MySQL database connector for C++ (mimics JDBC 4.0 API)" |
64 |
HOMEPAGE="http://forge.mysql.com/wiki/Connector_C++" |
65 |
URI_DIR="Connector-C++" |
66 |
SRC_URI="mirror://mysql/Downloads/${URI_DIR}/${P}.tar.gz" |
67 |
|
68 |
LICENSE="GPL-2" |
69 |
SLOT="0" |
70 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
71 |
IUSE="debug examples gcov static-libs" |
72 |
|
73 |
DEPEND=">=virtual/mysql-5.1 |
74 |
dev-libs/boost |
75 |
dev-libs/openssl" |
76 |
RDEPEND="${DEPEND}" |
77 |
|
78 |
PATCHES=( |
79 |
"${FILESDIR}/${P}-fix-cmake.patch" |
80 |
"${FILESDIR}/${P}-disable-tests.patch" |
81 |
) |
82 |
|
83 |
src_configure() { |
84 |
# native lib/wrapper needs this! |
85 |
append-flags "-fno-strict-aliasing" |
86 |
|
87 |
mycmakeargs=( |
88 |
"-DMYSQLCPPCONN_BUILD_EXAMPLES=OFF" |
89 |
"-DMYSQLCPPCONN_ICU_ENABLE=OFF" |
90 |
$(cmake-utils_use debug MYSQLCPPCONN_TRACE_ENABLE) |
91 |
$(cmake-utils_use gcov MYSQLCPPCONN_GCOV_ENABLE) |
92 |
) |
93 |
|
94 |
cmake-utils_src_configure |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
cmake-utils_src_install |
99 |
|
100 |
# static lib has wrong name so we need to rename it |
101 |
if use static-libs; then |
102 |
mv "${ED}"/usr/$(get_libdir)/libmysqlcppconn-static.a \ |
103 |
"${ED}"/usr/$(get_libdir)/libmysqlcppconn.a || die |
104 |
else |
105 |
rm -f "${ED}"/usr/$(get_libdir)/libmysqlcppconn-static.a |
106 |
fi |
107 |
|
108 |
# examples |
109 |
if use examples; then |
110 |
insinto /usr/share/doc/${PF}/examples |
111 |
doins "${S}"/examples/* |
112 |
fi |
113 |
} |