Rev 234 | Blame | Compare with Previous | Last modification | View Log | RSS feed
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit games distutils-r1
DESCRIPTION="Lord of the Rings Online and Dungeons & Dragons Online Launcher"
HOMEPAGE="https://github.com/nwestfal/pylotro"
SRC_URI="https://github.com/nwestfal/pylotro/archive/master.zip -> ${P}.zip"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/PyQt4[webkit,${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-master"
python_install() {
distutils-r1_python_install \
--install-scripts="${GAMES_BINDIR}"
--install-lib="$(python_get_sitedir)"
}
src_install() {
distutils-r1_src_install
prepgamesdirs
}
pkg_postinst() {
games_pkg_postinst
elog
elog "You will need a proper wine or crossover-game installation to launch"
elog "the game. You can find more information on how to run these games in"
elog "Linux by visiting:"
elog "http://appdb.winehq.org/objectManager.php?sClass=application&iId=4891"
elog "or http://www.codeweavers.com/compatibility/browse/name/?app_id=4029"
}