1 |
yngwin 14/10/02 03:09:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: qupzilla-1.8.0.ebuild |
5 |
Log: |
6 |
Version bump. Add qt5 support. Thanks to Alpha Bravo for ebuild improvements in bug #522952. |
7 |
|
8 |
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 0x0F9C590B7FF324F6!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.45 www-client/qupzilla/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/qupzilla/ChangeLog?rev=1.45&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/qupzilla/ChangeLog?rev=1.45&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/qupzilla/ChangeLog?r1=1.44&r2=1.45 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-client/qupzilla/ChangeLog,v |
20 |
retrieving revision 1.44 |
21 |
retrieving revision 1.45 |
22 |
diff -u -r1.44 -r1.45 |
23 |
--- ChangeLog 28 May 2014 09:45:47 -0000 1.44 |
24 |
+++ ChangeLog 2 Oct 2014 03:09:27 -0000 1.45 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for www-client/qupzilla |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/ChangeLog,v 1.44 2014/05/28 09:45:47 pinkbyte Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/ChangeLog,v 1.45 2014/10/02 03:09:27 yngwin Exp $ |
30 |
+ |
31 |
+*qupzilla-1.8.0 (02 Oct 2014) |
32 |
+ |
33 |
+ 02 Oct 2014; Ben de Groot <yngwin@g.o> +qupzilla-1.8.0.ebuild: |
34 |
+ Version bump. Add qt5 support. Thanks to Alpha Bravo for ebuild improvements |
35 |
+ in bug #522952. |
36 |
|
37 |
*qupzilla-1.6.6 (28 May 2014) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 www-client/qupzilla/qupzilla-1.8.0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/qupzilla/qupzilla-1.8.0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/qupzilla/qupzilla-1.8.0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: qupzilla-1.8.0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/qupzilla-1.8.0.ebuild,v 1.1 2014/10/02 03:09:27 yngwin Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
PLOCALES="ar_SA bg_BG ca_ES cs_CZ de_DE el_GR es_ES es_MX es_VE eu_ES fa_IR fi_FI fr_FR gl_ES he_IL hr_HR hu_HU id_ID it_IT ja_JP ka_GE lg lv_LV nl_NL nqo pl_PL pt_BR pt_PT ro_RO ru_RU sk_SK sr sr@ijekavian sr@ijekavianlatin sr@latin sv_SE tr_TR uk_UA uz@Latn zh_CN zh_TW" |
55 |
PLUGINS_HASH='bb52c82eeedae50ac33a8d10943998193491230b' |
56 |
PLUGINS_VERSION='2014.10.02' # if there are no updates, we can use the older archive |
57 |
|
58 |
inherit eutils l10n multilib qmake-utils vcs-snapshot |
59 |
|
60 |
DESCRIPTION="Qt WebKit web browser" |
61 |
HOMEPAGE="http://www.qupzilla.com/" |
62 |
SRC_URI="https://github.com/QupZilla/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
63 |
https://github.com/QupZilla/${PN}-plugins/archive/${PLUGINS_HASH}.tar.gz -> ${PN}-plugins-${PLUGINS_VERSION}.tar.gz" |
64 |
|
65 |
LICENSE="GPL-3" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~arm ~x86" |
68 |
IUSE="dbus debug gnome-keyring kde nonblockdialogs +qt4 qt5" |
69 |
REQUIRED_USE="^^ ( qt4 qt5 )" |
70 |
|
71 |
RDEPEND="dev-libs/openssl:0 |
72 |
gnome-keyring? ( gnome-base/gnome-keyring ) |
73 |
kde? ( kde-base/kwalletd:4 ) |
74 |
qt4? ( >=dev-qt/qtcore-4.8:4 |
75 |
>=dev-qt/qtgui-4.8:4 |
76 |
>=dev-qt/qtscript-4.8:4 |
77 |
>=dev-qt/qtsql-4.8:4[sqlite] |
78 |
>=dev-qt/qtwebkit-4.8:4 |
79 |
dbus? ( >=dev-qt/qtdbus-4.8:4 ) ) |
80 |
qt5? ( dev-qt/linguist-tools:5 |
81 |
dev-qt/qtcore:5 |
82 |
dev-qt/qtgui:5 |
83 |
dev-qt/qtconcurrent:5 |
84 |
dev-qt/qtprintsupport:5 |
85 |
dev-qt/qtscript:5 |
86 |
dev-qt/qtsql:5[sqlite] |
87 |
dev-qt/qtwebkit:5 |
88 |
dbus? ( dev-qt/qtdbus:5 ) )" |
89 |
DEPEND="${RDEPEND} |
90 |
virtual/pkgconfig" |
91 |
|
92 |
DOCS=( AUTHORS CHANGELOG FAQ README.md ) |
93 |
|
94 |
src_prepare() { |
95 |
rm_loc() { |
96 |
# remove localizations the user has not specified |
97 |
sed -i -e "/${1}.ts/d" translations/translations.pri || die |
98 |
rm translations/${1}.ts || die |
99 |
} |
100 |
|
101 |
# remove outdated prebuilt localizations |
102 |
rm -rf bin/locale || die |
103 |
|
104 |
# remove empty locale |
105 |
rm translations/empty.ts || die |
106 |
|
107 |
# get extra plugins into qupzilla build tree |
108 |
mv "${WORKDIR}"/${PN}-plugins-${PLUGINS_VERSION}/plugins/* "${S}"/src/plugins/ || die |
109 |
|
110 |
l10n_find_plocales_changes "translations" "" ".ts" |
111 |
l10n_for_each_disabled_locale_do rm_loc |
112 |
} |
113 |
|
114 |
src_configure() { |
115 |
# see BUILDING document for explanation of options |
116 |
export \ |
117 |
QUPZILLA_PREFIX="${EPREFIX}/usr/" \ |
118 |
USE_LIBPATH="${EPREFIX}/usr/$(get_libdir)" \ |
119 |
USE_QTWEBKIT_2_2=true \ |
120 |
DISABLE_DBUS=$(usex dbus '' 'true') \ |
121 |
KDE_INTEGRATION=$(usex kde 'true' '') \ |
122 |
NONBLOCK_JS_DIALOGS=$(usex nonblockdialogs 'true' '') |
123 |
|
124 |
if use qt4 ; then |
125 |
eqmake4 $(use gnome-keyring && echo "DEFINES+=GNOME_INTEGRATION") |
126 |
else |
127 |
eqmake5 $(use gnome-keyring && echo "DEFINES+=GNOME_INTEGRATION") |
128 |
fi |
129 |
} |
130 |
|
131 |
src_install() { |
132 |
emake INSTALL_ROOT="${D}" install |
133 |
einstalldocs |
134 |
} |
135 |
|
136 |
pkg_postinst() { |
137 |
if has_version www-plugins/adobe-flash; then |
138 |
ewarn "For using adobe flash plugin you most likely need to run" |
139 |
ewarn " \"paxctl-ng -m /usr/bin/qupzilla\"" |
140 |
fi |
141 |
} |