| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/www-plugins/kpartsplugin/kpartsplugin-20110823.ebuild,v 1.3 2012/02/24 15:05:49 phajdan.jr Exp $
|
| 4 |
|
| 5 |
EAPI=3
|
| 6 |
inherit kde4-base nsplugins
|
| 7 |
|
| 8 |
DESCRIPTION="Plugin using KDE's KParts technology to embed file viewers into non-KDE browsers"
|
| 9 |
HOMEPAGE="http://www.unix-ag.uni-kl.de/~fischer/kpartsplugin/"
|
| 10 |
SRC_URI="http://www.unix-ag.uni-kl.de/~fischer/kpartsplugin/${P}.tar.bz2"
|
| 11 |
|
| 12 |
LICENSE="GPL-3 BSD"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="~amd64 ~x86"
|
| 15 |
|
| 16 |
IUSE=""
|
| 17 |
|
| 18 |
PATCHES=( "${FILESDIR}/${P}-xpi.patch" )
|
| 19 |
|
| 20 |
src_prepare() {
|
| 21 |
echo "set( PLUGIN_INSTALL_DIR \"/usr/$(get_libdir)/${PLUGINS_DIR}/\" )" >> CMakeLists.txt || die
|
| 22 |
kde4-base_src_prepare
|
| 23 |
}
|