Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/uqm/
Date: Sun, 15 Jul 2018 19:01:15
Message-Id: 1531681261.aa9782654b6d3080e15e2be661241ce030c75c46.chewi@gentoo
1 commit: aa9782654b6d3080e15e2be661241ce030c75c46
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 15 19:00:31 2018 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 15 19:01:01 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa978265
7
8 games-strategy/uqm: Drop old and somewhat broken 0.7.0-r4
9
10 Package-Manager: Portage-2.3.42, Repoman-2.3.9
11
12 games-strategy/uqm/Manifest | 1 -
13 games-strategy/uqm/uqm-0.7.0-r4.ebuild | 115 ---------------------------------
14 2 files changed, 116 deletions(-)
15
16 diff --git a/games-strategy/uqm/Manifest b/games-strategy/uqm/Manifest
17 index 403a17b29b4..75488825594 100644
18 --- a/games-strategy/uqm/Manifest
19 +++ b/games-strategy/uqm/Manifest
20 @@ -1,7 +1,6 @@
21 DIST uqm-0.7.0-1-source.tgz 1591613 BLAKE2B 400309aced671a23bf325b95bb471db2e5b9aa59a0c868bc1cf971e71ad22a7a555c68fc15be1c574e4b4a8f58b0c18c4a5f85c188b494e20b36bd09ba6de02b SHA512 77255e7e4cc195d4db7f02bb95e76d41c0d72cb179b30a8cd944c4c78560485d76ad89b0bbd03102e5718d66f3b16050ef73a30b6bc8d31e1c0bfa46758badaa
22 DIST uqm-0.7.0-3domusic.uqm 18980671 BLAKE2B e86828b8a4a2ae7aee7469a9792c3ba7f472208fe33de46f2797024331a290c1092fcae4a1d599fa002d9cd9ef0248df6cb6cda673d3c0ef90c55ae4a38afd56 SHA512 e7d723194685388813d72e1add9a710ecd3de9b33381dfe66acee6c31a31634ee9031ecc83c2003a5222b9381efe150a2f2a9289f8505d842182ca03b012183b
23 DIST uqm-0.7.0-content.uqm 11538533 BLAKE2B 8b654f47d8d2e66dac197b10b96fdfc62907cafc6b5b9046a84588d539349263012c5cb235a428e2cb9a8840b1ff7565035f810a8445892b3c272bb629769348 SHA512 c80aa9f1158d07534abc1ef625662dfcd5021cb5e8091d46b3e9a2d96a0fffbe7e9e6cc88680b43d810c8e68a580f7a0d4b62c08e9f7b948ae7f017e4ad20dd2
24 -DIST uqm-0.7.0-source.tgz 1562003 BLAKE2B 682f87b4967b1aef298dd576dd37cef838f2eaf42f2212fc3af70bf7319e5284cc9bff616d8db3a36a7f2760d2f47f714bcaa2f4f3d35993892a78cdadc85e54 SHA512 443ac13da401d45743f913755647b3309834c57f371fb673c3ea2cacb81184bf30430db10af9001de854363520d1f792f47faffd690c8c2b2f3d12d63b217815
25 DIST uqm-0.7.0-voice.uqm 115143439 BLAKE2B 397bf018e128fc3ac95f40e087b809af58d935549489a1f317495d13be166317f2108eee9d1d5dc2283ef486df70d90aeb1808c29fd78d016fae504189a78625 SHA512 693a4869f8567637b112138f8a074b65919776175addbd353e3601085ee4e4bb4758daca64921c902463f5dc38baa6f7fda4ad32f3cf1786646ef48f15cdeb80
26 DIST uqm-remix-disc1.uqm 50188876 BLAKE2B 02bf183aa9ef5460831d4bbcfa90ce4745814de017700d7e6dcb1a065dff2a37d47239fdacbb2ba7639a788d795ac45579952aa7f78b760aa9dc8e3aa9d2ccde SHA512 fed2a6e260ee96802898ad9b6c968acaac3613187fe38370fb557d6d220b499b922447ea04edd15763d0161f5c156ce03bc9d55a86ed3b4e2e0140a4fb17e99b
27 DIST uqm-remix-disc2.uqm 60282662 BLAKE2B c556a99adfb11c8b90cf1de272ce5d42aaf7ec16d246572286646328ddd24b0928f013c8de7806e6545b436c2fa152e0cfd7f4851769992848d6aecb0379a433 SHA512 3053693417facef6d01cdb366a15c1bd2a6272961df5870c4151a928845dd76e4ac5fc59f232da5034d56fd9476d3074840a2e9f16d63dba341aeffd92827c4e
28
29 diff --git a/games-strategy/uqm/uqm-0.7.0-r4.ebuild b/games-strategy/uqm/uqm-0.7.0-r4.ebuild
30 deleted file mode 100644
31 index f0413671633..00000000000
32 --- a/games-strategy/uqm/uqm-0.7.0-r4.ebuild
33 +++ /dev/null
34 @@ -1,115 +0,0 @@
35 -# Copyright 1999-2018 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -inherit desktop toolchain-funcs
40 -
41 -DESCRIPTION="The Ur-Quan Masters: Port of Star Control 2"
42 -HOMEPAGE="http://sc2.sourceforge.net/"
43 -SRC_URI="mirror://sourceforge/sc2/${P}-source.tgz
44 - mirror://sourceforge/sc2/${P}-content.uqm
45 - music? ( mirror://sourceforge/sc2/${P}-3domusic.uqm )
46 - voice? ( mirror://sourceforge/sc2/${P}-voice.uqm )
47 - remix? ( mirror://sourceforge/sc2/${PN}-remix-disc1.uqm \
48 - mirror://sourceforge/sc2/${PN}-remix-disc2.uqm \
49 - mirror://sourceforge/sc2/${PN}-remix-disc3.uqm \
50 - mirror://sourceforge/sc2/${PN}-remix-disc4.uqm )"
51 -
52 -LICENSE="GPL-2+"
53 -SLOT="0"
54 -KEYWORDS="~amd64 ~ppc64 ~x86"
55 -IUSE="music opengl remix voice"
56 -
57 -RDEPEND="
58 - media-libs/libmikmod
59 - media-libs/libogg
60 - >=media-libs/libpng-1.4:0=
61 - media-libs/libsdl[X,sound,joystick,video]
62 - media-libs/libvorbis
63 - media-libs/sdl-image[png]
64 - sys-libs/zlib
65 - opengl? ( virtual/opengl )
66 -"
67 -DEPEND="${RDEPEND}
68 - virtual/pkgconfig
69 -"
70 -
71 -src_prepare() {
72 - default
73 -
74 - local myopengl
75 -
76 - use opengl \
77 - && myopengl=opengl \
78 - || myopengl=pure
79 -
80 - eapply \
81 - "${FILESDIR}"/${P}-tempdir.patch \
82 - "${FILESDIR}"/${P}-warning.patch
83 -
84 - cat <<-EOF > config.state
85 - CHOICE_debug_VALUE='nodebug'
86 - CHOICE_graphics_VALUE='${myopengl}'
87 - CHOICE_sound_VALUE='mixsdl'
88 - CHOICE_accel_VALUE='plainc'
89 - INPUT_install_prefix_VALUE='/usr/share'
90 - INPUT_install_bindir_VALUE='\$prefix/bin'
91 - INPUT_install_libdir_VALUE='\$prefix/lib'
92 - INPUT_install_sharedir_VALUE='/usr/share/'
93 - EOF
94 -
95 - # Take out the read so we can be non-interactive.
96 - sed -i \
97 - -e '/read CHOICE/d' build/unix/menu_functions || die
98 -
99 - # respect CFLAGS
100 - sed -i \
101 - -e "s/-O3//" build/unix/build.config || die
102 -
103 - sed -i \
104 - -e "s:@INSTALL_LIBDIR@:/usr/$(get_libdir)/:g" \
105 - build/unix/uqm-wrapper.in || die
106 -
107 - # respect CC
108 - sed -i \
109 - -e "s/PROG_gcc_FILE=\"gcc\"/PROG_gcc_FILE=\"$(tc-getCC)\"/" \
110 - build/unix/config_proginfo_build || die
111 -}
112 -
113 -src_compile() {
114 - MAKE_VERBOSE=1 ./build.sh uqm || die
115 -}
116 -
117 -src_install() {
118 - # Using the included install scripts seems quite painful.
119 - # This manual install is totally fragile but maybe they'll
120 - # use a sane build system for the next release.
121 - newbin uqm-wrapper uqm
122 - exeinto /usr/"$(get_libdir)"/${PN}
123 - doexe uqm
124 -
125 - insinto /usr/share/${PN}/content/packages
126 - doins "${DISTDIR}"/${P}-content.uqm
127 - echo ${P} > "${ED}"/usr/share/${PN}/content/version || die
128 -
129 - insinto /usr/share/${PN}/content/addons
130 - if use music; then
131 - doins "${DISTDIR}"/${P}-3domusic.uqm
132 - fi
133 -
134 - if use voice; then
135 - doins "${DISTDIR}"/${P}-voice.uqm
136 - fi
137 -
138 - if use remix; then
139 - insinto /usr/share/${PN}/content/addons
140 - doins "${DISTDIR}"/${PN}-remix-disc{1,2,3,4}.uqm
141 - fi
142 -
143 - dodoc AUTHORS ChangeLog Contributing README WhatsNew doc/users/manual.txt
144 - docinto devel
145 - dodoc doc/devel/[!n]*
146 - docinto devel/netplay
147 - dodoc doc/devel/netplay/*
148 - make_desktop_entry uqm "The Ur-Quan Masters"
149 -}