Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/arx-libertatis/
Date: Sun, 14 Oct 2018 23:36:35
Message-Id: 1539560171.d98969b8107ae3c3e6e8bc706c1c0e7b961016c3.asturm@gentoo
1 commit: d98969b8107ae3c3e6e8bc706c1c0e7b961016c3
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 14 23:34:38 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 14 23:36:11 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d98969b8
7
8 games-rpg/arx-libertatis: Drop 1.1.2-r1
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 .../arx-libertatis/arx-libertatis-1.1.2-r1.ebuild | 105 ---------------------
14 1 file changed, 105 deletions(-)
15
16 diff --git a/games-rpg/arx-libertatis/arx-libertatis-1.1.2-r1.ebuild b/games-rpg/arx-libertatis/arx-libertatis-1.1.2-r1.ebuild
17 deleted file mode 100644
18 index f76f90c792f..00000000000
19 --- a/games-rpg/arx-libertatis/arx-libertatis-1.1.2-r1.ebuild
20 +++ /dev/null
21 @@ -1,105 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=5
26 -
27 -CMAKE_WARN_UNUSED_CLI=yes
28 -inherit eutils cmake-utils gnome2-utils games
29 -
30 -DESCRIPTION="Cross-platform port of Arx Fatalis, a first-person role-playing game"
31 -HOMEPAGE="https://arx-libertatis.org/"
32 -SRC_URI="mirror://sourceforge/arx/${P}/${P}.tar.xz"
33 -
34 -LICENSE="GPL-3"
35 -SLOT="0"
36 -KEYWORDS="~amd64 ~x86"
37 -IUSE="c++0x crash-reporter debug static tools +unity-build"
38 -
39 -COMMON_DEPEND="
40 - media-libs/freetype
41 - media-libs/libsdl[X,video,opengl]
42 - media-libs/openal
43 - sys-libs/zlib
44 - virtual/opengl
45 - crash-reporter? (
46 - dev-qt/qtcore:5
47 - dev-qt/qtgui:5
48 - dev-qt/qtnetwork:5[ssl]
49 - dev-qt/qtwidgets:5
50 - )
51 - !static? ( media-libs/glew )"
52 -RDEPEND="${COMMON_DEPEND}
53 - crash-reporter? ( sys-devel/gdb )"
54 -DEPEND="${COMMON_DEPEND}
55 - dev-libs/boost
56 - virtual/pkgconfig
57 - static? ( media-libs/glew[static-libs] )"
58 -
59 -DOCS=( README.md AUTHORS CHANGELOG )
60 -
61 -PATCHES=( "${FILESDIR}"/${P}-cmake-3.5.patch )
62 -
63 -src_prepare() {
64 - cmake-utils_src_prepare
65 -}
66 -
67 -src_configure() {
68 - # editor does not build
69 - local mycmakeargs=(
70 - $(cmake-utils_use_build crash-reporter CRASHREPORTER)
71 - -DBUILD_EDITOR=OFF
72 - $(cmake-utils_use_build tools TOOLS)
73 - -DCMAKE_INSTALL_DATAROOTDIR="${GAMES_DATADIR_BASE}"
74 - -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}"
75 - $(cmake-utils_use debug DEBUG)
76 - -DGAMESBINDIR="${GAMES_BINDIR}"
77 - -DICONDIR=/usr/share/icons/hicolor/128x128/apps
78 - -DINSTALL_SCRIPTS=ON
79 - -DSET_OPTIMIZATION_FLAGS=OFF
80 - -DSTRICT_USE=ON
81 - $(cmake-utils_use unity-build UNITY_BUILD)
82 - $(cmake-utils_use_use c++0x CXX11)
83 - -DUSE_NATIVE_FS=ON
84 - -DUSE_OPENAL=ON
85 - -DUSE_OPENGL=ON
86 - -DUSE_SDL=ON
87 - $(usex crash-reporter "-DUSE_QT5=ON" "")
88 - $(cmake-utils_use_use static STATIC_LIBS)
89 - )
90 -
91 - cmake-utils_src_configure
92 -}
93 -
94 -src_compile() {
95 - cmake-utils_src_compile
96 -}
97 -
98 -src_install() {
99 - cmake-utils_src_install
100 - prepgamesdirs
101 -}
102 -
103 -pkg_preinst() {
104 - games_pkg_preinst
105 - gnome2_icon_savelist
106 -}
107 -
108 -pkg_postinst() {
109 - elog "optional dependencies:"
110 - elog " games-rpg/arx-fatalis-data (from CD or GOG)"
111 - elog " games-rpg/arx-fatalis-demo (free demo)"
112 - elog
113 - elog "This package only installs the game binary."
114 - elog "You need the demo or full game data. Also see:"
115 - elog "http://wiki.arx-libertatis.org/Getting_the_game_data"
116 - elog
117 - elog "If you have already installed the game or use the STEAM version,"
118 - elog "run \"${GAMES_BINDIR}/arx-install-data\""
119 -
120 - games_pkg_postinst
121 - gnome2_icon_cache_update
122 -}
123 -
124 -pkg_postrm() {
125 - gnome2_icon_cache_update
126 -}