blob: 5937cde87b55893742d9743313c250bb3d3b69bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/okindd/okindd-0.5.8-r1.ebuild,v 1.1 2009/12/26 14:13:28 wired Exp $
EAPI="2"
inherit qt4
MY_P="${P}-20090410"
DESCRIPTION="On Screen Display (OSD) for KDE 4.x - works on any qt desktop"
HOMEPAGE="http://sites.kochkin.org/okindd/Home"
SRC_URI="http://sites.kochkin.org/okindd/Home/source-code/${MY_P}.tar.bz2"
LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="debug"
DEPEND="x11-libs/qt-gui:4
x11-libs/qt-dbus:4"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/okindd_home_and_naming.patch" )
S="${WORKDIR}/${PN}"
src_prepare() {
sed -i "s:okind/:okindd/:g" "${S}"/conf/okinddrc.example ||
die "sed: fixing example paths failed"
sed -i "/^examples/d" "${S}"/src/src.pro ||
die "sed: doc patch failed"
qt4_src_prepare
}
src_configure() {
eqmake4 okindd.pro || die "configure failed"
}
src_install() {
emake INSTALL_ROOT="${D}" install || die "emake install failed"
domenu "${S}"/okindd.desktop || die "domenu failed"
dodoc changelog INSTALL || die "dodoc failed"
docinto examples
dodoc scripts/* || die "dodoc failed"
dodoc conf/okinddrc.example || die "dodoc failed"
elog "You can find an example configuration file at"
elog " /usr/share/doc/okindd/examples/okinddrc.example"
elog "It should be placed in \${HOME}/.okindd/"
}
|