From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6EC931395E2 for ; Fri, 11 Nov 2016 19:39:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7C8E9E0AF0; Fri, 11 Nov 2016 19:39:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 530D0E0AF0 for ; Fri, 11 Nov 2016 19:39:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E48FF34169A for ; Fri, 11 Nov 2016 19:39:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7FB5724BB for ; Fri, 11 Nov 2016 19:39:07 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1478893137.6377dd68e04131c044dffd984f985b69ba9b3a95.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/openmw/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-engines/openmw/openmw-0.39.0-r1.ebuild X-VCS-Directories: games-engines/openmw/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: 6377dd68e04131c044dffd984f985b69ba9b3a95 X-VCS-Branch: master Date: Fri, 11 Nov 2016 19:39:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 01cdf379-4e7f-4b3e-b1e8-687f4616f490 X-Archives-Hash: ba173d0a19cdb170c9aa1b5339093a34 commit: 6377dd68e04131c044dffd984f985b69ba9b3a95 Author: Austin English gentoo org> AuthorDate: Fri Nov 11 19:38:07 2016 +0000 Commit: Austin English gentoo org> CommitDate: Fri Nov 11 19:38:57 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6377dd68 games-engines/openmw: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.2 games-engines/openmw/openmw-0.39.0-r1.ebuild | 97 ++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/games-engines/openmw/openmw-0.39.0-r1.ebuild b/games-engines/openmw/openmw-0.39.0-r1.ebuild new file mode 100644 index 00000000..6664daa --- /dev/null +++ b/games-engines/openmw/openmw-0.39.0-r1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils gnome2-utils cmake-utils + +DESCRIPTION="An open source reimplementation of TES III: Morrowind" +HOMEPAGE="http://openmw.org/" +SRC_URI="https://github.com/OpenMW/openmw/archive/${P}.tar.gz" + +LICENSE="GPL-3 MIT BitstreamVera OFL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc devtools" + +RDEPEND=" + app-arch/unshield + >=dev-games/mygui-3.2.2 + >=dev-games/openscenegraph-3.3.4[ffmpeg,jpeg,png,qt5,sdl,svg,truetype,zlib] + >=dev-libs/boost-1.56.0-r1 + dev-libs/tinyxml + dev-qt/qtcore:5 + dev-qt/qtgui:5 + media-libs/freetype:2 + media-libs/libsdl2[joystick,opengl,X,video] + || ( media-libs/libtxc_dxtn x11-drivers/ati-drivers x11-drivers/nvidia-drivers ) + media-libs/openal + >=sci-physics/bullet-2.80 + virtual/ffmpeg + virtual/opengl + devtools? ( dev-qt/qtxmlpatterns:5 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen media-gfx/graphviz )" + +S=${WORKDIR}/${PN}-${P} + +src_configure() { + local mycmakeargs=( + -DBINDIR="/usr/bin" + -DBUILD_BSATOOL="$(usex devtools)" + -DBUILD_ESMTOOL="$(usex devtools)" + -DBUILD_OPENCS="$(usex devtools)" + -DBUILD_UNITTESTS=OFF + -DDATADIR="/usr/share/${PN}" + -DICONDIR="/usr/share/icons/hicolor/256x256/apps" + -DLIBDIR="/usr/$(get_libdir)" + -DMORROWIND_DATA_FILES="/usr/share/morrowind-data" + -DOPENMW_RESOURCE_FILES="/usr/share/${PN}/resources" + -DGLOBAL_CONFIG_PATH="/etc" + -DUSE_SYSTEM_TINYXML=ON + -DDESIRED_QT_VERSION=5 + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + if use doc ; then + emake -C "${CMAKE_BUILD_DIR}" doc + find "${CMAKE_BUILD_DIR}"/docs/Doxygen/html \ + -name '*.md5' -type f -delete || die + fi +} + +src_install() { + cmake-utils_src_install + dodoc README.md + + # about 47k files, dodoc seems to have trouble + if use doc ; then + dodir "/usr/share/doc/${PF}" + mv "${CMAKE_BUILD_DIR}"/docs/Doxygen/html \ + "${D}/usr/share/doc/${PF}/" || die + fi +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + + elog "You need the original Morrowind Data files. If you haven't" + elog "installed them yet, you can install them straight via the" + elog "installation wizard which is the officially" + elog "supported method (either by using the launcher or by calling" + elog "'openmw-wizard' directly)." +} + +pkg_postrm() { + gnome2_icon_cache_update +}