45 lines
1 KiB
Bash
45 lines
1 KiB
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/x11-misc/okindd/okindd-0.6.1.ebuild,v 1.3 2013/03/02 23:50:34 hwoarang Exp $
|
|
|
|
EAPI=4
|
|
|
|
inherit qt4-r2
|
|
|
|
MY_P=${P}-23-20120304
|
|
|
|
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/${MY_P}.tar.bz2"
|
|
|
|
LICENSE="GPL-3"
|
|
KEYWORDS="~amd64 ~x86"
|
|
SLOT="0"
|
|
IUSE="debug"
|
|
|
|
DEPEND="
|
|
dev-qt/qtcore:4
|
|
dev-qt/qtdbus:4
|
|
dev-qt/qtgui:4
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S=${WORKDIR}/${PN}
|
|
|
|
DOCS="changelog"
|
|
PATCHES=( "${FILESDIR}/${P}-gcc-4.7.patch" )
|
|
|
|
src_install() {
|
|
qt4-r2_src_install
|
|
|
|
rm -rf "${ED}"usr/share/doc/${PN}
|
|
docinto examples
|
|
dodoc conf/okinddrc.{example,my} scripts/*
|
|
docompress -x /usr/share/doc/${PF}/examples
|
|
}
|
|
|
|
pkg_postinst() {
|
|
elog "You can find an example configuration file at"
|
|
elog " ${EROOT}usr/share/doc/${PF}/examples/okinddrc.example"
|
|
elog "It should be placed inside \${HOME}/.okindd/"
|
|
}
|