/[gentoo-x86]/net-misc/hotot/hotot-0.9.8.8_pre.ebuild
Gentoo

Contents of /net-misc/hotot/hotot-0.9.8.8_pre.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Feb 7 06:37:31 2013 UTC (6 years, 10 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Drop old

(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)

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.8_pre.ebuild,v 1.3 2012/12/06 03:59:12 phajdan.jr Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="gtk? 2"
8 RESTRICT_PYTHON_ABIS="3.*"
9
10 inherit cmake-utils eutils 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/d1ad4f714 -> ${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/dbus-python
22 gtk? ( dev-python/pywebkitgtk )
23 qt4? ( x11-libs/qt-webkit:4
24 kde? ( kde-base/kdelibs ) )"
25 DEPEND="${RDEPEND}
26 sys-devel/gettext
27 qt4? ( x11-libs/qt-sql:4 )"
28
29 REQUIRED_USE="|| ( chrome gtk qt4 )"
30
31 pkg_setup() {
32 if ! use gtk ; then
33 if ! use qt4 ; then
34 ewarn "neither gtk not qt4 binaries will be build"
35 fi
36 fi
37 python_pkg_setup
38 }
39
40 src_prepare() {
41 epatch "${FILESDIR}"/${P}-it_IT.patch
42 }
43
44 src_configure() {
45 mycmakeargs="${mycmakeargs} \
46 $(cmake-utils_use_with chrome CHROME) \
47 $(cmake-utils_use_with gtk GTK) \
48 $(cmake-utils_use_with kde KDE) \
49 $(cmake-utils_use_with qt4 QT) \
50 -DPYTHON_EXECUTABLE=$(PYTHON -2 -a)"
51
52 cmake-utils_src_configure
53 }
54
55 src_install() {
56 cmake-utils_src_install
57
58 find "${D}" -name "*.pyc" -delete
59 }
60
61 pkg_postinst() {
62 if use chrome; then
63 elog "TO install hotot for chrome, open chromium/google-chrome,"
64 elog "vist chrome://chrome/extensions/ and load /usr/share/hotot"
65 elog "as unpacked extension."
66 fi
67 }

  ViewVC Help
Powered by ViewVC 1.1.20