Gentoo Archives: gentoo-commits

From: "Sergey Popov (pinkbyte)" <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/qupzilla: qupzilla-1.6.6.ebuild ChangeLog
Date: Wed, 28 May 2014 09:45:51
Message-Id: 20140528094548.053FA2004E@flycatcher.gentoo.org
1 pinkbyte 14/05/28 09:45:47
2
3 Modified: ChangeLog
4 Added: qupzilla-1.6.6.ebuild
5 Log:
6 Version bump, wrt bug #511400
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
9
10 Revision Changes Path
11 1.44 www-client/qupzilla/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/qupzilla/ChangeLog?rev=1.44&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/qupzilla/ChangeLog?rev=1.44&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/qupzilla/ChangeLog?r1=1.43&r2=1.44
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-client/qupzilla/ChangeLog,v
20 retrieving revision 1.43
21 retrieving revision 1.44
22 diff -u -r1.43 -r1.44
23 --- ChangeLog 28 May 2014 08:54:12 -0000 1.43
24 +++ ChangeLog 28 May 2014 09:45:47 -0000 1.44
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.43 2014/05/28 08:54:12 pinkbyte Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/ChangeLog,v 1.44 2014/05/28 09:45:47 pinkbyte Exp $
30 +
31 +*qupzilla-1.6.6 (28 May 2014)
32 +
33 + 28 May 2014; Sergey Popov <pinkbyte@g.o> +qupzilla-1.6.6.ebuild,
34 + +files/qupzilla-1.6.6-plugins-version-check-fix.patch:
35 + Version bump, wrt bug #511400
36
37 28 May 2014; Sergey Popov <pinkbyte@g.o> -qupzilla-1.6.0-r1.ebuild,
38 -qupzilla-1.6.1.ebuild, -qupzilla-1.6.3.ebuild, -qupzilla-1.6.3-r1.ebuild,
39
40
41
42 1.1 www-client/qupzilla/qupzilla-1.6.6.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/qupzilla/qupzilla-1.6.6.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/qupzilla/qupzilla-1.6.6.ebuild?rev=1.1&content-type=text/plain
46
47 Index: qupzilla-1.6.6.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.6.6.ebuild,v 1.1 2014/05/28 09:45:47 pinkbyte 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 fr_FR gl_ES he_IL 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_BA sr_BA@latin sr_RS sr_RS@latin sv_SE uk_UA uz@Latn zh_CN zh_TW"
55 PLUGINS_HASH='b19f6e0b83baca40e96019ccda329b88459e6a7f'
56 PLUGINS_VERSION='1.6.3' # if there are no updates, we can use the older archive
57
58 inherit l10n multilib qt4-r2 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"
69
70 RDEPEND="dev-libs/openssl:0
71 >=dev-qt/qtcore-4.8:4
72 >=dev-qt/qtgui-4.8:4
73 >=dev-qt/qtscript-4.8:4
74 >=dev-qt/qtsql-4.8:4[sqlite]
75 >=dev-qt/qtwebkit-4.8:4
76 dbus? ( >=dev-qt/qtdbus-4.8:4 )
77 gnome-keyring? ( gnome-base/gnome-keyring )
78 kde? ( kde-base/kwalletd:4 )"
79 DEPEND="${RDEPEND}
80 virtual/pkgconfig"
81
82 DOCS=( AUTHORS CHANGELOG FAQ README.md )
83 PATCHES=( "${FILESDIR}/${P}-plugins-version-check-fix.patch" )
84
85 src_prepare() {
86 # remove outdated prebuilt localizations
87 rm -rf bin/locale || die
88
89 # remove empty locale
90 rm translations/empty.ts || die
91
92 mv "${WORKDIR}"/${PN}-plugins-${PLUGINS_VERSION}/plugins/* "${S}"/src/plugins/ || die
93 mv "${WORKDIR}"/${PN}-plugins-${PLUGINS_VERSION}/themes/* "${S}"/bin/themes/ || die
94
95 l10n_find_plocales_changes "translations" "" ".ts"
96 qt4-r2_src_prepare
97 }
98
99 src_configure() {
100 # see BUILDING document for explanation of options
101 export \
102 QUPZILLA_PREFIX="${EPREFIX}/usr/" \
103 USE_LIBPATH="${EPREFIX}/usr/$(get_libdir)" \
104 USE_QTWEBKIT_2_2=true \
105 DISABLE_DBUS=$(usex dbus '' 'true') \
106 KDE_INTEGRATION=$(usex kde 'true' '') \
107 NONBLOCK_JS_DIALOGS=$(usex nonblockdialogs 'true' '')
108
109 eqmake4 $(use gnome-keyring && echo "DEFINES+=GNOME_INTEGRATION")
110 }
111
112 src_install() {
113 qt4-r2_src_install
114 l10n_for_each_disabled_locale_do rm_loc
115 }
116
117 rm_loc() {
118 rm -f "${ED}"/usr/share/${PN}/locale/${1}.qm || die
119 }
120
121 pkg_postinst(){
122 if has_version www-plugins/adobe-flash; then
123 ewarn "For using adobe flash plugin you most likely need to run \"paxctl-ng -m /usr/bin/qupzilla\""
124 fi
125 }