1 |
commit: 722ae4219b65c1957636b7f6c64011bdcbf72775 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 30 12:05:19 2021 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 30 12:11:13 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=722ae421 |
7 |
|
8 |
games-strategy/hedgewars: drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
games-strategy/hedgewars/hedgewars-1.0.0-r1.ebuild | 105 --------------------- |
14 |
1 file changed, 105 deletions(-) |
15 |
|
16 |
diff --git a/games-strategy/hedgewars/hedgewars-1.0.0-r1.ebuild b/games-strategy/hedgewars/hedgewars-1.0.0-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 95f4eb1d7eb..00000000000 |
19 |
--- a/games-strategy/hedgewars/hedgewars-1.0.0-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,105 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-CMAKE_MAKEFILE_GENERATOR=emake |
28 |
-inherit cmake xdg-utils |
29 |
- |
30 |
-MY_P=${PN}-src-${PV} |
31 |
- |
32 |
-DESCRIPTION="A turn-based strategy, artillery, action and comedy game" |
33 |
-HOMEPAGE="https://www.hedgewars.org/" |
34 |
-SRC_URI="https://www.hedgewars.org/download/releases/${MY_P}.tar.bz2" |
35 |
- |
36 |
-LICENSE="GPL-2 Apache-2.0 FDL-1.3" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="~amd64 ~x86" |
39 |
-IUSE="server" |
40 |
- |
41 |
-QA_FLAGS_IGNORED="/usr/bin/hwengine" # pascal sucks |
42 |
-QA_PRESTRIPPED="/usr/bin/hwengine" # pascal sucks |
43 |
- |
44 |
-# qtcore:5= - depends on private header |
45 |
-DEPEND=" |
46 |
- >=dev-games/physfs-3.0.1 |
47 |
- dev-lang/lua:0= |
48 |
- dev-qt/qtcore:5= |
49 |
- dev-qt/qtgui:5 |
50 |
- dev-qt/qtnetwork:5 |
51 |
- dev-qt/qtwidgets:5 |
52 |
- media-libs/libpng:0= |
53 |
- media-libs/libsdl2:= |
54 |
- media-libs/sdl2-image:= |
55 |
- media-libs/sdl2-mixer:=[vorbis] |
56 |
- media-libs/sdl2-net:= |
57 |
- media-libs/sdl2-ttf:= |
58 |
- sys-libs/zlib |
59 |
- !x86? ( media-video/ffmpeg:= ) |
60 |
- " |
61 |
-RDEPEND="${DEPEND} |
62 |
- app-arch/xz-utils |
63 |
- >=media-fonts/dejavu-2.28 |
64 |
- media-fonts/wqy-zenhei" |
65 |
-BDEPEND=" |
66 |
- dev-qt/linguist-tools:5 |
67 |
- server? ( |
68 |
- >=dev-lang/ghc-6.10 |
69 |
- dev-haskell/entropy |
70 |
- dev-haskell/hslogger |
71 |
- >=dev-haskell/mtl-2 |
72 |
- >=dev-haskell/network-2.3 |
73 |
- dev-haskell/random |
74 |
- dev-haskell/regex-tdfa |
75 |
- dev-haskell/sandi |
76 |
- dev-haskell/sha |
77 |
- dev-haskell/vector |
78 |
- dev-haskell/utf8-string |
79 |
- dev-haskell/yaml |
80 |
- >=dev-haskell/zlib-0.5.3 <dev-haskell/zlib-0.6 |
81 |
- ) |
82 |
- !x86? ( >=dev-lang/fpc-2.4 ) |
83 |
- x86? ( |
84 |
- >=dev-lang/ghc-6.10 |
85 |
- dev-haskell/parsec |
86 |
- )" |
87 |
- |
88 |
-PATCHES=( "${FILESDIR}/${P}-qt-5.15.patch" ) |
89 |
- |
90 |
-S="${WORKDIR}"/${MY_P} |
91 |
- |
92 |
-src_configure() { |
93 |
- local mycmakeargs=( |
94 |
- -DMINIMAL_FLAGS=ON |
95 |
- -DDATA_INSTALL_DIR="${EPREFIX}/usr/share/${PN}" |
96 |
- -Dtarget_binary_install_dir="${EPREFIX}/usr/bin" |
97 |
- -Dtarget_library_install_dir="${EPREFIX}/usr/$(get_libdir)" |
98 |
- -DNOSERVER=$(usex !server) |
99 |
- -DBUILD_ENGINE_C=$(usex x86) |
100 |
- -DNOVIDEOREC=$(usex !x86) |
101 |
- -DCMAKE_VERBOSE_MAKEFILE=TRUE |
102 |
- # Need to tell the build system where the fonts are located |
103 |
- # as it uses PhysFS' symbolic link protection mode which |
104 |
- # prevents us from symlinking the fonts into the right directory |
105 |
- # https://hg.hedgewars.org/hedgewars/rev/76ad55807c24 |
106 |
- # https://icculus.org/physfs/docs/html/physfs_8h.html#aad451d9b3f46f627a1be8caee2eef9b7 |
107 |
- -DFONTS_DIRS="${EPREFIX}/usr/share/fonts/wqy-zenhei;${EPREFIX}/usr/share/fonts/dejavu" |
108 |
- # upstream sets RPATH that leads to weird breakage |
109 |
- # https://bugzilla.redhat.com/show_bug.cgi?id=1200193 |
110 |
- -DCMAKE_SKIP_RPATH=ON |
111 |
- ) |
112 |
- cmake_src_configure |
113 |
-} |
114 |
- |
115 |
-src_install() { |
116 |
- cmake_src_install |
117 |
- doman man/${PN}.6 |
118 |
-} |
119 |
- |
120 |
-pkg_postinst() { |
121 |
- xdg_desktop_database_update |
122 |
-} |
123 |
- |
124 |
-pkg_postrm() { |
125 |
- xdg_desktop_database_update |
126 |
-} |