public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-strategy/megaglest: megaglest-3.11.1.ebuild ChangeLog
@ 2015-05-10  4:30 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2015-05-10  4:30 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    15/05/10 04:30:53

  Modified:             ChangeLog
  Added:                megaglest-3.11.1.ebuild
  Log:
  version bump
  
  (Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.27                 games-strategy/megaglest/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/ChangeLog?rev=1.27&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/ChangeLog?rev=1.27&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/ChangeLog?r1=1.26&r2=1.27

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-strategy/megaglest/ChangeLog,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- ChangeLog	28 Jan 2015 21:59:38 -0000	1.26
+++ ChangeLog	10 May 2015 04:30:53 -0000	1.27
@@ -1,6 +1,13 @@
 # ChangeLog for games-strategy/megaglest
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest/ChangeLog,v 1.26 2015/01/28 21:59:38 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest/ChangeLog,v 1.27 2015/05/10 04:30:53 mr_bones_ Exp $
+
+*megaglest-3.11.1 (10 May 2015)
+
+  10 May 2015; Michael Sterrett <mr_bones_@gentoo.org>
+  +files/megaglest-3.11.1-cmake.patch,
+  +files/megaglest-3.11.1-static-build.patch, +megaglest-3.11.1.ebuild:
+  version bump
 
   28 Jan 2015; Michał Górny <mgorny@gentoo.org> megaglest-3.9.1-r1.ebuild:
   Switch to CPU_FLAGS_X86.



1.1                  games-strategy/megaglest/megaglest-3.11.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/megaglest-3.11.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/megaglest-3.11.1.ebuild?rev=1.1&content-type=text/plain

Index: megaglest-3.11.1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest/megaglest-3.11.1.ebuild,v 1.1 2015/05/10 04:30:53 mr_bones_ Exp $

# google-breakpad
# TODO: fribidi, libvorbis static

EAPI=5
VIRTUALX_REQUIRED="manual"
inherit eutils flag-o-matic cmake-utils virtualx wxwidgets gnome2-utils games

DESCRIPTION="Cross-platform 3D realtime strategy game"
HOMEPAGE="http://www.megaglest.org/"
SRC_URI="https://github.com/MegaGlest/megaglest-source/releases/download/${PV}/megaglest-source-${PV}.tar.xz"

LICENSE="GPL-3 BitstreamVera"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug +editor fribidi cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 static +streflop +tools +unicode wxuniversal +model-viewer videos"

RDEPEND="
	~games-strategy/${PN}-data-${PV}
	>=dev-lang/lua-5.1:0
	dev-libs/libxml2
	media-libs/fontconfig
	media-libs/freetype
	media-libs/libsdl[X,sound,joystick,opengl,video]
	media-libs/libvorbis
	media-libs/openal
	net-libs/gnutls
	sys-libs/zlib
	virtual/opengl
	virtual/glu
	x11-libs/libX11
	x11-libs/libXext
	editor? ( x11-libs/wxGTK:2.8[X,opengl] )
	fribidi? ( dev-libs/fribidi )
	model-viewer? ( x11-libs/wxGTK:2.8[X] )
	!static? (
		dev-libs/xerces-c[icu]
		media-libs/ftgl
		media-libs/glew
		media-libs/libpng:0
		net-libs/libircclient
		>=net-libs/miniupnpc-1.8
		net-misc/curl
		virtual/jpeg
		)
	videos? ( media-video/vlc )"
DEPEND="${RDEPEND}
	sys-apps/help2man
	virtual/pkgconfig
	editor? ( ${VIRTUALX_DEPEND} )
	model-viewer? ( ${VIRTUALX_DEPEND} )
	static? (
		dev-libs/icu[static-libs]
		dev-libs/xerces-c[icu,static-libs]
		media-libs/ftgl[static-libs]
		media-libs/glew[static-libs]
		media-libs/libpng:0[static-libs]
		net-libs/libircclient[static-libs]
		net-libs/miniupnpc[static-libs]
		net-misc/curl[static-libs]
		virtual/jpeg[static-libs]
	)"

src_prepare() {
	if use editor || use model-viewer ; then
		WX_GTK_VER="2.8"
		need-wxwidgets unicode
	fi

	epatch "${FILESDIR}"/${P}-static-build.patch
}

src_configure() {
	if use cpu_flags_x86_sse3; then
		SSE=3
	elif use cpu_flags_x86_sse2; then
		SSE=2
	elif use cpu_flags_x86_sse; then
		SSE=1
	else
		SSE=0
	fi

	local mycmakeargs=(
		$(cmake-utils_use_enable fribidi FRIBIDI)
		$(cmake-utils_use_build editor MEGAGLEST_MAP_EDITOR)
		$(cmake-utils_use_build tools MEGAGLEST_MODEL_IMPORT_EXPORT_TOOLS)
		$(cmake-utils_use_build model-viewer MEGAGLEST_MODEL_VIEWER)
		$(cmake-utils_use_with videos VLC)
		-DMAX_SSE_LEVEL_DESIRED="${SSE}"
		-DMEGAGLEST_BIN_INSTALL_PATH="${GAMES_BINDIR}"
		-DMEGAGLEST_DATA_INSTALL_PATH="${GAMES_DATADIR}/${PN}"
		# icons are used at runtime, wrong default location share/pixmaps
		-DMEGAGLEST_ICON_INSTALL_PATH="${GAMES_DATADIR}/${PN}"
		-DUSE_FTGL=ON
		$(cmake-utils_use_want static STATIC_LIBS)
		$(cmake-utils_use_want streflop STREFLOP)
		-DWANT_SVN_STAMP=off
		$(cmake-utils_use static wxWidgets_USE_STATIC)
		$(cmake-utils_use unicode wxWidgets_USE_UNICODE)
		$(cmake-utils_use wxuniversal wxWidgets_USE_UNIVERSAL)

		$(usex debug "-DBUILD_MEGAGLEST_UPNP_DEBUG=ON -DwxWidgets_USE_DEBUG=ON" "")
	)

	# support CMAKE_BUILD_TYPE=Gentoo
	append-cppflags '-DCUSTOM_DATA_INSTALL_PATH=\\\"'${GAMES_DATADIR}/${PN}/'\\\"'

	cmake-utils_src_configure
}

src_compile() {
	if use editor || use model-viewer; then
		VIRTUALX_COMMAND="cmake-utils_src_compile" virtualmake
	else
		cmake-utils_src_compile
	fi
}

src_install() {
	# rebuilds some targets randomly without fast option
	emake -C "${CMAKE_BUILD_DIR}" DESTDIR="${D}" "$@" install/fast

	dodoc docs/{AUTHORS.source_code,CHANGELOG,README}.txt
	doicon -s 48 ${PN}.png

	use editor &&
		make_desktop_entry ${PN}_editor "MegaGlest Map Editor"
	use model-viewer &&
		make_desktop_entry ${PN}_g3dviewer "MegaGlest Model Viewer"

	prepgamesdirs
}

pkg_preinst() {
	games_pkg_preinst
	gnome2_icon_savelist
}

pkg_postinst() {
	einfo
	elog 'Note about Configuration:'
	elog 'DO NOT directly edit glest.ini and glestkeys.ini but rather glestuser.ini'
	elog 'and glestuserkeys.ini in ~/.megaglest/ and create your user over-ride'
	elog 'values in these files.'
	elog
	elog 'If you have an older graphics card which only supports OpenGL 1.2, and the'
	elog 'game crashes when you try to play, try starting with "megaglest --disable-vbo"'
	elog 'Some graphics cards may require setting Max Lights to 1.'
	einfo

	games_pkg_postinst
	gnome2_icon_cache_update
}

pkg_postrm() {
	gnome2_icon_cache_update
}





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in games-strategy/megaglest: megaglest-3.11.1.ebuild ChangeLog
@ 2015-05-10  4:39 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2015-05-10  4:39 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    15/05/10 04:39:22

  Modified:             megaglest-3.11.1.ebuild ChangeLog
  Log:
  add slot on virtual/jpeg dep
  
  (Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.2                  games-strategy/megaglest/megaglest-3.11.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/megaglest-3.11.1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/megaglest-3.11.1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/megaglest-3.11.1.ebuild?r1=1.1&r2=1.2

Index: megaglest-3.11.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-strategy/megaglest/megaglest-3.11.1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- megaglest-3.11.1.ebuild	10 May 2015 04:30:53 -0000	1.1
+++ megaglest-3.11.1.ebuild	10 May 2015 04:39:22 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest/megaglest-3.11.1.ebuild,v 1.1 2015/05/10 04:30:53 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest/megaglest-3.11.1.ebuild,v 1.2 2015/05/10 04:39:22 mr_bones_ Exp $
 
 # google-breakpad
 # TODO: fribidi, libvorbis static
@@ -44,7 +44,7 @@
 		net-libs/libircclient
 		>=net-libs/miniupnpc-1.8
 		net-misc/curl
-		virtual/jpeg
+		virtual/jpeg:0
 		)
 	videos? ( media-video/vlc )"
 DEPEND="${RDEPEND}
@@ -61,7 +61,7 @@
 		net-libs/libircclient[static-libs]
 		net-libs/miniupnpc[static-libs]
 		net-misc/curl[static-libs]
-		virtual/jpeg[static-libs]
+		virtual/jpeg:0[static-libs]
 	)"
 
 src_prepare() {



1.29                 games-strategy/megaglest/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/ChangeLog?rev=1.29&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/ChangeLog?rev=1.29&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/ChangeLog?r1=1.28&r2=1.29

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-strategy/megaglest/ChangeLog,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- ChangeLog	10 May 2015 04:31:38 -0000	1.28
+++ ChangeLog	10 May 2015 04:39:22 -0000	1.29
@@ -1,6 +1,9 @@
 # ChangeLog for games-strategy/megaglest
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest/ChangeLog,v 1.28 2015/05/10 04:31:38 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest/ChangeLog,v 1.29 2015/05/10 04:39:22 mr_bones_ Exp $
+
+  10 May 2015; Michael Sterrett <mr_bones_@gentoo.org> megaglest-3.11.1.ebuild:
+  add slot on virtual/jpeg dep
 
   10 May 2015; Michael Sterrett <mr_bones_@gentoo.org>
   -files/megaglest-3.11.1-cmake.patch:





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in games-strategy/megaglest: megaglest-3.11.1.ebuild ChangeLog
@ 2015-05-13 16:57 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2015-05-13 16:57 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    15/05/13 16:57:34

  Modified:             megaglest-3.11.1.ebuild ChangeLog
  Log:
  add patch from Michael Palimaka to fix building with newer cmake (bug #548488)
  
  (Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.3                  games-strategy/megaglest/megaglest-3.11.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/megaglest-3.11.1.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/megaglest-3.11.1.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/megaglest-3.11.1.ebuild?r1=1.2&r2=1.3

Index: megaglest-3.11.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-strategy/megaglest/megaglest-3.11.1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- megaglest-3.11.1.ebuild	10 May 2015 04:39:22 -0000	1.2
+++ megaglest-3.11.1.ebuild	13 May 2015 16:57:34 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest/megaglest-3.11.1.ebuild,v 1.2 2015/05/10 04:39:22 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest/megaglest-3.11.1.ebuild,v 1.3 2015/05/13 16:57:34 mr_bones_ Exp $
 
 # google-breakpad
 # TODO: fribidi, libvorbis static
@@ -70,7 +70,8 @@
 		need-wxwidgets unicode
 	fi
 
-	epatch "${FILESDIR}"/${P}-static-build.patch
+	epatch "${FILESDIR}"/${P}-static-build.patch \
+		"${FILESDIR}"/${P}-cmake.patch
 }
 
 src_configure() {



1.30                 games-strategy/megaglest/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/ChangeLog?rev=1.30&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/ChangeLog?rev=1.30&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/megaglest/ChangeLog?r1=1.29&r2=1.30

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-strategy/megaglest/ChangeLog,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- ChangeLog	10 May 2015 04:39:22 -0000	1.29
+++ ChangeLog	13 May 2015 16:57:34 -0000	1.30
@@ -1,6 +1,11 @@
 # ChangeLog for games-strategy/megaglest
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest/ChangeLog,v 1.29 2015/05/10 04:39:22 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest/ChangeLog,v 1.30 2015/05/13 16:57:34 mr_bones_ Exp $
+
+  13 May 2015; Michael Sterrett <mr_bones_@gentoo.org>
+  +files/megaglest-3.11.1-cmake.patch, files/megaglest-3.9.1-cmake.patch,
+  megaglest-3.11.1.ebuild:
+  add patch from Michael Palimaka to fix building with newer cmake (bug #548488)
 
   10 May 2015; Michael Sterrett <mr_bones_@gentoo.org> megaglest-3.11.1.ebuild:
   add slot on virtual/jpeg dep





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-13 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-10  4:39 [gentoo-commits] gentoo-x86 commit in games-strategy/megaglest: megaglest-3.11.1.ebuild ChangeLog Michael Sterrett (mr_bones_)
  -- strict thread matches above, loose matches on Subject: below --
2015-05-13 16:57 Michael Sterrett (mr_bones_)
2015-05-10  4:30 Michael Sterrett (mr_bones_)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox