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-engines/openmw/
Date: Sun, 28 Jul 2019 22:26:16
Message-Id: 1564352749.e84acb7ec27ca807a4da2ba65099456a8fc5f0b8.chewi@gentoo
1 commit: e84acb7ec27ca807a4da2ba65099456a8fc5f0b8
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 28 22:25:49 2019 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 28 22:25:49 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e84acb7e
7
8 games-engines/openmw: Drop old 0.44.0
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.13
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 games-engines/openmw/Manifest | 1 -
14 games-engines/openmw/openmw-0.44.0.ebuild | 126 ------------------------------
15 2 files changed, 127 deletions(-)
16
17 diff --git a/games-engines/openmw/Manifest b/games-engines/openmw/Manifest
18 index 8f8101ca1bc..fd925092a09 100644
19 --- a/games-engines/openmw/Manifest
20 +++ b/games-engines/openmw/Manifest
21 @@ -1,2 +1 @@
22 -DIST openmw-0.44.0.tar.gz 4976422 BLAKE2B 9dec8412aa68ac35ba51926c7e5c5a64ce717ea6677162e0b35439a59c482375b7729bd462fa6e8da2e9b463c1121cdca0a5b42f553095da82a83cefb11986ce SHA512 1b178891274361b7821ac1d3d66976ed5d443545531499d98f7ed30823f3891172cc5dcb3f7382ba0f561774a92b9ad8805e0c9582b78d2f010e4ed661219017
23 DIST openmw-0.45.0.tar.gz 4711103 BLAKE2B 85676294b07170dd6845892e9e7b354c5767428584c76ea2e1a64e9f9c72c46c279fdf5043058d37b927cb55e6cf2e2222833129d64954cdcdb3af4eb4b84dc3 SHA512 b968426659457cf486f6756f7ab82cc4cb34a92923c433dd86f711e5d7097f75441ed17daa50d21f15f1847f5aed1f4c3a094a06cfd3f2e9b90aa182742c596f
24
25 diff --git a/games-engines/openmw/openmw-0.44.0.ebuild b/games-engines/openmw/openmw-0.44.0.ebuild
26 deleted file mode 100644
27 index 70c4a527b85..00000000000
28 --- a/games-engines/openmw/openmw-0.44.0.ebuild
29 +++ /dev/null
30 @@ -1,126 +0,0 @@
31 -# Copyright 1999-2018 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -inherit cmake-utils gnome2-utils readme.gentoo-r1
37 -
38 -DESCRIPTION="Open source reimplementation of TES III: Morrowind"
39 -HOMEPAGE="https://openmw.org/"
40 -SRC_URI="https://github.com/OpenMW/openmw/archive/${P}.tar.gz"
41 -
42 -LICENSE="GPL-3 MIT BitstreamVera ZLIB"
43 -SLOT="0"
44 -KEYWORDS="~amd64 ~x86"
45 -IUSE="doc devtools +qt5"
46 -
47 -RDEPEND="
48 - dev-games/mygui
49 - >=dev-games/openscenegraph-3.5.5:=[ffmpeg,jpeg,png,sdl,svg,truetype,zlib]
50 - dev-games/openscenegraph-qt
51 - dev-libs/boost:=[threads]
52 - dev-libs/tinyxml[stl]
53 - media-libs/libsdl2[joystick,opengl,video,X]
54 - media-libs/openal
55 - media-video/ffmpeg:=
56 - >=sci-physics/bullet-2.86
57 - virtual/opengl
58 - qt5? (
59 - app-arch/unshield
60 - dev-qt/qtcore:5
61 - dev-qt/qtgui:5
62 - dev-qt/qtnetwork:5
63 - dev-qt/qtopengl:5
64 - dev-qt/qtwidgets:5
65 - )
66 -"
67 -DEPEND="${RDEPEND}
68 - virtual/pkgconfig
69 - doc? (
70 - app-doc/doxygen[doc]
71 - dev-python/sphinx
72 - )
73 -"
74 -
75 -S="${WORKDIR}/${PN}-${P}"
76 -
77 -src_prepare() {
78 - cmake-utils_src_prepare
79 -
80 - # We don't install license files
81 - sed -e '/LICDIR/d' \
82 - -i CMakeLists.txt || die
83 - # Use the system tinyxml headers
84 - sed -e 's/"tinyxml.h"/<tinyxml.h>/g' \
85 - -e 's/"tinystr.h"/<tinystr.h>/g' \
86 - -i extern/oics/ICSPrerequisites.h || die
87 -}
88 -
89 -src_configure() {
90 - use devtools && ! use qt5 && \
91 - elog "'qt5' USE flag is disabled, 'openmw-cs' will not be installed"
92 -
93 - local mycmakeargs=(
94 - -DBUILD_BSATOOL=$(usex devtools)
95 - -DBUILD_DOCS=$(usex doc)
96 - -DBUILD_ESMTOOL=$(usex devtools)
97 - -DBUILD_LAUNCHER=$(usex qt5)
98 - -DBUILD_NIFTEST=$(usex devtools)
99 - -DBUILD_OPENCS=$(usex devtools $(usex qt5))
100 - -DBUILD_WIZARD=$(usex qt5)
101 - -DBUILD_UNITTESTS=OFF
102 - -DGLOBAL_DATA_PATH=/usr/share
103 - -DICONDIR="/usr/share/icons/hicolor/256x256/apps"
104 - -DMORROWIND_DATA_FILES="/usr/share/morrowind-data"
105 - -DUSE_SYSTEM_TINYXML=ON
106 - -DDESIRED_QT_VERSION=5
107 - )
108 -
109 - cmake-utils_src_configure
110 -}
111 -
112 -src_compile() {
113 - cmake-utils_src_compile
114 -
115 - if use doc ; then
116 - cmake-utils_src_compile doc
117 - find "${CMAKE_BUILD_DIR}"/docs/Doxygen/html \
118 - -name '*.md5' -type f -delete || die
119 - HTML_DOCS=( "${CMAKE_BUILD_DIR}"/docs/Doxygen/html/. )
120 - fi
121 -}
122 -
123 -src_install() {
124 - cmake-utils_src_install
125 -
126 - local DOC_CONTENTS="
127 - You need the original Morrowind data files. If you haven't
128 - installed them yet, you can install them straight via the
129 - installation wizard which is the officially supported method
130 - (either by using the launcher or by calling 'openmw-wizard'
131 - directly).\n"
132 -
133 - if ! use qt5; then
134 - local DOC_CONTENTS+="\n\n
135 - USE flag 'qt5' is disabled, 'openmw-launcher' and
136 - 'openmw-wizard' are not available. You are on your own for
137 - making the Morrowind data files available and pointing
138 - openmw at them.\n\n
139 - Additionally; you must import the Morrowind.ini file before
140 - running openmw with the Morrowind data files for the first
141 - time. Typically this can be done like so:\n\n
142 - \t mkdir -p ~/.config/openmw\n
143 - \t openmw-iniimporter /path/to/Morrowind.ini ~/.config/openmw/openmw.cfg"
144 - fi
145 -
146 - readme.gentoo_create_doc
147 -}
148 -
149 -pkg_postinst() {
150 - gnome2_icon_cache_update
151 - readme.gentoo_print_elog
152 -}
153 -
154 -pkg_postrm() {
155 - gnome2_icon_cache_update
156 -}