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-20111125_beta_rc1.…

…ebuild)
  • Loading branch information...
commit a62621c843952da28c55f5e2b19d6789d1745c3d 1 parent 7bf1103
@cerebrum authored
View
2  games-strategy/openra-bin/Manifest
@@ -15,6 +15,7 @@ DIST openra-bin-playtest-20111012.tar.xz 2490524 RMD160 14d13718681bca962a812cae
DIST openra-bin-playtest-20111023.tar.xz 2523532 RMD160 6c0eb8e080aa7e892f4f8e1410cd2d4f4b4d8b3c SHA1 08cb456f1360dd8554b8a4cd1447308954844009 SHA256 a85850f6f500bbc309a169a54d9eccec2d716283df4cfa67cf3460d1a12b3394
DIST openra-bin-playtest-20111024.tar.xz 2523508 RMD160 28cbdc6a7c73d86f591113f82a2dac553ee0c36f SHA1 3aa8ca8aa4b7916befab9178bd415c36ba03f7c8 SHA256 45adc30207d7b379e41f1c3bb173355e1ea08999a2e7930db051fca6793378be
DIST openra-bin-playtest-20111108.tar.xz 2520672 RMD160 84d941add2c7f6b6f8df6f0a23e0642bd63a89f1 SHA1 ca076a57d443b82a5cd34efd6b9b0ae95e8e75ea SHA256 8a9187c2beea0416f5a7647f0103b2f3baabf1d26d8d6fac17233ffc9b291093
+DIST openra-bin-playtest-20111125.tar.xz 2519156 RMD160 be3ac7857490db9207884553837356779fa1bb7d SHA1 4e765f60ccd9262888c3bf1b5a2f43f3c13963fa SHA256 92629289aa45c69363b3d12845bba9906ad385d055f7a09d02279e1c108908a3
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
@@ -28,4 +29,5 @@ EBUILD openra-bin-20111013_beta_rc1.ebuild 6812 RMD160 162ff214a9feedd9eb08cb786
EBUILD openra-bin-20111023_beta_rc1.ebuild 6812 RMD160 7aff7ab02e52ff3ef9ccd7cd24bb1adbc8816ef0 SHA1 da97e5cb9e39b57700dd37cf55de1f7db200c5f5 SHA256 4713f5e0ba28eae7f7891464a2dcc84a92b70f913f625292a09b2c3b97a25887
EBUILD openra-bin-20111024_beta_rc1.ebuild 6812 RMD160 7aff7ab02e52ff3ef9ccd7cd24bb1adbc8816ef0 SHA1 da97e5cb9e39b57700dd37cf55de1f7db200c5f5 SHA256 4713f5e0ba28eae7f7891464a2dcc84a92b70f913f625292a09b2c3b97a25887
EBUILD openra-bin-20111108_beta_rc1.ebuild 6812 RMD160 7aff7ab02e52ff3ef9ccd7cd24bb1adbc8816ef0 SHA1 da97e5cb9e39b57700dd37cf55de1f7db200c5f5 SHA256 4713f5e0ba28eae7f7891464a2dcc84a92b70f913f625292a09b2c3b97a25887
+EBUILD openra-bin-20111125_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-20111125_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.