1 |
commit: afa26dc560af1b85d389b181bc230e2f60580990 |
2 |
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 29 03:59:03 2015 +0000 |
4 |
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 29 07:40:41 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afa26dc5 |
7 |
|
8 |
old |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
.../liquidwar6/liquidwar6-0.4.3681.ebuild | 114 --------------------- |
13 |
1 file changed, 114 deletions(-) |
14 |
|
15 |
diff --git a/games-strategy/liquidwar6/liquidwar6-0.4.3681.ebuild b/games-strategy/liquidwar6/liquidwar6-0.4.3681.ebuild |
16 |
deleted file mode 100644 |
17 |
index fdb76bc..0000000 |
18 |
--- a/games-strategy/liquidwar6/liquidwar6-0.4.3681.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,114 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit autotools eutils toolchain-funcs games |
28 |
- |
29 |
-MY_PV=${PV/_beta/beta} |
30 |
-MY_P=${PN}-${MY_PV} |
31 |
- |
32 |
-DESCRIPTION="Unique multiplayer wargame between liquids" |
33 |
-HOMEPAGE="https://www.gnu.org/software/liquidwar6/" |
34 |
-SRC_URI="http://www.ufoot.org/download/liquidwar/v6/${MY_PV}/${MY_P}.tar.gz |
35 |
- maps? ( http://www.ufoot.org/download/liquidwar/v6/${MY_PV}/${PN}-extra-maps-${MY_PV}.tar.gz )" |
36 |
- |
37 |
-LICENSE="GPL-3+" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="amd64 x86" |
40 |
-IUSE="doc gles2 gtk libcaca +maps nls +ogg openmp readline test" |
41 |
- |
42 |
-# yes, cunit is rdep |
43 |
-# Drop the libtool dep once libltdl goes stable. |
44 |
-RDEPEND="dev-db/sqlite:3 |
45 |
- dev-libs/expat |
46 |
- dev-scheme/guile |
47 |
- dev-util/cunit |
48 |
- media-libs/freetype:2 |
49 |
- media-libs/libpng:0 |
50 |
- media-libs/libsdl[X,opengl,video] |
51 |
- media-libs/sdl-image[jpeg,png] |
52 |
- media-libs/sdl-ttf |
53 |
- net-misc/curl |
54 |
- || ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 ) |
55 |
- sys-libs/zlib |
56 |
- virtual/glu |
57 |
- virtual/jpeg |
58 |
- virtual/opengl |
59 |
- libcaca? ( media-libs/libcaca ) |
60 |
- gles2? ( media-libs/mesa[gles2] ) |
61 |
- gtk? ( x11-libs/gtk+:2 ) |
62 |
- nls? ( virtual/libintl |
63 |
- virtual/libiconv ) |
64 |
- ogg? ( |
65 |
- media-libs/libsdl[X,sound,opengl,video] |
66 |
- media-libs/sdl-mixer[vorbis] |
67 |
- ) |
68 |
- readline? ( sys-libs/ncurses |
69 |
- sys-libs/readline )" |
70 |
-DEPEND="${RDEPEND} |
71 |
- dev-lang/perl |
72 |
- nls? ( sys-devel/gettext )" |
73 |
- |
74 |
-S=${WORKDIR}/${MY_P} |
75 |
-S_MAPS=${WORKDIR}/${PN}-extra-maps-${MY_PV} |
76 |
- |
77 |
-pkg_setup() { |
78 |
- if use openmp; then |
79 |
- if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp ; then |
80 |
- ewarn "OpenMP is not available in your current selected gcc" |
81 |
- die "need openmp capable gcc" |
82 |
- fi |
83 |
- fi |
84 |
- games_pkg_setup |
85 |
-} |
86 |
- |
87 |
-src_prepare() { |
88 |
- epatch \ |
89 |
- "${FILESDIR}"/${P}-{ldconfig,paths}.patch \ |
90 |
- "${FILESDIR}"/${P}-check-headers.patch |
91 |
- |
92 |
- sed -i \ |
93 |
- -e 's/-Werror//' \ |
94 |
- configure.ac || die |
95 |
- eautoreconf |
96 |
-} |
97 |
- |
98 |
-src_configure() { |
99 |
- # configure fails with cunit disabled |
100 |
- egamesconf \ |
101 |
- $(use_enable nls) \ |
102 |
- --enable-cunit \ |
103 |
- $(use_enable gtk) \ |
104 |
- --enable-mod-gl1 \ |
105 |
- $(use_enable gles2 mod-gles2) \ |
106 |
- $(use_enable libcaca mod-caca) \ |
107 |
- $(use_enable openmp) \ |
108 |
- $(use_enable ogg mod-ogg) \ |
109 |
- $(use_enable !ogg silent) \ |
110 |
- $(use_enable readline console) \ |
111 |
- --disable-static \ |
112 |
- --datarootdir=/usr/share \ |
113 |
- --mandir=/usr/share/man \ |
114 |
- --docdir=/usr/share/doc/${PF} \ |
115 |
- --htmldir=/usr/share/doc/${PF}/html |
116 |
- |
117 |
- if use maps; then |
118 |
- cd "${S_MAPS}" || die |
119 |
- egamesconf |
120 |
- fi |
121 |
-} |
122 |
- |
123 |
-src_compile() { |
124 |
- default |
125 |
- use doc && emake html |
126 |
- use maps && emake -C "${S_MAPS}" |
127 |
-} |
128 |
- |
129 |
-src_install() { |
130 |
- emake DESTDIR="${D}" install |
131 |
- use maps && emake -C "${S_MAPS}" DESTDIR="${D}" install |
132 |
- prune_libtool_files --all |
133 |
- prepgamesdirs |
134 |
-} |