crossover-games-bin-10.2.0

Opublikowany: 01.11.2011

Uproszczona wersja wine z interfejsem do zarządzania i komercyjnym wsparciem

Strona projektu: CrossOver Games

To jest ebuild Crossover Games uproszczonej wersji wine posiadający wsparcie komercyjne

Ten ebuild został pobrany z tego raportu błędu. Jedynie zmieniłem jego nazwę tak aby odpowiadał on ostatniej wersji pakietu.

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

echo "=app-emulation/crossover-games-bin-10.2.0" >> /etc/portage/package.keywords
emerge -av =app-emulation/crossover-games-bin-10.2.0

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.  
  4. EAPI="3"
  5.  
  6. inherit eutils rpm
  7.  
  8. DESCRIPTION="simplified/streamlined version of wine with commercial support"
  9. HOMEPAGE="http://www.codeweavers.com/products/cxgames/"
  10. SRC_URI="crossover-games-demo-${PV}-1.i386.rpm"
  11.  
  12. #crossover-games-demo-10.1.0-1.i386.rpm
  13.  
  14. LICENSE="CROSSOVER"
  15. SLOT="0"
  16. KEYWORDS="-* ~amd64 ~x86"
  17. IUSE="nas"
  18. RESTRICT="fetch strip"
  19.  
  20. DEPEND="app-arch/rpm"
  21.  
  22. RDEPEND="sys-libs/glibc
  23. x11-libs/libXrandr
  24. x11-libs/libXi
  25. x11-libs/libXmu
  26. x11-libs/libXxf86dga
  27. x11-libs/libXxf86vm
  28. dev-util/desktop-file-utils
  29. nas? ( media-libs/nas )
  30. amd64? ( app-emulation/emul-linux-x86-xlibs )
  31. media-libs/jpeg:62
  32. media-libs/libpng:1.2"
  33.  
  34. S=${WORKDIR}
  35.  
  36. pkg_nofetch() {
  37. einfo "Please visit ${HOMEPAGE}"
  38. einfo "and place ${A} in ${DISTDIR}"
  39. }
  40.  
  41.  
  42. src_unpack() {
  43. rpm_src_unpack ${A}
  44. }
  45.  
  46. src_install() {
  47. # Create /opt/cxgames
  48. dodir /opt/cxgames || die "dodir failed"
  49.  
  50. # Copy all cxgames files
  51. cd "${S}/opt/cxgames"
  52. cp -r * "${D}"/opt/cxgames || die "cp failed"
  53.  
  54. insinto /opt/cxgames/etc
  55. doins share/crossover/data/cxgames.conf
  56.  
  57. # Setup shortcuts
  58. #TBD
  59. }
  60.  
  61. pkg_postinst() {
  62. elog "Run /opt/cxgames/bin/cxsetup as normal user to create"
  63. elog "bottles and install Windows applications."
  64. }

Oto lista wszystkich wersji ebuilda crossover-games-bin jakie możesz znaleźć w moim overlay'u: