1 |
commit: ddf0c4af6f0f612a7452c559570cb2ac62659d62 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 27 21:04:29 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 27 21:05:46 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddf0c4af |
7 |
|
8 |
games-strategy/hedgewars: Drop old Qt4-based |
9 |
|
10 |
Closes: https://bugs.gentoo.org/645504 |
11 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
12 |
|
13 |
games-strategy/hedgewars/hedgewars-0.9.23.ebuild | 86 ------------------------ |
14 |
1 file changed, 86 deletions(-) |
15 |
|
16 |
diff --git a/games-strategy/hedgewars/hedgewars-0.9.23.ebuild b/games-strategy/hedgewars/hedgewars-0.9.23.ebuild |
17 |
deleted file mode 100644 |
18 |
index 39c51648164..00000000000 |
19 |
--- a/games-strategy/hedgewars/hedgewars-0.9.23.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,86 +0,0 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-CMAKE_MAKEFILE_GENERATOR=emake |
28 |
- |
29 |
-inherit cmake-utils eutils xdg-utils |
30 |
- |
31 |
-MY_P=${PN}-src-${PV} |
32 |
-DEB_PATCH_VER=7 |
33 |
- |
34 |
-DESCRIPTION="A turn-based strategy, artillery, action and comedy game" |
35 |
-HOMEPAGE="https://www.hedgewars.org/" |
36 |
-SRC_URI="https://www.hedgewars.org/download/releases/${MY_P}.tar.bz2 |
37 |
- mirror://debian/pool/main/h/${PN}/${PN}_0.9.22-dfsg-${DEB_PATCH_VER}.debian.tar.xz" |
38 |
- |
39 |
-LICENSE="GPL-2 Apache-2.0 FDL-1.3" |
40 |
-SLOT="0" |
41 |
-KEYWORDS="~amd64 ~x86" |
42 |
-IUSE="libav" |
43 |
- |
44 |
-QA_FLAGS_IGNORED="/usr/bin/hwengine" # pascal sucks |
45 |
-QA_PRESTRIPPED="/usr/bin/hwengine" # pascal sucks |
46 |
- |
47 |
-CDEPEND=" |
48 |
- >=dev-games/physfs-3.0.1 |
49 |
- dev-lang/lua:0= |
50 |
- dev-qt/qtcore:4 |
51 |
- dev-qt/qtgui:4 |
52 |
- media-libs/libpng:0= |
53 |
- media-libs/libsdl2:= |
54 |
- media-libs/sdl2-image:= |
55 |
- media-libs/sdl2-mixer:= |
56 |
- media-libs/sdl2-net:= |
57 |
- media-libs/sdl2-ttf:= |
58 |
- sys-libs/zlib:= |
59 |
- libav? ( media-video/libav:= ) |
60 |
- !libav? ( media-video/ffmpeg:= )" |
61 |
-DEPEND="${CDEPEND} |
62 |
- >=dev-lang/fpc-2.4" |
63 |
-RDEPEND="${CDEPEND} |
64 |
- app-arch/xz-utils |
65 |
- media-fonts/wqy-zenhei |
66 |
- >=media-fonts/dejavu-2.28" |
67 |
- |
68 |
-S=${WORKDIR}/${MY_P} |
69 |
-PATCHES=( "${FILESDIR}"/${PN}-0.9.22-rpath-fix.patch ) |
70 |
- |
71 |
-src_configure() { |
72 |
- local mycmakeargs=( |
73 |
- -DMINIMAL_FLAGS=ON |
74 |
- -DDATA_INSTALL_DIR="${EPREFIX}/usr/share/${PN}" |
75 |
- -Dtarget_binary_install_dir="${EPREFIX}/usr/bin" |
76 |
- -Dtarget_library_install_dir="${EPREFIX}/usr/$(get_libdir)" |
77 |
- -DNOSERVER=TRUE |
78 |
- -DCMAKE_VERBOSE_MAKEFILE=TRUE |
79 |
- -DPHYSFS_SYSTEM=ON |
80 |
- # Need to tell the build system where the fonts are located |
81 |
- # as it uses PhysFS' symbolic link protection mode which |
82 |
- # prevents us from symlinking the fonts into the right directory |
83 |
- # https://hg.hedgewars.org/hedgewars/rev/76ad55807c24 |
84 |
- # https://icculus.org/physfs/docs/html/physfs_8h.html#aad451d9b3f46f627a1be8caee2eef9b7 |
85 |
- -DFONTS_DIRS="${EPREFIX}/usr/share/fonts/wqy-zenhei;${EPREFIX}/usr/share/fonts/dejavu" |
86 |
- # upstream sets RPATH that leads to weird breakage |
87 |
- # https://bugzilla.redhat.com/show_bug.cgi?id=1200193 |
88 |
- -DCMAKE_SKIP_RPATH=ON |
89 |
- ) |
90 |
- cmake-utils_src_configure |
91 |
-} |
92 |
- |
93 |
-src_install() { |
94 |
- cmake-utils_src_install |
95 |
- |
96 |
- doicon misc/hedgewars.png |
97 |
- make_desktop_entry ${PN} Hedgewars |
98 |
- doman man/${PN}.6 |
99 |
-} |
100 |
- |
101 |
-pkg_postinst() { |
102 |
- xdg_desktop_database_update |
103 |
-} |
104 |
- |
105 |
-pkg_postrm() { |
106 |
- xdg_desktop_database_update |
107 |
-} |