1 |
pesa 13/12/28 22:51:55 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: qtsingleapplication-2.6.1_p20130904.ebuild |
5 |
Log: |
6 |
New snapshot from qt-solutions git repo wrt bug 489168. |
7 |
Install QtSingleCoreApplication header file. |
8 |
Implement USE="X" to solve bug 491494. |
9 |
|
10 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 17A85C72) |
11 |
|
12 |
Revision Changes Path |
13 |
1.5 dev-qt/qtsingleapplication/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qtsingleapplication/ChangeLog?rev=1.5&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qtsingleapplication/ChangeLog?rev=1.5&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qtsingleapplication/ChangeLog?r1=1.4&r2=1.5 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/dev-qt/qtsingleapplication/ChangeLog,v |
22 |
retrieving revision 1.4 |
23 |
retrieving revision 1.5 |
24 |
diff -u -r1.4 -r1.5 |
25 |
--- ChangeLog 13 Oct 2013 10:33:28 -0000 1.4 |
26 |
+++ ChangeLog 28 Dec 2013 22:51:55 -0000 1.5 |
27 |
@@ -1,6 +1,15 @@ |
28 |
# ChangeLog for dev-qt/qtsingleapplication |
29 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtsingleapplication/ChangeLog,v 1.4 2013/10/13 10:33:28 maekke Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtsingleapplication/ChangeLog,v 1.5 2013/12/28 22:51:55 pesa Exp $ |
32 |
+ |
33 |
+*qtsingleapplication-2.6.1_p20130904 (28 Dec 2013) |
34 |
+ |
35 |
+ 28 Dec 2013; Davide Pesavento <pesa@g.o> |
36 |
+ +files/2.6.1_p20130904-no-gui.patch, |
37 |
+ +files/2.6.1_p20130904-unbundle-qtlockedfile.patch, |
38 |
+ +qtsingleapplication-2.6.1_p20130904.ebuild: |
39 |
+ New snapshot from qt-solutions git repo wrt bug 489168. Install |
40 |
+ QtSingleCoreApplication header file. Implement USE="X" to solve bug 491494. |
41 |
|
42 |
13 Oct 2013; Markus Meier <maekke@g.o> |
43 |
qtsingleapplication-2.6.1.ebuild: |
44 |
|
45 |
|
46 |
|
47 |
1.1 dev-qt/qtsingleapplication/qtsingleapplication-2.6.1_p20130904.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qtsingleapplication/qtsingleapplication-2.6.1_p20130904.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qtsingleapplication/qtsingleapplication-2.6.1_p20130904.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: qtsingleapplication-2.6.1_p20130904.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2013 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtsingleapplication/qtsingleapplication-2.6.1_p20130904.ebuild,v 1.1 2013/12/28 22:51:55 pesa Exp $ |
57 |
|
58 |
EAPI=5 |
59 |
|
60 |
inherit qt4-r2 |
61 |
|
62 |
MY_P=qt-solutions-${PV#*_p} |
63 |
|
64 |
DESCRIPTION="Qt library to start applications only once per user" |
65 |
HOMEPAGE="http://doc.qt.digia.com/solutions/4/qtsingleapplication/index.html" |
66 |
SRC_URI="http://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.xz" |
67 |
|
68 |
LICENSE="|| ( LGPL-2.1 GPL-3 )" |
69 |
SLOT="0" |
70 |
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
71 |
IUSE="X doc" |
72 |
|
73 |
DEPEND=" |
74 |
dev-qt/qtcore:4 |
75 |
dev-qt/qtlockedfile |
76 |
X? ( dev-qt/qtgui:4 ) |
77 |
" |
78 |
RDEPEND="${DEPEND}" |
79 |
|
80 |
S=${WORKDIR}/${MY_P}/${PN} |
81 |
|
82 |
PATCHES=( |
83 |
"${FILESDIR}/${PV}-unbundle-qtlockedfile.patch" |
84 |
"${FILESDIR}/${PV}-no-gui.patch" |
85 |
) |
86 |
|
87 |
src_prepare() { |
88 |
qt4-r2_src_prepare |
89 |
|
90 |
echo 'SOLUTIONS_LIBRARY = yes' > config.pri |
91 |
use X || echo 'QTSA_NO_GUI = yes' >> config.pri |
92 |
|
93 |
sed -i -e "s/-head/-${PV%.*}/" common.pri || die |
94 |
sed -i -e '/SUBDIRS+=examples/d' ${PN}.pro || die |
95 |
|
96 |
# to ensure unbundling |
97 |
rm -f src/qtlockedfile* |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
dodoc README.TXT |
102 |
|
103 |
dolib.so lib/* |
104 |
insinto /usr/include/qt4/QtSolutions/ |
105 |
doins src/qtsinglecoreapplication.h |
106 |
use X && doins src/{QtSingleApplication,${PN}.h} |
107 |
|
108 |
insinto /usr/share/qt4/mkspecs/features/ |
109 |
doins "${FILESDIR}"/${PN}.prf |
110 |
|
111 |
use doc && dohtml -r doc/html |
112 |
} |