hasufell    14/11/08 23:33:48

  Modified:             ChangeLog
  Added:                openmw-0.33.0-r2.ebuild
  Removed:              openmw-0.33.0-r1.ebuild
  Log:
  rm unnecessary cg USE dep on dev-games/ogre wrt #528696
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
BDEED020)

Revision  Changes    Path
1.5                  games-engines/openmw/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/openmw/ChangeLog?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/openmw/ChangeLog?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/openmw/ChangeLog?r1=1.4&r2=1.5

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-engines/openmw/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog   7 Nov 2014 23:24:33 -0000       1.4
+++ ChangeLog   8 Nov 2014 23:33:48 -0000       1.5
@@ -1,6 +1,12 @@
 # ChangeLog for games-engines/openmw
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-engines/openmw/ChangeLog,v 1.4 
2014/11/07 23:24:33 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-engines/openmw/ChangeLog,v 1.5 
2014/11/08 23:33:48 hasufell Exp $
+
+*openmw-0.33.0-r2 (08 Nov 2014)
+
+  08 Nov 2014; Julian Ospald <[email protected]> -openmw-0.33.0-r1.ebuild,
+  +openmw-0.33.0-r2.ebuild:
+  rm unnecessary cg USE dep on dev-games/ogre wrt #528696
 
 *openmw-0.33.0-r1 (07 Nov 2014)
 



1.1                  games-engines/openmw/openmw-0.33.0-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/openmw/openmw-0.33.0-r2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/openmw/openmw-0.33.0-r2.ebuild?rev=1.1&content-type=text/plain

Index: openmw-0.33.0-r2.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/games-engines/openmw/openmw-0.33.0-r2.ebuild,v 1.1 
2014/11/08 23:33:48 hasufell Exp $

EAPI=5

inherit eutils gnome2-utils cmake-utils games

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 cdinstall devtools +launcher"

# XXX static build
RDEPEND=">=dev-games/mygui-3.2.1
        >=dev-games/ogre-1.9.0[freeimage,ois,opengl,zip]
        >=dev-libs/boost-1.46.0
        dev-libs/tinyxml
        >=dev-qt/qtcore-4.7.0:4
        >=dev-qt/qtgui-4.7.0:4
        media-libs/freetype:2
        media-libs/libsdl2[X,video]
        media-libs/openal
        >=sci-physics/bullet-2.80
        virtual/ffmpeg
        devtools? ( dev-qt/qtxmlpatterns:4 )
        launcher? ( app-arch/unshield )"
DEPEND="${RDEPEND}
        virtual/pkgconfig
        doc? ( app-doc/doxygen media-gfx/graphviz )"
PDEPEND="cdinstall? ( games-rpg/morrowind-data )"

S=${WORKDIR}/${PN}-${P}

src_prepare() {
        epatch "${FILESDIR}"/${P}-cfg.patch \
                "${FILESDIR}"/${P}-opencs.patch
}

src_configure() {
        local mycmakeargs=(
                -DBINDIR="${GAMES_BINDIR}"
                $(cmake-utils_use_build devtools BSATOOL)
                $(cmake-utils_use_build devtools ESMTOOL)
                $(cmake-utils_use_build launcher LAUNCHER)
                -DMWINIIMPORTER=ON
                -DBUILD_MYGUI_PLUGIN=ON
                $(cmake-utils_use_build devtools OPENCS)
                -DUNITTESTS=OFF
                -DDATADIR="${GAMES_DATADIR}"/${PN}
                -DICONDIR=/usr/share/icons/hicolor/256x256/apps
                -DLIBDIR="$(games_get_libdir)"
                -DMORROWIND_DATA_FILES="${GAMES_DATADIR}"/morrowind-data
                -DOPENMW_RESOURCE_FILES="${GAMES_DATADIR}"/${PN}/resources
                -DGLOBAL_CONFIG_PATH="${GAMES_SYSCONFDIR}"
                -DUSE_SYSTEM_TINYXML=ON
        )

        cmake-utils_src_configure
}

src_compile() {
        cmake-utils_src_compile

        if use doc ; then
                emake -C "${CMAKE_BUILD_DIR}" doc
        fi
}

src_install() {
        cmake-utils_src_install
        dodoc readme.txt

        # about 46835 files, dodoc seems to have trouble
        if use doc ; then
                dodir "/usr/share/doc/${PF}"
                find "${CMAKE_BUILD_DIR}"/docs/Doxygen/html \
                        -name '*.md5' -type f -delete
                mv "${CMAKE_BUILD_DIR}"/docs/Doxygen/html \
                        "${D}/usr/share/doc/${PF}/" || die
        fi

        prepgamesdirs
}

pkg_preinst() {
        games_pkg_preinst
        gnome2_icon_savelist
}

pkg_postinst() {
        games_pkg_postinst
        gnome2_icon_cache_update

        if use !cdinstall ; then
                elog "You need the original Morrowind Data files. If you 
haven't"
                elog "installed them yet, you can install them straight via the"
                elog "game launcher (launcher USE flag) which is the officially"
                elog "supported method or by using the"
                elog "games-rpg/morrowind-data (cdinstall USE flag) package"
                elog "(this might not work for all morrowind releases out 
there)."
        fi
}

pkg_postrm() {
        gnome2_icon_cache_update
}




Reply via email to