pylotro-0.1.15

Opublikowany: 03.06.2011

Program do uruchamiania gier Lord of the Rings Online i Dungeons & Dragons Online.

Strona projektu: Lotro Linux

To jest ebuild dla programu uruchamiającego klienta gier Lord Of The Rings OnLine i Dungenons and Dragons OnLine.

To jest wersja ebuild'a poprzednio napisanego przeze mnie i poprawionego oraz zgłoszonego przez Daniela Santos'a do overlay'a sunruse. Pierwsza wersja tego ebuilda została wgrana tutaj.

Musisz należeć do grupy games aby używać tego programu. Wykonaj:

gpasswd -a your_user games

Aby dowiedzieć się więcej jak uruchomić grę używając wine lub crossover odwiedź raport gry na crossover lub raport gry na wine.

Aby wykorzystać ten ebuild wykonaj następujące polecenia w terminalu:

echo "=games-rpg/pylotro-0.1.15" >> /etc/portage/package.keywords
emerge -av =games-rpg/pylotro-0.1.15

Wyświetl kod źródłowy ebuilda
  1. # Copyright 1999-2011 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: $
  4.  
  5. EAPI="3"
  6.  
  7. PYTHON_DEPEND="2:2.5"
  8. SUPPORT_PYTHON_ABIS="1"
  9. RESTRICT_PYTHON_ABIS="2.4 3.*"
  10.  
  11. inherit games distutils
  12.  
  13. DESCRIPTION="Lord of the Rings Online and Dungeons & Dragons Online Launcher"
  14. HOMEPAGE="http://www.lotrolinux.com/"
  15. SRC_URI="http://www.lotrolinux.com/PyLotRO-${PV}.zip"
  16.  
  17. LICENSE="GPL-3"
  18. SLOT="0"
  19. KEYWORDS="~amd64 ~x86"
  20. IUSE=""
  21.  
  22. DEPEND="dev-python/PyQt4
  23. dev-python/4suite"
  24. RDEPEND="${DEPEND}"
  25.  
  26. S="${WORKDIR}/PyLotRO"
  27.  
  28. PYTHON_MODNAME=PyLotROLauncher
  29. PYTHON_VERSIONED_SCRIPTS="${GAMES_BINDIR}/${PN}"
  30.  
  31. src_install() {
  32. distutils_src_install \
  33. --install-scripts "${GAMES_BINDIR}" \
  34. --install-data "${GAMES_DATADIR}"
  35. prepgamesdirs
  36. }
  37.  
  38. pkg_postinst() {
  39. distutils_pkg_postinst
  40. games_pkg_postinst
  41.  
  42. elog
  43. elog "You will need a proper wine or crossover-game installation to launch"
  44. elog "the game. You can find more information on how to run these games in"
  45. elog "Linux by visiting:"
  46. elog "http://appdb.winehq.org/objectManager.php?sClass=application&iId=4891"
  47. elog "or http://www.codeweavers.com/compatibility/browse/name/?app_id=4029"
  48. }

Oto lista wszystkich wersji ebuilda pylotro jakie możesz znaleźć w moim overlay'u: