Rev 234 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
237 | kardasa@ka | 1 | # Copyright 1999-2017 Gentoo Foundation |
233 | kardasa | 2 | # Distributed under the terms of the GNU General Public License v2 |
3 | # $Header: $ |
||
4 | |||
5 | EAPI="5" |
||
6 | |||
237 | kardasa@ka | 7 | PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
233 | kardasa | 8 | |
9 | inherit games distutils-r1 |
||
10 | |||
11 | DESCRIPTION="Lord of the Rings Online and Dungeons & Dragons Online Launcher" |
||
12 | HOMEPAGE="https://github.com/nwestfal/pylotro" |
||
13 | SRC_URI="https://github.com/nwestfal/pylotro/archive/master.zip -> ${P}.zip" |
||
14 | |||
15 | LICENSE="GPL-3" |
||
16 | SLOT="0" |
||
17 | KEYWORDS="~amd64 ~x86" |
||
18 | IUSE="" |
||
19 | |||
20 | DEPEND="dev-python/PyQt4[webkit,${PYTHON_USEDEP}]" |
||
21 | RDEPEND="${DEPEND}" |
||
22 | |||
23 | S="${WORKDIR}/${PN}-master" |
||
24 | |||
25 | python_install() { |
||
26 | distutils-r1_python_install \ |
||
234 | kardasa | 27 | --install-scripts="${GAMES_BINDIR}" |
233 | kardasa | 28 | --install-lib="$(python_get_sitedir)" |
29 | } |
||
30 | |||
31 | src_install() { |
||
32 | distutils-r1_src_install |
||
33 | prepgamesdirs |
||
34 | } |
||
35 | |||
36 | pkg_postinst() { |
||
37 | games_pkg_postinst |
||
38 | elog |
||
39 | elog "You will need a proper wine or crossover-game installation to launch" |
||
40 | elog "the game. You can find more information on how to run these games in" |
||
41 | elog "Linux by visiting:" |
||
42 | elog "http://appdb.winehq.org/objectManager.php?sClass=application&iId=4891" |
||
43 | elog "or http://www.codeweavers.com/compatibility/browse/name/?app_id=4029" |
||
44 | } |