From 724f9c5be4812a400d7ed0c8fbe69da1edcfe5e4 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Wed, 26 Apr 2017 23:25:09 +0100 Subject: games-action/descent2-data: Rewrite with GOG, closes #369397, #612896 Thanks to Jared B for the initial ebuild work and Xdelta patches. Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- games-action/descent2-data/Manifest | 2 + .../descent2-data/descent2-data-1.0.ebuild | 4 +- .../descent2-data/descent2-data-1.2.ebuild | 121 +++++++++++++++++++++ 3 files changed, 125 insertions(+), 2 deletions(-) create mode 100644 games-action/descent2-data/Manifest create mode 100644 games-action/descent2-data/descent2-data-1.2.ebuild (limited to 'games-action') diff --git a/games-action/descent2-data/Manifest b/games-action/descent2-data/Manifest new file mode 100644 index 000000000000..1c4606943d9e --- /dev/null +++ b/games-action/descent2-data/Manifest @@ -0,0 +1,2 @@ +DIST d2xptch12.tgz 158419 SHA256 61743c19baecde602c778e6ea44ef4a28bab9b8aa16a5f2772e3799863487a80 SHA512 14d59280e685a9c3d5e23e1d535f37f89768e022b795067793a994c5150685addfcacbd2dc52231804240d01d17d57b1db04335d41bc5930e3c8a845ebbb396b WHIRLPOOL ea2d14205eaa8978f22b9e9c3e20d99cf4c9ea8f43a4c688cb4cd9fc85b41b1dfdfed9fa38161ba776357a16370ede00fcc191a5d01ba1e7c4635720f0d1e77c +DIST setup_descent2_2.1.0.10.exe 554371624 SHA256 e787d95574f8a4bf3c442ad49e837186319d3bb041a33a00df726be3be7c9750 SHA512 0db1935864eb59002cc995dfe9c40badd72d0a3dcec61092b0760481cd3d1316db17631c05043b938e4b958d696c508ce379face9baa260dcc598c77b4460618 WHIRLPOOL 1f13b652c79752772cf2a151ca7663443e8936be352ddb100e140b00bc6f88a13ba5d4dfad17cb07ed78ed5b629fad1aaeeb7424a2216b68761c4065b6f8ac3c diff --git a/games-action/descent2-data/descent2-data-1.0.ebuild b/games-action/descent2-data/descent2-data-1.0.ebuild index 8a1ae686d06e..cd4b41ef4d8e 100644 --- a/games-action/descent2-data/descent2-data-1.0.ebuild +++ b/games-action/descent2-data/descent2-data-1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -15,7 +15,7 @@ SRC_URI="" # mirror://3dgamers/descent2/d2ptch${MY_PV}.exe # See readme.txt -LICENSE="${PN}" +LICENSE="descent-data" SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="videos" diff --git a/games-action/descent2-data/descent2-data-1.2.ebuild b/games-action/descent2-data/descent2-data-1.2.ebuild new file mode 100644 index 000000000000..947680089288 --- /dev/null +++ b/games-action/descent2-data/descent2-data-1.2.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +CDROM_OPTIONAL="yes" +inherit cdrom eutils + +# Not possible to apply official 1.2 patch under Linux. A Gentoo user +# created Xdelta patches and the DXX-Rebirth project kindly hosted them. +MY_PATCH="http://www.dxx-rebirth.com/download/dxx/misc/d2xptch12.tgz" + +# For GOG install +MY_EXE="setup_descent2_2.1.0.10.exe" + +DESCRIPTION="Data files for Descent 2" +HOMEPAGE="http://www.interplay.com/games/descent.php" +SRC_URI="cdinstall? ( ${MY_PATCH} ) + !cdinstall? ( ${MY_EXE} )" +LICENSE="descent-data" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc videos" +RESTRICT="bindist !cdinstall? ( fetch )" + +#