/[gentoo-x86]/net-misc/hotot/hotot-0.9.8.7-r1.ebuild
Gentoo

Contents of /net-misc/hotot/hotot-0.9.8.7-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Aug 29 22:22:13 2012 UTC (7 years, 3 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump, mark qt-sql as build DEPEND.

(Portage version: 2.1.11.12/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/hotot/hotot-0.9.8.7-r1.ebuild,v 1.2 2012/08/29 15:00:14 xmw Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="gtk? 2"
8 RESTRICT_PYTHON_ABIS="3.*"
9
10 inherit cmake-utils python vcs-snapshot
11
12 DESCRIPTION="lightweight & open source microblogging client"
13 HOMEPAGE="http://hotot.org"
14 SRC_URI="https://github.com/shellex/Hotot/tarball/${PV} -> ${P}.tar.gz"
15
16 LICENSE="LGPL-3"
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86"
19 IUSE="chrome gtk kde qt4"
20
21 RDEPEND="dev-python/PyQt4[sql]
22 dev-python/dbus-python
23 gtk? ( dev-python/pywebkitgtk )
24 qt4? ( x11-libs/qt-webkit:4
25 x11-libs/qt-sql:4
26 kde? ( kde-base/kdelibs ) )"
27 DEPEND="${RDEPEND}
28 sys-devel/gettext"
29
30 REQUIRED_USE="|| ( chrome gtk qt4 )"
31
32 pkg_setup() {
33 if ! use gtk ; then
34 if ! use qt4 ; then
35 ewarn "neither gtk not qt4 binaries will be build"
36 fi
37 fi
38 python_pkg_setup
39 }
40
41 src_configure() {
42 mycmakeargs="${mycmakeargs} \
43 $(cmake-utils_use_with chrome CHROME) \
44 $(cmake-utils_use_with gtk GTK) \
45 $(cmake-utils_use_with kde KDE) \
46 $(cmake-utils_use_with qt4 QT) \
47 -DPYTHON_EXECUTABLE=$(PYTHON -2 -a)"
48
49 cmake-utils_src_configure
50 }
51
52 src_install() {
53 cmake-utils_src_install
54
55 find "${D}" -name "*.pyc" -delete
56 }
57
58 pkg_postinst() {
59 if use chrome; then
60 elog "TO install hotot for chrome, open chromium/google-chrome,"
61 elog "vist chrome://chrome/extensions/ and load /usr/share/hotot"
62 elog "as unpacked extension."
63 fi
64 }

  ViewVC Help
Powered by ViewVC 1.1.20