Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-cpp/sptk: ChangeLog sptk-4.13.ebuild
Date: Mon, 06 Feb 2012 20:09:55
Message-Id: 20120206200946.65C482004B@flycatcher.gentoo.org
1 ssuominen 12/02/06 20:09:46
2
3 Modified: ChangeLog
4 Added: sptk-4.13.ebuild
5 Log:
6 Version bump (for bug #402149 to gain FLTK 1.3.x support)
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.74 dev-cpp/sptk/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/sptk/ChangeLog?rev=1.74&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/sptk/ChangeLog?rev=1.74&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/sptk/ChangeLog?r1=1.73&r2=1.74
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v
20 retrieving revision 1.73
21 retrieving revision 1.74
22 diff -u -r1.73 -r1.74
23 --- ChangeLog 23 May 2011 13:48:26 -0000 1.73
24 +++ ChangeLog 6 Feb 2012 20:09:46 -0000 1.74
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-cpp/sptk
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.73 2011/05/23 13:48:26 iluxa Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.74 2012/02/06 20:09:46 ssuominen Exp $
31 +
32 +*sptk-4.13 (06 Feb 2012)
33 +
34 + 06 Feb 2012; Samuli Suominen <ssuominen@g.o> +sptk-4.13.ebuild:
35 + Version bump (for bug #402149 to gain FLTK 1.3.x support)
36
37 *sptk-4.11 (23 May 2011)
38
39
40
41
42 1.1 dev-cpp/sptk/sptk-4.13.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/sptk/sptk-4.13.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/sptk/sptk-4.13.ebuild?rev=1.1&content-type=text/plain
46
47 Index: sptk-4.13.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/sptk-4.13.ebuild,v 1.1 2012/02/06 20:09:46 ssuominen Exp $
52
53 EAPI=1
54
55 inherit cmake-utils eutils
56
57 DESCRIPTION="C++ user interface toolkit for X with database and Excel support"
58 SRC_URI="http://www.sptk.net/sptk-${PV}.tbz2"
59 HOMEPAGE="http://www.sptk.net"
60
61 SLOT="4"
62 LICENSE="BSD"
63 KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86"
64 IUSE="fltk odbc doc sqlite excel postgres aspell mysql gnutls"
65
66 RDEPEND="
67 aspell? ( >=app-text/aspell-0.50 )
68 fltk? ( x11-libs/fltk:1 )
69 gnutls? ( net-libs/gnutls )
70 mysql? ( virtual/mysql )
71 odbc? ( >=dev-db/unixODBC-2.2.6 )
72 postgres? ( >=dev-db/postgresql-base-8.0 )
73 sqlite? ( >=dev-db/sqlite-3 )"
74
75 DEPEND="${RDEPEND}
76 doc? ( app-doc/doxygen )"
77
78 CMAKE_IN_SOURCE_BUILD=1
79
80 src_unpack() {
81 unpack ${A}
82 cd "${S}"
83 }
84
85 src_compile() {
86 local mycmakeargs="$(cmake-utils_use_no postgres POSTGRESQL)
87 $(cmake-utils_use_no mysql MYSQL)
88 $(cmake-utils_use_no sqlite SQLITE3)
89 $(cmake-utils_use_no odbc ODBC)
90 $(cmake-utils_use_no aspell ASPELL)
91 $(cmake-utils_use_no fltk FLTK)
92 $(cmake-utils_use_no excel EXCEL)
93 $(cmake-utils_use_no gnutls TLS)"
94
95 mycmakeargs="${mycmakeargs} -D CMAKE_INSTALL_PREFIX:PATH=/usr -D LIBDIR=$(get_libdir) ${SPTK_OPTIONS} -DNO_EXAMPLES:BOOLEAN=TRUE"
96
97 cmake-utils_src_configure
98
99 cmake-utils_src_compile
100 if use doc; then
101 cd "${S}"
102 einfo "Fixing sptk3.doxygen"
103 sed -i -e 's,/cvs/sptk3/,,g' sptk3.doxygen
104 einfo "Building docs"
105 doxygen sptk3.doxygen
106 fi
107 }
108
109 src_install () {
110 DOCS="README AUTHORS"
111 cmake-utils_src_install
112
113 dodir /usr/share/doc/${PF}
114 cp -r "${S}"/docs/* "${D}"/usr/share/doc/${PF}
115 if use doc; then
116 rm -fr "${D}/usr/share/doc/${PF}/latex"
117 cp -rf "${S}/pictures" "${D}/usr/share/doc/${PF}"
118 fi
119 [ -f mv "${D}/usr/bin/sql2cpp.pl" ] && mv "${D}/usr/bin/sql2cpp.pl" "${D}/usr/bin/sql2cpp"
120 }