# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="5" PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) inherit games distutils-r1 DESCRIPTION="Lord of the Rings Online and Dungeons & Dragons Online Launcher" HOMEPAGE="http://www.lotro.com http://http://sny.name/LOTRO/" SRC_URI="https://github.com/Lynx3d/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-data="${GAMES_DATADIR}" \ --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" }