From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4D10B13838B for ; Wed, 1 Oct 2014 03:03:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3735DE08E9; Wed, 1 Oct 2014 03:02:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C0B39E08E9 for ; Wed, 1 Oct 2014 03:02:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9248D3402E5 for ; Wed, 1 Oct 2014 03:02:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E54B6A2A for ; Wed, 1 Oct 2014 03:02:55 +0000 (UTC) From: "Ben de Groot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben de Groot" Message-ID: <1412132560.7a6dca6e6029eecbd7792b5f4b24db0784d66605.yngwin@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: www-client/qupzilla/ X-VCS-Repository: proj/qt X-VCS-Files: www-client/qupzilla/Manifest www-client/qupzilla/qupzilla-1.8.0.ebuild X-VCS-Directories: www-client/qupzilla/ X-VCS-Committer: yngwin X-VCS-Committer-Name: Ben de Groot X-VCS-Revision: 7a6dca6e6029eecbd7792b5f4b24db0784d66605 X-VCS-Branch: master Date: Wed, 1 Oct 2014 03:02:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 954667a9-51c8-401b-9bcd-185f9e6f8ca1 X-Archives-Hash: 17ba76c10360acd45770168a2ceca0c4 commit: 7a6dca6e6029eecbd7792b5f4b24db0784d66605 Author: Ben de Groot gentoo org> AuthorDate: Wed Oct 1 03:02:40 2014 +0000 Commit: Ben de Groot gentoo org> CommitDate: Wed Oct 1 03:02:40 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=7a6dca6e www-client/qupzilla: add ebuild for 1.8.0 WIP --- www-client/qupzilla/Manifest | 2 + www-client/qupzilla/qupzilla-1.8.0.ebuild | 92 +++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) diff --git a/www-client/qupzilla/Manifest b/www-client/qupzilla/Manifest new file mode 100644 index 0000000..56ef24c --- /dev/null +++ b/www-client/qupzilla/Manifest @@ -0,0 +1,2 @@ +DIST qupzilla-1.8.0.tar.gz 4526759 SHA256 414e97d752eaac64f48992957123612461f5fed109f056f5451465a1a1610929 SHA512 321014033acf6cc2e6c986b58cef65a1ef4f13783b2320280b6b7f9a6f03548997521dc538a5a5e13521d806375f370e8f015be526e46f64bb67a9094340985c WHIRLPOOL a683fc8c06f9cee2ef2d34d301cd4c63e8b32cb4a5ceca0884c3f5554bf59b813937c0c27d229653acde8adaa272cfc3a2663bcabab15b645d3cf6ad59dd93cc +DIST qupzilla-plugins-1.8.0.tar.gz 202290 SHA256 992066f55202c33b94fbb08507097d8588c31ec0a8a3142ff65f84d3090b832f SHA512 956e9301c297fce0d26fce5bbcda004f5c0ca5446e358c893e1c0f0811c4b33548e153755d067a9848138a2016936cc1974a196f8c0418203580651fbf1579d7 WHIRLPOOL d573004bc97cab49bfe0d535d9bb2370342c67cf18fe5bf6aa2245defbaa7268cffa6092698935476cbbbab73d63dbe38a90c9a3713d605c7c3cdbc360086c48 diff --git a/www-client/qupzilla/qupzilla-1.8.0.ebuild b/www-client/qupzilla/qupzilla-1.8.0.ebuild new file mode 100644 index 0000000..9b22c99 --- /dev/null +++ b/www-client/qupzilla/qupzilla-1.8.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/qupzilla/qupzilla-1.6.6.ebuild,v 1.1 2014/05/28 09:45:47 pinkbyte Exp $ + +EAPI=5 +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" +PLUGINS_HASH='4e0c457e106ec6365c93851adc33fafced354e7a' +PLUGINS_VERSION='1.8.0' # if there are no updates, we can use the older archive + +inherit eutils l10n multilib qmake-utils vcs-snapshot + +DESCRIPTION="Qt WebKit web browser" +HOMEPAGE="http://www.qupzilla.com/" +SRC_URI="https://github.com/QupZilla/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/QupZilla/${PN}-plugins/archive/${PLUGINS_HASH}.tar.gz -> ${PN}-plugins-${PLUGINS_VERSION}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="dbus debug gnome-keyring kde nonblockdialogs +qt4 qt5" +REQUIRED_USE="^^ ( qt4 qt5 )" + +RDEPEND="dev-libs/openssl:0 + gnome-keyring? ( gnome-base/gnome-keyring ) + kde? ( kde-base/kwalletd:4 ) + qt4? ( >=dev-qt/qtcore-4.8:4 + >=dev-qt/qtgui-4.8:4 + >=dev-qt/qtscript-4.8:4 + >=dev-qt/qtsql-4.8:4[sqlite] + >=dev-qt/qtwebkit-4.8:4 + dbus? ( >=dev-qt/qtdbus-4.8:4 ) ) + qt5? ( dev-qt/linguist-tools:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtconcurrent:5 + dev-qt/qtprintsupport:5 + dev-qt/qtscript:5 + dev-qt/qtsql:5[sqlite] + dev-qt/qtwebkit:5 + dbus? ( dev-qt/qtdbus:5 ) )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS CHANGELOG FAQ README.md ) + +src_prepare() { + rm_loc() { + # remove localizations that the user doesn't need + sed -i -e "/${1}.ts/d" translations/translations.pri || die + rm translations/${1}.ts || die + } + + # remove outdated prebuilt localizations + rm -rf bin/locale || die + + # remove empty locale + rm translations/empty.ts || die + + # get extra plugins into qupzilla build tree + mv "${WORKDIR}"/${PN}-plugins-${PLUGINS_VERSION}/plugins/* "${S}"/src/plugins/ || die + + l10n_find_plocales_changes "translations" "" ".ts" + l10n_for_each_disabled_locale_do rm_loc +} + +src_configure() { + # see BUILDING document for explanation of options + export \ + QUPZILLA_PREFIX="${EPREFIX}/usr/" \ + USE_LIBPATH="${EPREFIX}/usr/$(get_libdir)" \ + USE_QTWEBKIT_2_2=true \ + DISABLE_DBUS=$(usex dbus '' 'true') \ + KDE_INTEGRATION=$(usex kde 'true' '') \ + NONBLOCK_JS_DIALOGS=$(usex nonblockdialogs 'true' '') + + if use qt4 ; then + eqmake4 $(use gnome-keyring && echo "DEFINES+=GNOME_INTEGRATION") + else + eqmake5 $(use gnome-keyring && echo "DEFINES+=GNOME_INTEGRATION") + fi +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs +} + +pkg_postinst() { + if has_version www-plugins/adobe-flash; then + ewarn "For using adobe flash plugin you most likely need to run \"paxctl-ng -m /usr/bin/qupzilla\"" + fi +}