Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

OpenRA-Bin was updated with new ebuild (openra-bin-20120304_beta_rc1.…

…ebuild)
  • Loading branch information...
commit 8406087e9af7cfe8d59a746e1befaddcea463f85 1 parent 6c8cfcf
@cerebrum authored
View
2  games-strategy/openra-bin/Manifest
@@ -19,6 +19,7 @@ DIST openra-bin-playtest-20111125.tar.xz 2519156 RMD160 be3ac7857490db9207884553
DIST openra-bin-playtest-20111208.tar.xz 2523356 RMD160 92a63776c1d12892e8bc66b03c764ad8c84ccac9 SHA1 f2e70ca67d1db59150eeb9dd72db44af37a181cc SHA256 baa93e126479a1f057187806648f00b552e4eb7bc4358aa0ec477d2d335137bf
DIST openra-bin-playtest-20111209.tar.xz 2520724 RMD160 892976bee6f2f6895c650c50806ab1cfdcc19094 SHA1 2dbbbea42c309a3535c23e86921ef2016dc14d25 SHA256 da7d4f6cf33fc9289261a52d05e9d262337131a436fbc4eb27ae1c4f9fb2cb83
DIST openra-bin-playtest-20111223.tar.xz 2520660 RMD160 11391c6e8a4b5040b0c27d760fc2303099b3e37e SHA1 a5cd3b19b65d520845573cb0e5001ab01e8c1f46 SHA256 ee8ef117bf06cb90286bb3432a7284d37009ad7dbdb9ddcc42b1221790af3e66
+DIST openra-bin-playtest-20120304.tar.xz 2609556 RMD160 a0d758aa54aebbb8c3125dbde6a236c3f101728c SHA1 6008623110ee119f491261dd2622b43450714946 SHA256 b08462e77fb3230f0417e9e0e0f2dbf0a761ef49cc3ed58313684562346ae126
DIST openra-bin-release-20110906.tar.xz 2301204 RMD160 9972bf3d9dca3d72cdeec1e3ae82b7ea96a8ed5f SHA1 fed253dc09bddcc15ea0d107ac4d031404cbeeb2 SHA256 70c1ef058b9c4c631c9f065bc064251eafd2a17bd3e5f3e8ab760865ce9b7145
DIST openra-bin-release-20111013.tar.xz 2493468 RMD160 d177c48fd87b72a36925d2c2e3dd39a6cc02fea5 SHA1 6d0e643801b7d2f6f360f2124cc482ebad174b25 SHA256 e3d18f13687ede4f26f0c319f36fb0ae1968144f664f8c2698c7404d47473be7
EBUILD openra-bin-20110906_beta_rc1-r1.ebuild 6812 RMD160 162ff214a9feedd9eb08cb786026a4e814f15208 SHA1 4c0283773bb6fdb444ee3d4032ce2c25bf2606b1 SHA256 64951d09bd04359bf5ec8b0bfb4d40d1955288006c85ac24940a611cb4291a58
@@ -36,4 +37,5 @@ EBUILD openra-bin-20111125_beta_rc1.ebuild 6812 RMD160 7aff7ab02e52ff3ef9ccd7cd2
EBUILD openra-bin-20111208_beta_rc1.ebuild 6812 RMD160 7aff7ab02e52ff3ef9ccd7cd24bb1adbc8816ef0 SHA1 da97e5cb9e39b57700dd37cf55de1f7db200c5f5 SHA256 4713f5e0ba28eae7f7891464a2dcc84a92b70f913f625292a09b2c3b97a25887
EBUILD openra-bin-20111209_beta_rc1.ebuild 6812 RMD160 7aff7ab02e52ff3ef9ccd7cd24bb1adbc8816ef0 SHA1 da97e5cb9e39b57700dd37cf55de1f7db200c5f5 SHA256 4713f5e0ba28eae7f7891464a2dcc84a92b70f913f625292a09b2c3b97a25887
EBUILD openra-bin-20111223_beta_rc1.ebuild 6812 RMD160 7aff7ab02e52ff3ef9ccd7cd24bb1adbc8816ef0 SHA1 da97e5cb9e39b57700dd37cf55de1f7db200c5f5 SHA256 4713f5e0ba28eae7f7891464a2dcc84a92b70f913f625292a09b2c3b97a25887
+EBUILD openra-bin-20120304_beta_rc1.ebuild 6812 RMD160 7aff7ab02e52ff3ef9ccd7cd24bb1adbc8816ef0 SHA1 da97e5cb9e39b57700dd37cf55de1f7db200c5f5 SHA256 4713f5e0ba28eae7f7891464a2dcc84a92b70f913f625292a09b2c3b97a25887
MISC metadata.xml 483 RMD160 af596f764e692426ad7dce0bda11097169d898e1 SHA1 dccf90f8327ff8cdd4311604bcbc475ff0c8e709 SHA256 e6242efc5c037e6fbc12f87624047ba78effae03d5e426d3baefe6cfa4241d28
View
169 games-strategy/openra-bin/openra-bin-20120304_beta_rc1.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+inherit versionator eutils #flag-o-matic
+
+MY_PV=$(get_major_version)
+#VERSION="release-${MY_PV}"
+VERSION="playtest-${MY_PV}"
+#LVERSION="release.${MY_PV}"
+LVERSION="playtest.${MY_PV}"
+
+DESCRIPTION="A Libre/Free RTS engine supporting early Westwood games like Command & Conquer and Red Alert"
+HOMEPAGE="http://open-ra.org/"
+SRC_URI="http://openra.res0l.net/assets/downloads/linux/arch/openra-${LVERSION}-1-any.pkg.tar.xz
+ -> ${PN}-${VERSION}.tar.xz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="cg ra cnc"
+DEPEND="cg? (
+ >=media-gfx/nvidia-cg-toolkit-2
+ )
+ >=dev-lang/mono-2.6.7
+ media-libs/mesa
+ media-libs/freetype
+ >=media-libs/openal-1.1
+ >=media-libs/libsdl-1.2"
+RDEPEND="${DEPEND}"
+
+PREFIX="usr"
+DATA_ROOT_DIR="${PREFIX}/share"
+INSTALL_DIR="${DATA_ROOT_DIR}/${PN}"
+INSTALL_DIR_BIN="${PREFIX}/bin"
+ICON_DIR="${DATA_ROOT_DIR}/icons"
+DESK_DIR="${DATA_ROOT_DIR}/desktop-directories"
+
+src_prepare() {
+ epatch "${FILESDIR}/ramusic.patch"
+ # Remove old and unnecessary wrapper script
+ rm -v ${INSTALL_DIR_BIN}/openra
+ # Remove old and unnecessary desktop file
+ rm -v ${DATA_ROOT_DIR}/applications/openra.desktop
+ # Move program files to correct binary location
+ mv -v ${DATA_ROOT_DIR}/openra ${INSTALL_DIR}
+ mv -v ${ICON_DIR}/hicolor/16x16/apps/openra.png ${ICON_DIR}/hicolor/16x16/apps/openra-bin.png
+ mv -v ${ICON_DIR}/hicolor/32x32/apps/openra.png ${ICON_DIR}/hicolor/32x32/apps/openra-bin.png
+ mv -v ${ICON_DIR}/hicolor/64x64/apps/openra.png ${ICON_DIR}/hicolor/64x64/apps/openra-bin.png
+ mv -v ${ICON_DIR}/hicolor/48x48/apps/openra.png ${ICON_DIR}/hicolor/48x48/apps/openra-bin.png
+ mv -v ${ICON_DIR}/hicolor/128x128/apps/openra.png ${ICON_DIR}/hicolor/128x128/apps/openra-bin.png
+}
+
+src_install() {
+ # Desktop Icons
+ sed "s/{VERSION}/${VERSION}/" ${FILESDIR}/openra-bin-ra.desktop > openra-bin-ra.desktop
+ sed "s/{VERSION}/${VERSION}/" ${FILESDIR}/openra-bin-cnc.desktop > openra-bin-cnc.desktop
+ sed "s/{VERSION}/${VERSION}/" ${FILESDIR}/openra-bin-editor.desktop > openra-bin-editor.desktop
+ domenu openra-bin-ra.desktop openra-bin-cnc.desktop openra-bin-editor.desktop
+ if use cg ; then
+ sed "s/{VERSION}/${VERSION}/" ${FILESDIR}/openra-bin-ra-cg.desktop > openra-bin-ra-cg.desktop
+ sed "s/{VERSION}/${VERSION}/" ${FILESDIR}/openra-bin-cnc-cg.desktop > openra-bin-cnc-cg.desktop
+ domenu openra-bin-ra-cg.desktop openra-bin-cnc-cg.desktop
+ fi
+ # Icon images
+ insinto ${ICON_DIR}
+ doins -r ${ICON_DIR}/hicolor
+ # Desktop directory
+ insinto /${DESK_DIR}
+ doins ${FILESDIR}/openra-bin.directory
+ # Desktop menu
+ insinto "${XDG_CONFIG_DIRS}/menus/applications-merged"
+ doins ${FILESDIR}/games-openra-bin.menu
+ dodir /${INSTALL_DIR}
+ cp -R "${WORKDIR}/${INSTALL_DIR}/" "${D}/${DATA_ROOT_DIR}/" || die "Install failed!"
+ dodoc ${INSTALL_DIR}/COPYING ${INSTALL_DIR}/HACKING ${INSTALL_DIR}/CHANGELOG
+}
+
+pkg_postinst() {
+ elog
+ elog " You may run the game from desktop games menu or just manually"
+ elog " run the game with \`mono OpenRA.Game.exe Game.Mods=ra\` for Red Alert"
+ elog " or \`mono OpenRA.Game.exe Game.Mods=cnc\` for Command & Conquer."
+ if use cg ; then
+ elog
+ elog " You may also run the game with alternative Cg Graphics Renderer"
+ elog " by adding \`Graphics.Renderer=Cg\` parameter to above commands"
+ elog " (convenient for some integrated graphics cards) or run explicitly"
+ elog " with a default one by adding \`Graphics.Renderer=Gl\` parameter."
+ fi
+ cd "/${INSTALL_DIR}"
+ # Download and install RA packages
+ if use ra ; then
+ mono OpenRA.Utility.exe --download-url=http://open-ra.org/get-dependency.php?file=ra-packages,/tmp/ra-packages.zip
+ mono OpenRA.Utility.exe --extract-zip=/tmp/ra-packages.zip,ra/packages/
+ else
+ elog
+ elog " The RA packages will need to be extracted to /home/<user>/.openra/Content/ra/"
+ elog " before the RA mod will actually work. You may execute OpenRA and it will"
+ elog " suggest to download content from CD or from OpenRA site automatically."
+ elog " You may also try to download minimal content pack from OpenRA site manually:"
+ elog " http://open-ra.org/get-dependency.php?file=ra-packages"
+ elog " But the better choice is to download full pack from original game CD or iso."
+ elog " However, full CD pack usage result in slower game start from OpenRA Lobby."
+ elog
+ elog " The required files for the Red Alert mod are:"
+ elog " EITHER:"
+ elog " * conquer.mix"
+ elog " * temperat.mix"
+ elog " * interior.mix"
+ elog " * snow.mix"
+ elog " * sounds.mix"
+ elog " * allies.mix"
+ elog " * russian.mix"
+ elog " OR:"
+ elog " * main.mix"
+ elog " AND:"
+ elog " * redalert.mix"
+ elog
+ fi
+
+ if use cnc ; then
+ mono OpenRA.Utility.exe --download-url=http://open-ra.org/get-dependency.php?file=cnc-packages,/tmp/cnc-packages.zip
+ mono OpenRA.Utility.exe --extract-zip=/tmp/cnc-packages.zip,cnc/packages/
+ else
+ elog
+
+ elog " The C&C packages will need to be extracted to /home/<user>/.openra/Contet/cnc/"
+ elog " before the C&C mod will actually work. You may execute OpenRA and it will"
+ elog " suggest to download content from CD or from OpenRA site automatically."
+ elog " You may also try to download minimal content pack from OpenRA site manually:"
+ elog " http://open-ra.org/get-dependency.php?file=cnc-packages"
+ elog " But the better choice is to download full pack from original game CD or iso."
+ elog " However, full CD pack usage result in slower game start from OpenRA Lobby."
+ elog
+ elog " The required files for the Command and Conquer mod are:"
+ elog " * cclocal.mix"
+ elog " * speech.mix"
+ elog " * conquer.mix"
+ elog " * sounds.mix"
+ elog " * tempicnh.mix"
+ elog " * temperat.mix"
+ elog " * winter.mix"
+ elog " * desert.mix"
+ elog
+ fi
+ elog
+ elog " Red Alert and C&C have been released by EA Games as freeware. They could be"
+ elog " downloaded from http://www.commandandconquer.com/classic"
+ elog " Unfortunately the installer is 16-bit and so won’t run on 64-bit operating"
+ elog " systems. This can be worked around by using the Red Alert Setup Manager"
+ elog " (http://ra.afraid.org/html/downloads/utilities-3.html)."
+ elog " Make sure you apply the no-CD protection fix so all the files needed"
+ elog " are installed to the hard drive."
+ elog
+ elog " If you have a case-sensitive filesystem you must change the filenames to"
+ elog " lower case."
+ elog
+ elog " Please note: OpenRA is currently at a beta release stage. Releases may"
+ elog " be buggy or unstable. If you have any problems, please report them to the"
+ elog " IRC channel (#openra on irc.freenode.net) or to the bug-tracker"
+ elog " (http://bugs.open-ra.org)."
+ elog
+ elog " You may also see servers list with"
+ elog " http://master.open-ra.org/list.php"
+ elog
+ update-desktop-database
+}
Please sign in to comment.
Something went wrong with that request. Please try again.