Gentoo Archives: gentoo-commits

From: "Alex Alexander (wired)" <wired@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-themes/qgtkstyle: qgtkstyle-4.7.1-r2.ebuild ChangeLog qgtkstyle-4.7.2.ebuild qgtkstyle-4.6.3-r1.ebuild qgtkstyle-4.7.1-r1.ebuild qgtkstyle-4.6.3.ebuild qgtkstyle-4.7.1.ebuild
Date: Wed, 02 Mar 2011 01:00:37
Message-Id: 20110302010027.5B3B620054@flycatcher.gentoo.org
1 wired 11/03/02 01:00:27
2
3 Modified: ChangeLog
4 Added: qgtkstyle-4.7.1-r2.ebuild qgtkstyle-4.7.2.ebuild
5 Removed: qgtkstyle-4.6.3-r1.ebuild qgtkstyle-4.7.1-r1.ebuild
6 qgtkstyle-4.6.3.ebuild qgtkstyle-4.7.1.ebuild
7 Log:
8 version bump, renamed style to GTK+, removed old
9
10 (Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.6 x11-themes/qgtkstyle/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/qgtkstyle/ChangeLog?rev=1.6&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/qgtkstyle/ChangeLog?rev=1.6&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/qgtkstyle/ChangeLog?r1=1.5&r2=1.6
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/x11-themes/qgtkstyle/ChangeLog,v
22 retrieving revision 1.5
23 retrieving revision 1.6
24 diff -u -r1.5 -r1.6
25 --- ChangeLog 13 Nov 2010 20:53:07 -0000 1.5
26 +++ ChangeLog 2 Mar 2011 01:00:27 -0000 1.6
27 @@ -1,6 +1,15 @@
28 # ChangeLog for x11-themes/qgtkstyle
29 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/qgtkstyle/ChangeLog,v 1.5 2010/11/13 20:53:07 wired Exp $
31 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
32 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/qgtkstyle/ChangeLog,v 1.6 2011/03/02 01:00:27 wired Exp $
33 +
34 +*qgtkstyle-4.7.2 (02 Mar 2011)
35 +*qgtkstyle-4.7.1-r2 (02 Mar 2011)
36 +
37 + 02 Mar 2011; Alex Alexander <wired@g.o> -qgtkstyle-4.6.3.ebuild,
38 + -qgtkstyle-4.6.3-r1.ebuild, -qgtkstyle-4.7.1.ebuild,
39 + -qgtkstyle-4.7.1-r1.ebuild, +qgtkstyle-4.7.1-r2.ebuild,
40 + +qgtkstyle-4.7.2.ebuild, files/main.cpp:
41 + version bump, renamed style to GTK+, removed old
42
43 13 Nov 2010; Alex Alexander <wired@g.o> qgtkstyle-4.6.3-r1.ebuild,
44 qgtkstyle-4.7.1-r1.ebuild:
45
46
47
48 1.1 x11-themes/qgtkstyle/qgtkstyle-4.7.1-r2.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/qgtkstyle/qgtkstyle-4.7.1-r2.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/qgtkstyle/qgtkstyle-4.7.1-r2.ebuild?rev=1.1&content-type=text/plain
52
53 Index: qgtkstyle-4.7.1-r2.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/x11-themes/qgtkstyle/qgtkstyle-4.7.1-r2.ebuild,v 1.1 2011/03/02 01:00:27 wired Exp $
58
59 EAPI="3"
60 inherit confutils qt4-build
61
62 DESCRIPTION="Qt style that uses the active GTK theme."
63 SLOT="4"
64 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
65 IUSE=""
66
67 COMMON_DEPEND="
68 x11-libs/gtk+:2
69 >=x11-libs/qt-gui-${PV}-r1
70 "
71 DEPEND="${COMMON_DEPEND}
72 || ( >=x11-libs/cairo-1.10.0[-qt4] <x11-libs/cairo-1.10.0 )
73 "
74 RDEPEND="${COMMON_DEPEND}
75 !>x11-libs/qt-gui-${PV}-r9999
76 "
77
78 pkg_setup() {
79 QT4_TARGET_DIRECTORIES="
80 src/gui
81 "
82
83 QT4_EXTRACT_DIRECTORIES="
84 include
85 src
86 tools/linguist/phrasebooks
87 tools/linguist/shared
88 tools/shared"
89
90 QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} ${QT4_EXTRACT_DIRECTORIES}"
91
92 qt4-build_pkg_setup
93 }
94
95 src_prepare() {
96 cp "${FILESDIR}"/qgtkstyle.pro "${S}"/src/gui/gui.pro || die
97 cp "${FILESDIR}"/main.cpp "${S}"/src/gui/styles/ || die
98 sed "/QT_NO_STYLE_/d" -i "${S}"/src/gui/styles/qgtk* || die
99 epatch "${FILESDIR}"/"${PN}"-gentoo.patch
100 qt4-build_src_prepare
101 }
102
103 src_configure() {
104 export PATH="${S}/bin:${PATH}"
105 export LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}"
106
107 myconf="${myconf} -qt-gif -system-libpng -system-libjpeg
108 -no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite -no-sql-sqlite2
109 -no-sql-odbc -no-xrender -no-xrandr -no-xkb -no-xshape -no-sm -no-svg -no-webkit
110 -no-cups -no-glib -no-libmng -no-nis -no-libtiff -no-dbus -no-qdbus -no-egl
111 -no-qt3support -no-xinerama -no-phonon -no-opengl -no-accessibility
112 -gtkstyle"
113
114 qt4-build_src_configure
115 }
116
117 src_install() {
118 insinto /usr/$(get_libdir)/qt4/plugins/styles/ || die
119 doins lib/libgtkstyle.so || die
120 }
121
122 pkg_postinst() {
123 ewarn
124 ewarn "The style provided by this package has been renamed to GTK+ (from GTK)"
125 ewarn "to match upstream naming. You may have to re-select it using"
126 ewarn "qtconfig or systemsettings (in KDE)."
127 ewarn
128 }
129
130
131
132 1.1 x11-themes/qgtkstyle/qgtkstyle-4.7.2.ebuild
133
134 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/qgtkstyle/qgtkstyle-4.7.2.ebuild?rev=1.1&view=markup
135 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/qgtkstyle/qgtkstyle-4.7.2.ebuild?rev=1.1&content-type=text/plain
136
137 Index: qgtkstyle-4.7.2.ebuild
138 ===================================================================
139 # Copyright 1999-2011 Gentoo Foundation
140 # Distributed under the terms of the GNU General Public License v2
141 # $Header: /var/cvsroot/gentoo-x86/x11-themes/qgtkstyle/qgtkstyle-4.7.2.ebuild,v 1.1 2011/03/02 01:00:27 wired Exp $
142
143 EAPI="3"
144 inherit confutils qt4-build
145
146 DESCRIPTION="Qt style that uses the active GTK theme."
147 SLOT="4"
148 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
149 IUSE=""
150
151 COMMON_DEPEND="
152 x11-libs/gtk+:2
153 ~x11-libs/qt-gui-${PV}
154 "
155 DEPEND="${COMMON_DEPEND}
156 || ( >=x11-libs/cairo-1.10.0[-qt4] <x11-libs/cairo-1.10.0 )
157 "
158 RDEPEND="${COMMON_DEPEND}
159 !>x11-libs/qt-gui-${PV}-r9999
160 "
161
162 pkg_setup() {
163 QT4_TARGET_DIRECTORIES="
164 src/gui
165 "
166
167 QT4_EXTRACT_DIRECTORIES="
168 include
169 src
170 tools/linguist/phrasebooks
171 tools/linguist/shared
172 tools/shared"
173
174 QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} ${QT4_EXTRACT_DIRECTORIES}"
175
176 qt4-build_pkg_setup
177 }
178
179 src_prepare() {
180 cp "${FILESDIR}"/qgtkstyle.pro "${S}"/src/gui/gui.pro || die
181 cp "${FILESDIR}"/main.cpp "${S}"/src/gui/styles/ || die
182 sed "/QT_NO_STYLE_/d" -i "${S}"/src/gui/styles/qgtk* || die
183 epatch "${FILESDIR}"/"${PN}"-gentoo.patch
184 qt4-build_src_prepare
185 }
186
187 src_configure() {
188 export PATH="${S}/bin:${PATH}"
189 export LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}"
190
191 myconf="${myconf} -qt-gif -system-libpng -system-libjpeg
192 -no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite -no-sql-sqlite2
193 -no-sql-odbc -no-xrender -no-xrandr -no-xkb -no-xshape -no-sm -no-svg -no-webkit
194 -no-cups -no-glib -no-libmng -no-nis -no-libtiff -no-dbus -no-qdbus -no-egl
195 -no-qt3support -no-xinerama -no-phonon -no-opengl -no-accessibility
196 -gtkstyle"
197
198 qt4-build_src_configure
199 }
200
201 src_install() {
202 insinto /usr/$(get_libdir)/qt4/plugins/styles/ || die
203 doins lib/libgtkstyle.so || die
204 }
205
206 pkg_postinst() {
207 ewarn
208 ewarn "The style provided by this package has been renamed to GTK+ (from GTK)"
209 ewarn "to match upstream naming. You may have to re-select it using"
210 ewarn "qtconfig or systemsettings (in KDE)."
211 ewarn
212 }