Gentoo Archives: gentoo-commits

From: "Davide Pesavento (pesa)" <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/libqxt: ChangeLog libqxt-0.6.2.ebuild libqxt-0.6.1.ebuild
Date: Sat, 26 Nov 2011 20:05:02
Message-Id: 20111126200450.DDD6C2004C@flycatcher.gentoo.org
1 pesa 11/11/26 20:04:50
2
3 Modified: ChangeLog
4 Added: libqxt-0.6.2.ebuild
5 Removed: libqxt-0.6.1.ebuild
6 Log:
7 Version bump, remove old.
8
9 (Portage version: 2.2.0_alpha78/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.19 x11-libs/libqxt/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libqxt/ChangeLog?rev=1.19&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libqxt/ChangeLog?rev=1.19&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libqxt/ChangeLog?r1=1.18&r2=1.19
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/x11-libs/libqxt/ChangeLog,v
21 retrieving revision 1.18
22 retrieving revision 1.19
23 diff -u -r1.18 -r1.19
24 --- ChangeLog 12 Nov 2011 16:22:31 -0000 1.18
25 +++ ChangeLog 26 Nov 2011 20:04:50 -0000 1.19
26 @@ -1,6 +1,12 @@
27 # ChangeLog for x11-libs/libqxt
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libqxt/ChangeLog,v 1.18 2011/11/12 16:22:31 pesa Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libqxt/ChangeLog,v 1.19 2011/11/26 20:04:50 pesa Exp $
31 +
32 +*libqxt-0.6.2 (26 Nov 2011)
33 +
34 + 26 Nov 2011; Davide Pesavento <pesa@g.o> -libqxt-0.6.1.ebuild,
35 + +libqxt-0.6.2.ebuild:
36 + Version bump, remove old.
37
38 *libqxt-0.6.1 (12 Nov 2011)
39
40
41
42
43 1.1 x11-libs/libqxt/libqxt-0.6.2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libqxt/libqxt-0.6.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libqxt/libqxt-0.6.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libqxt-0.6.2.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-libs/libqxt/libqxt-0.6.2.ebuild,v 1.1 2011/11/26 20:04:50 pesa Exp $
53
54 EAPI=4
55
56 inherit multilib qt4-r2
57
58 DESCRIPTION="The Qt eXTension library provides cross-platform utility classes for the Qt toolkit"
59 HOMEPAGE="http://libqxt.org/"
60 SRC_URI="http://dev.libqxt.org/libqxt/get/v${PV}.tar.bz2 -> ${P}.tar.bz2"
61
62 LICENSE="|| ( CPL-1.0 LGPL-2.1 )"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="berkdb debug doc sql ssl web xscreensaver zeroconf"
66
67 COMMON_DEPEND="
68 x11-libs/libXrandr
69 x11-libs/qt-core:4
70 x11-libs/qt-gui:4
71 berkdb? ( >=sys-libs/db-4.6 )
72 sql? ( x11-libs/qt-sql:4 )
73 ssl? (
74 >=dev-libs/openssl-0.9.8
75 x11-libs/qt-core:4[ssl]
76 )
77 zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
78 "
79 DEPEND="${COMMON_DEPEND}
80 doc? ( x11-libs/qt-assistant:4 )
81 "
82 RDEPEND="${COMMON_DEPEND}
83 xscreensaver? ( x11-libs/libXScrnSaver )
84 "
85
86 S="${WORKDIR}/${PN}-${PN}-v${PV}"
87
88 DOCS="AUTHORS CHANGES README"
89 PATCHES=(
90 "${FILESDIR}/${PN}-use-system-qdoc3.patch"
91 )
92
93 src_prepare() {
94 qt4-r2_src_prepare
95
96 # remove insecure runpath
97 sed -i -e '/^QMAKE_RPATHDIR /d' src/qxtlibs.pri || die
98 }
99
100 src_configure() {
101 # custom configure script
102 local myconf=(
103 ./configure -verbose
104 -prefix "${EPREFIX}/usr"
105 -libdir "${EPREFIX}/usr/$(get_libdir)"
106 -docdir "${EPREFIX}/usr/share/doc/${PF}"
107 -qmake-bin "${EPREFIX}/usr/bin/qmake"
108 $(use debug && echo -debug || echo -release)
109 $(use berkdb || echo -no-db -nomake berkeley)
110 $(use doc || echo -nomake docs)
111 $(use sql || echo -nomake sql)
112 $(use ssl || echo -no-openssl)
113 $(use web || echo -nomake web)
114 $(use zeroconf || echo -no-zeroconf -nomake zeroconf)
115 )
116 echo "${myconf[@]}"
117 "${myconf[@]}" || die "./configure failed"
118
119 eqmake4 -recursive
120 }
121
122 src_compile() {
123 qt4-r2_src_compile
124
125 if use doc; then
126 einfo "Building documentation"
127 emake docs
128 fi
129 }
130
131 pkg_postinst() {
132 if use doc; then
133 einfo
134 einfo "In case you want to browse ${PN} documentation using"
135 einfo "Qt Assistant, perform the following steps:"
136 einfo " 1. Open the Assistant"
137 einfo " 2. Edit -> Preferences -> Documentation -> Add"
138 einfo " 3. Add this path: ${EPREFIX}/usr/share/doc/${PF}/qxt.qch"
139 einfo
140 fi
141 }