diff options
author | Pacho Ramos <pacho@gentoo.org> | 2016-10-16 12:20:46 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2016-10-16 12:22:36 +0200 |
commit | a976fa42d8eb304faa88ebaa5b96847d94a50ff3 (patch) | |
tree | 5fc8f22baac0761da909b3af2efc91794347e885 /net-misc/hotot | |
parent | media-sound/gpodder: Drop old (diff) | |
download | gentoo-a976fa42d8eb304faa88ebaa5b96847d94a50ff3.tar.gz gentoo-a976fa42d8eb304faa88ebaa5b96847d94a50ff3.tar.bz2 gentoo-a976fa42d8eb304faa88ebaa5b96847d94a50ff3.zip |
net-misc/hotot: Disable webkit-gtk support (#584162)
Package-Manager: portage-2.3.1
Diffstat (limited to 'net-misc/hotot')
-rw-r--r-- | net-misc/hotot/hotot-0.9.8.14_p20130514-r1.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/net-misc/hotot/hotot-0.9.8.14_p20130514-r1.ebuild b/net-misc/hotot/hotot-0.9.8.14_p20130514-r1.ebuild new file mode 100644 index 000000000000..5b670b9c3388 --- /dev/null +++ b/net-misc/hotot/hotot-0.9.8.14_p20130514-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils python-single-r1 vcs-snapshot + +DESCRIPTION="lightweight & open source microblogging client" +HOMEPAGE="http://hotot.org" +SRC_URI="https://github.com/lyricat/Hotot/tarball/ed2ff013 -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="chrome kde qt4" + +REQUIRED_USE="|| ( chrome qt4 ) ${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/dbus-python[${PYTHON_USEDEP}] + qt4? ( dev-qt/qtwebkit:4 + kde? ( kde-base/kdelibs ) ) +" +DEPEND="${RDEPEND} + sys-devel/gettext + qt4? ( dev-qt/qtsql:4 ) +" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_configure() { + mycmakeargs=( + ${mycmakeargs} + $(cmake-utils_use_with chrome CHROME) + -DWITH_GTK=OFF + -DWITH_GTK2=OFF + -DWITH_GTK3=OFF + $(cmake-utils_use_with kde KDE) + $(cmake-utils_use_with qt4 QT) + -DPYTHON_EXECUTABLE=${PYTHON} ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + find "${D}" -name "*.pyc" -print -delete +} + +pkg_postinst() { + if use chrome; then + elog "TO install hotot for chrome, open chromium/google-chrome," + elog "vist chrome://chrome/extensions/ and load /usr/share/hotot" + elog "as unpacked extension." + fi +} |