public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-games/mygui/
@ 2016-04-18  8:13 Patrice Clement
  0 siblings, 0 replies; 12+ messages in thread
From: Patrice Clement @ 2016-04-18  8:13 UTC (permalink / raw
  To: gentoo-commits

commit:     4f2477ca1ab07969bae57e7b47e8b7a5ba9a6050
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 18 06:35:31 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Apr 18 07:58:13 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f2477ca

dev-games/mygui: Fix metadata.xml file.

Package-Manager: portage-2.2.26

 dev-games/mygui/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-games/mygui/metadata.xml b/dev-games/mygui/metadata.xml
index 3dd4abc..a86d180 100644
--- a/dev-games/mygui/metadata.xml
+++ b/dev-games/mygui/metadata.xml
@@ -9,7 +9,6 @@
 		<maintainer status="active">
 			<email>altren@list.ru</email>
 			<name>Evmenov Georgiy</name>
-			<description>CC on bugs</description>
 		</maintainer>
 		<changelog>http://redmine.mygui.info/repositories/entry/mygui/tags/MyGUI3.2/ChangeLog.txt</changelog>
 		<bugs-to>https://sourceforge.net/tracker/?group_id=193706&amp;atid=946487</bugs-to>


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

* [gentoo-commits] repo/gentoo:master commit in: dev-games/mygui/
@ 2017-12-25 10:43 David Seifert
  0 siblings, 0 replies; 12+ messages in thread
From: David Seifert @ 2017-12-25 10:43 UTC (permalink / raw
  To: gentoo-commits

commit:     9c8050b633b053ddc5564cdc39297689f7ddb165
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 10:38:03 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 10:43:15 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c8050b6

dev-games/mygui: [QA] Run cmake-utils_src_prepare

Closes: https://bugs.gentoo.org/639436
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-games/mygui/mygui-3.2.2.ebuild | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/dev-games/mygui/mygui-3.2.2.ebuild b/dev-games/mygui/mygui-3.2.2.ebuild
index 60ec5b14954..3755ef1f712 100644
--- a/dev-games/mygui/mygui-3.2.2.ebuild
+++ b/dev-games/mygui/mygui-3.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -36,6 +36,12 @@ DEPEND="${RDEPEND}
 S=${WORKDIR}/mygui-${MY_P}
 STATIC_BUILD=${WORKDIR}/${P}_build_static
 
+PATCHES=(
+	"${FILESDIR}"/${P}-underlinking.patch
+	"${FILESDIR}"/${P}-build.patch
+	"${FILESDIR}"/${P}-FHS.patch
+)
+
 pkg_setup() {
 	if use samples && use !ogre ; then
 		ewarn "Samples disabled, because they only work with ogre!"
@@ -43,12 +49,6 @@ pkg_setup() {
 	fi
 }
 
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-underlinking.patch \
-		"${FILESDIR}"/${P}-build.patch \
-		"${FILESDIR}"/${P}-FHS.patch
-}
-
 src_configure() {
 	use debug && append-cppflags -DDEBUG
 
@@ -129,14 +129,14 @@ src_install() {
 	fperms o+w /etc/MYGUI
 
 	# test media not needed at runtime
-	rm -rf "${D}"/usr/share/MYGUI/Media/UnitTests
+	rm -rf "${ED%/}"/usr/share/MYGUI/Media/UnitTests || die
 	# wrapper not available for linux, remove related media
-	rm -rf "${D}"/usr/share/MYGUI/Media/Wrapper
+	rm -rf "${ED%/}"/usr/share/MYGUI/Media/Wrapper || die
 }
 
 pkg_postinst() {
-	einfo
+	elog
 	elog "ogre.cfg and Ogre.log are created as"
-	elog "/etc/MYGUI/mygui-ogre.cfg and /etc/MYGUI/mygui-Ogre.log"
-	einfo
+	elog "${EROOT%/}/etc/MYGUI/mygui-ogre.cfg and /etc/MYGUI/mygui-Ogre.log"
+	elog
 }


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

* [gentoo-commits] repo/gentoo:master commit in: dev-games/mygui/
@ 2018-01-06 14:59 Ulrich Müller
  0 siblings, 0 replies; 12+ messages in thread
From: Ulrich Müller @ 2018-01-06 14:59 UTC (permalink / raw
  To: gentoo-commits

commit:     2722821b2bb93c5d7b8c6a83490ae80d895a6f7b
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  6 14:58:24 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jan  6 14:58:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2722821b

dev-games/mygui: Migrate from LINGUAS to L10N.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-games/mygui/metadata.xml       | 2 +-
 dev-games/mygui/mygui-3.2.2.ebuild | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-games/mygui/metadata.xml b/dev-games/mygui/metadata.xml
index a86d18089e4..0b17cdd092c 100644
--- a/dev-games/mygui/metadata.xml
+++ b/dev-games/mygui/metadata.xml
@@ -15,7 +15,7 @@
 		<remote-id type="github">MyGUI/mygui</remote-id>
 	</upstream>
 	<use>
-		<flag name="linguas_ru">Install some additional russian docs if 'doc' useflag enabled</flag>
+		<flag name="l10n_ru">Install some additional russian docs if 'doc' useflag enabled</flag>
 		<flag name="opengl">Use the opengl render subsystem. (cannot combine with ogre)</flag>
 		<flag name="ogre">Use the ogre render subsystem. (cannot combine with opengl)</flag>
 		<flag name="plugins">Build MyGUI plugins</flag>

diff --git a/dev-games/mygui/mygui-3.2.2.ebuild b/dev-games/mygui/mygui-3.2.2.ebuild
index 3755ef1f712..fad4ba2881d 100644
--- a/dev-games/mygui/mygui-3.2.2.ebuild
+++ b/dev-games/mygui/mygui-3.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/MyGUI/mygui/archive/${MY_P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="debug doc +ogre -opengl plugins samples static-libs test tools linguas_ru"
+IUSE="debug doc +ogre -opengl plugins samples static-libs test tools l10n_ru"
 REQUIRED_USE="ogre? ( !opengl )
 	opengl? ( !ogre )"
 
@@ -119,7 +119,7 @@ src_install() {
 	if use doc ; then
 		dohtml -r "${CMAKE_BUILD_DIR}"/Docs/html/*
 
-		if use linguas_ru ; then
+		if use l10n_ru ; then
 			docompress -x /usr/share/doc/${PF}/Papers
 			dodoc -r Docs/Papers
 		fi


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

* [gentoo-commits] repo/gentoo:master commit in: dev-games/mygui/
@ 2018-08-11  9:06 Andreas Sturmlechner
  0 siblings, 0 replies; 12+ messages in thread
From: Andreas Sturmlechner @ 2018-08-11  9:06 UTC (permalink / raw
  To: gentoo-commits

commit:     ea26c2eee2e2645c24828ff2916924a30797f66e
Author:     Francesco Turco <fturco <AT> fastmail <DOT> fm>
AuthorDate: Fri Aug 10 21:22:42 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 11 08:22:19 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea26c2ee

dev-games/mygui: update link to bug tracker in metadata.xml

Closes: https://github.com/gentoo/gentoo/pull/9532

 dev-games/mygui/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-games/mygui/metadata.xml b/dev-games/mygui/metadata.xml
index 0b17cdd092c..9c40bc645ee 100644
--- a/dev-games/mygui/metadata.xml
+++ b/dev-games/mygui/metadata.xml
@@ -11,7 +11,7 @@
 			<name>Evmenov Georgiy</name>
 		</maintainer>
 		<changelog>http://redmine.mygui.info/repositories/entry/mygui/tags/MyGUI3.2/ChangeLog.txt</changelog>
-		<bugs-to>https://sourceforge.net/tracker/?group_id=193706&amp;atid=946487</bugs-to>
+		<bugs-to>https://github.com/MyGUI/mygui/issues</bugs-to>
 		<remote-id type="github">MyGUI/mygui</remote-id>
 	</upstream>
 	<use>


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

* [gentoo-commits] repo/gentoo:master commit in: dev-games/mygui/
@ 2020-02-12 22:53 Stefan Strogin
  0 siblings, 0 replies; 12+ messages in thread
From: Stefan Strogin @ 2020-02-12 22:53 UTC (permalink / raw
  To: gentoo-commits

commit:     ede00f8d00c0749ec0a6eae8d0658ae51b12e5e8
Author:     Stefan Strogin <steils <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 12 22:51:15 2020 +0000
Commit:     Stefan Strogin <steils <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 22:51:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ede00f8d

dev-games/mygui: remove unnecessary slash strips

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>

 dev-games/mygui/mygui-3.4.0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-games/mygui/mygui-3.4.0.ebuild b/dev-games/mygui/mygui-3.4.0.ebuild
index 15c88e7a864..896d211683f 100644
--- a/dev-games/mygui/mygui-3.4.0.ebuild
+++ b/dev-games/mygui/mygui-3.4.0.ebuild
@@ -146,14 +146,14 @@ src_install() {
 	fperms o+w /etc/MYGUI
 
 	# test media not needed at runtime
-	rm -rf "${ED%/}"/usr/share/MYGUI/Media/UnitTests || die
+	rm -rf "${ED}"/usr/share/MYGUI/Media/UnitTests || die
 	# wrapper not available for linux, remove related media
-	rm -rf "${ED%/}"/usr/share/MYGUI/Media/Wrapper || die
+	rm -rf "${ED}"/usr/share/MYGUI/Media/Wrapper || die
 }
 
 pkg_postinst() {
 	elog
 	elog "ogre.cfg and Ogre.log are created as"
-	elog "${EROOT%/}/etc/MYGUI/mygui-ogre.cfg and /etc/MYGUI/mygui-Ogre.log"
+	elog "${EROOT}/etc/MYGUI/mygui-ogre.cfg and /etc/MYGUI/mygui-Ogre.log"
 	elog
 }


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

* [gentoo-commits] repo/gentoo:master commit in: dev-games/mygui/
@ 2021-06-03 19:15 Sam James
  0 siblings, 0 replies; 12+ messages in thread
From: Sam James @ 2021-06-03 19:15 UTC (permalink / raw
  To: gentoo-commits

commit:     7aa3d06c89e531994b6b71211417cb0ef29fe9f3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  2 23:54:11 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun  3 19:14:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aa3d06c

dev-games/mygui: fix BadDefaultUseFlags

-foo in IUSE is discouraged. It is equivalent (in every meaningful case) to 'foo' but confuses parsing
tools like e.g. packages.gentoo.org.

Dropping '-' from these flags has no impact on the actual default behaviour.

See: https://devmanual.gentoo.org/general-concepts/use-flags/index.html#iuse-defaults
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-games/mygui/mygui-3.2.2.ebuild | 4 ++--
 dev-games/mygui/mygui-3.4.0.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-games/mygui/mygui-3.2.2.ebuild b/dev-games/mygui/mygui-3.2.2.ebuild
index dc3766716fa..8d9f41e07cc 100644
--- a/dev-games/mygui/mygui-3.2.2.ebuild
+++ b/dev-games/mygui/mygui-3.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/MyGUI/mygui/archive/${MY_P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="debug doc +ogre -opengl plugins samples static-libs test tools l10n_ru"
+IUSE="debug doc +ogre opengl plugins samples static-libs test tools l10n_ru"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="ogre? ( !opengl )
 	opengl? ( !ogre )"

diff --git a/dev-games/mygui/mygui-3.4.0.ebuild b/dev-games/mygui/mygui-3.4.0.ebuild
index 896d211683f..ab008898965 100644
--- a/dev-games/mygui/mygui-3.4.0.ebuild
+++ b/dev-games/mygui/mygui-3.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/MyGUI/mygui/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="debug doc +ogre -opengl plugins samples static-libs test tools l10n_ru"
+IUSE="debug doc +ogre opengl plugins samples static-libs test tools l10n_ru"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="ogre? ( !opengl )
 	opengl? ( !ogre )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-games/mygui/
@ 2021-12-08  3:33 Sam James
  0 siblings, 0 replies; 12+ messages in thread
From: Sam James @ 2021-12-08  3:33 UTC (permalink / raw
  To: gentoo-commits

commit:     250a00f1fb4827334ad64188d2b13fd4fb38ea21
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  8 03:32:42 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec  8 03:32:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=250a00f1

dev-games/mygui: Keyword 3.2.2 arm64, #806776

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-games/mygui/mygui-3.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-games/mygui/mygui-3.2.2.ebuild b/dev-games/mygui/mygui-3.2.2.ebuild
index 8d9f41e07cc2..55a3ccd96db5 100644
--- a/dev-games/mygui/mygui-3.2.2.ebuild
+++ b/dev-games/mygui/mygui-3.2.2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/MyGUI/mygui/archive/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~arm64 x86"
 IUSE="debug doc +ogre opengl plugins samples static-libs test tools l10n_ru"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="ogre? ( !opengl )


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

* [gentoo-commits] repo/gentoo:master commit in: dev-games/mygui/
@ 2021-12-08  3:34 Sam James
  0 siblings, 0 replies; 12+ messages in thread
From: Sam James @ 2021-12-08  3:34 UTC (permalink / raw
  To: gentoo-commits

commit:     5035935d1333498b850c830191883f36f32d7e5a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  8 03:34:01 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec  8 03:34:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5035935d

dev-games/mygui: keyword 3.4.1 for ~arm64

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-games/mygui/mygui-3.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-games/mygui/mygui-3.4.1.ebuild b/dev-games/mygui/mygui-3.4.1.ebuild
index 4c022f900304..6bedba772b6d 100644
--- a/dev-games/mygui/mygui-3.4.1.ebuild
+++ b/dev-games/mygui/mygui-3.4.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/MyGUI/mygui/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="debug doc +ogre opengl plugins samples static-libs test tools l10n_ru"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="ogre? ( !opengl )


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

* [gentoo-commits] repo/gentoo:master commit in: dev-games/mygui/
@ 2022-03-02  4:56 Sam James
  0 siblings, 0 replies; 12+ messages in thread
From: Sam James @ 2022-03-02  4:56 UTC (permalink / raw
  To: gentoo-commits

commit:     0a0f34a121a826961f521d9b426a8dab1cd85828
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  2 04:55:09 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar  2 04:55:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a0f34a1

dev-games/mygui: depend on newer Ogre (masked)

... so USE=ogre is masked for this now too.

Closes: https://bugs.gentoo.org/825330
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-games/mygui/mygui-3.4.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-games/mygui/mygui-3.4.1.ebuild b/dev-games/mygui/mygui-3.4.1.ebuild
index 6bedba772b6d..f86812e5eca5 100644
--- a/dev-games/mygui/mygui-3.4.1.ebuild
+++ b/dev-games/mygui/mygui-3.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -24,7 +24,7 @@ REQUIRED_USE="ogre? ( !opengl )
 RDEPEND="media-libs/freetype:2
 	sys-libs/zlib
 	ogre? (
-		dev-games/ogre:0=[freeimage,opengl]
+		>=dev-games/ogre-1.12:0=[freeimage,opengl]
 		samples? ( dev-games/ois )
 	)
 	opengl? (


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

* [gentoo-commits] repo/gentoo:master commit in: dev-games/mygui/
@ 2022-03-02  5:04 Sam James
  0 siblings, 0 replies; 12+ messages in thread
From: Sam James @ 2022-03-02  5:04 UTC (permalink / raw
  To: gentoo-commits

commit:     2673a6f53e049555d13c7168773b93d3eb05e062
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  2 05:02:14 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar  2 05:02:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2673a6f5

dev-games/mygui: destabilize 3.2.2 for ~amd64, ~x86

No stable revdeps, games@ prefers to avoid stable packages
unless truly needed anyway, and the package is in a bad state.

Bug: https://bugs.gentoo.org/828736
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-games/mygui/mygui-3.2.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-games/mygui/mygui-3.2.2.ebuild b/dev-games/mygui/mygui-3.2.2.ebuild
index 55a3ccd96db5..827a5384a718 100644
--- a/dev-games/mygui/mygui-3.2.2.ebuild
+++ b/dev-games/mygui/mygui-3.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/MyGUI/mygui/archive/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="debug doc +ogre opengl plugins samples static-libs test tools l10n_ru"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="ogre? ( !opengl )


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

* [gentoo-commits] repo/gentoo:master commit in: dev-games/mygui/
@ 2023-05-27 14:02 Sam James
  0 siblings, 0 replies; 12+ messages in thread
From: Sam James @ 2023-05-27 14:02 UTC (permalink / raw
  To: gentoo-commits

commit:     e7d104928289020b991102a7400f85ff57c07a72
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 27 13:58:06 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 27 14:01:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d10492

dev-games/mygui: revbump for header fixes

While the reported bug was for mygui itself, DarthGandalf points out that
it affects an installed header, so needed for consumers.

Bug: https://bugs.gentoo.org/895098
Fixes: 790927a7ccf40f62ce7b5f62ddcd88f69ca83d76
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-games/mygui/{mygui-3.4.1.ebuild => mygui-3.4.1-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-games/mygui/mygui-3.4.1.ebuild b/dev-games/mygui/mygui-3.4.1-r1.ebuild
similarity index 100%
rename from dev-games/mygui/mygui-3.4.1.ebuild
rename to dev-games/mygui/mygui-3.4.1-r1.ebuild


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

* [gentoo-commits] repo/gentoo:master commit in: dev-games/mygui/
@ 2024-03-23 13:44 Sam James
  0 siblings, 0 replies; 12+ messages in thread
From: Sam James @ 2024-03-23 13:44 UTC (permalink / raw
  To: gentoo-commits

commit:     2e261d54f1bf5b0ffb4b150f20f062cfc4103c45
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Sat Mar 23 13:34:35 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 23 13:43:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e261d54

dev-games/mygui: add 3.4.3

Closes: https://bugs.gentoo.org/926041
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-games/mygui/Manifest           |   1 +
 dev-games/mygui/mygui-3.4.3.ebuild | 159 +++++++++++++++++++++++++++++++++++++
 2 files changed, 160 insertions(+)

diff --git a/dev-games/mygui/Manifest b/dev-games/mygui/Manifest
index eaf910c62584..0be3a4c3b634 100644
--- a/dev-games/mygui/Manifest
+++ b/dev-games/mygui/Manifest
@@ -1 +1,2 @@
 DIST mygui-3.4.1.tar.gz 22433198 BLAKE2B 400f88a63df1bff5554236a0aeb58218fdb6100aa84f9eb1ac111adabfa45ae7eb1c3124bb04f3ef57587566e716d3242daa9cb5866d7ccc43a56c9605952411 SHA512 9d36272345b1a755db88848c8a0919feb6f8ae09d048efa3b8ed833bb5ddb9c65e1e7e0d26ad39eecd2a4de53fb654f4099c555e9ebd21ce9541a1a74580ef05
+DIST mygui-3.4.3.tar.gz 18797995 BLAKE2B 8329e63bdef7201f6a810fd5f4d85e36e0cf48f74f769c4e0f7c026ccae397274debe49ad71ba4a30d251cfba00ee99bcf73ed7424d4f878d769793aef985cf1 SHA512 88c69ca2e706af364b72d425f95013eb285501881d8094f8d67e31a54c45ca11b0eb5b62c382af0d4c43f69aa8197648259ac306b72efa7ef3e25eecb9b039cb

diff --git a/dev-games/mygui/mygui-3.4.3.ebuild b/dev-games/mygui/mygui-3.4.3.ebuild
new file mode 100644
index 000000000000..7cc3e5985523
--- /dev/null
+++ b/dev-games/mygui/mygui-3.4.3.ebuild
@@ -0,0 +1,159 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_REMOVE_MODULES_LIST=(FindFreetype)
+inherit cmake flag-o-matic
+
+MY_PN=MyGUI
+MY_P=${MY_PN}${PV}
+
+DESCRIPTION="A library for creating GUIs for games and 3D applications"
+HOMEPAGE="http://mygui.info"
+SRC_URI="https://github.com/MyGUI/mygui/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}" # soname
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="debug doc +ogre opengl plugins samples static-libs test tools l10n_ru"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="ogre? ( !opengl )
+	opengl? ( !ogre )"
+
+RDEPEND="media-libs/freetype:2
+	sys-libs/zlib
+	ogre? (
+		>=dev-games/ogre-1.12:0=[freeimage,opengl]
+		samples? ( dev-games/ois )
+	)
+	opengl? (
+		virtual/opengl
+		media-libs/glew:0=
+	)
+	tools? ( dev-games/ois )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
+	doc? ( app-text/doxygen )"
+
+S=${WORKDIR}/mygui-${MY_P}
+STATIC_BUILD=${WORKDIR}/${P}_build_static
+
+PATCHES=(
+	"${FILESDIR}"/mygui-3.4.1-build.patch
+	"${FILESDIR}"/mygui-3.4.1-FHS.patch
+)
+
+pkg_setup() {
+	if use samples && use !ogre ; then
+		ewarn "Samples disabled, because they only work with ogre!"
+		ewarn "Enable ogre USE flag if you want to use samples."
+	fi
+}
+
+src_configure() {
+	use debug && append-cppflags -DDEBUG
+
+	local mycmakeargs=()
+
+	# static configuration
+	if use static-libs ; then
+		mycmakeargs=( -DMYGUI_STATIC=ON
+			-DMYGUI_DONT_USE_OBSOLETE=ON
+			-DMYGUI_BUILD_DOCS=OFF
+			-DMYGUI_INSTALL_DOCS=OFF
+			-DMYGUI_USE_FREETYPE=ON
+			-DMYGUI_BUILD_PLUGINS=$(usex plugins)
+			-DMYGUI_BUILD_DEMOS=OFF
+			-DMYGUI_INSTALL_DEMOS=OFF
+			-DMYGUI_BUILD_TOOLS=OFF
+			-DMYGUI_INSTALL_TOOLS=OFF
+			-DMYGUI_BUILD_WRAPPER=OFF
+			-DMYGUI_RENDERSYSTEM=$(usex opengl "4" "$(usex ogre "3" "1")") )
+
+		CMAKE_BUILD_DIR=${STATIC_BUILD} cmake_src_configure
+		unset mycmakeargs
+	fi
+
+	# main configuration
+	mycmakeargs=(
+		-DMYGUI_STATIC=OFF
+		-DMYGUI_BUILD_DOCS=$(usex doc)
+		-DMYGUI_INSTALL_DOCS=$(usex doc)
+		-DMYGUI_USE_FREETYPE=ON
+		-DMYGUI_BUILD_PLUGINS=$(usex plugins)
+		-DMYGUI_BUILD_TOOLS=$(usex tools)
+		-DMYGUI_INSTALL_TOOLS=$(usex tools)
+		-DMYGUI_USE_SYSTEM_GLEW=$(usex opengl)
+		-DMYGUI_BUILD_WRAPPER=OFF
+		-DMYGUI_DONT_USE_OBSOLETE=ON
+		-DMYGUI_RENDERSYSTEM=$(usex opengl "4" "$(usex ogre "3" "1")")
+	)
+
+	if use ogre && use samples; then
+		mycmakeargs+=(
+			-DMYGUI_BUILD_DEMOS=ON
+			-DMYGUI_INSTALL_DEMOS=ON
+		)
+	else
+		mycmakeargs+=(
+			-DMYGUI_BUILD_DEMOS=OFF
+			-DMYGUI_INSTALL_DEMOS=OFF
+		)
+
+	fi
+
+	if use tools || (use samples && use ogre) ; then
+		mycmakeargs+=( -DMYGUI_INSTALL_MEDIA=ON )
+	else
+		mycmakeargs+=( -DMYGUI_INSTALL_MEDIA=OFF )
+	fi
+
+	cmake_src_configure
+}
+
+src_compile() {
+	# build system does not support building static and shared at once,
+	# run a double build
+	if use static-libs ; then
+		CMAKE_BUILD_DIR=${STATIC_BUILD} cmake_src_compile
+	fi
+
+	cmake_src_compile
+
+	use doc && emake -C "${CMAKE_BUILD_DIR}"/Docs api-docs
+}
+
+src_install() {
+	cmake_src_install
+
+	if use static-libs ; then
+		find "${STATIC_BUILD}" -name "*.a" \! -name "libCommon.a" -exec dolib.a '{}' \;
+		insinto /usr/$(get_libdir)/pkgconfig
+		doins "${STATIC_BUILD}"/pkgconfig/MYGUIStatic.pc
+	fi
+
+	if use doc ; then
+		dodoc -r "${CMAKE_BUILD_DIR}"/Docs/html/
+
+		if use l10n_ru ; then
+			docompress -x /usr/share/doc/${PF}/Papers
+			dodoc -r Docs/Papers
+		fi
+	fi
+
+	keepdir /etc/MYGUI
+	fperms o+w /etc/MYGUI
+
+	# test media not needed at runtime
+	rm -rf "${ED}"/usr/share/MYGUI/Media/UnitTests || die
+	# wrapper not available for linux, remove related media
+	rm -rf "${ED}"/usr/share/MYGUI/Media/Wrapper || die
+}
+
+pkg_postinst() {
+	elog
+	elog "ogre.cfg and Ogre.log are created as"
+	elog "${EROOT}/etc/MYGUI/mygui-ogre.cfg and /etc/MYGUI/mygui-Ogre.log"
+	elog
+}


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

end of thread, other threads:[~2024-03-23 13:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-02  4:56 [gentoo-commits] repo/gentoo:master commit in: dev-games/mygui/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-03-23 13:44 Sam James
2023-05-27 14:02 Sam James
2022-03-02  5:04 Sam James
2021-12-08  3:34 Sam James
2021-12-08  3:33 Sam James
2021-06-03 19:15 Sam James
2020-02-12 22:53 Stefan Strogin
2018-08-11  9:06 Andreas Sturmlechner
2018-01-06 14:59 Ulrich Müller
2017-12-25 10:43 David Seifert
2016-04-18  8:13 Patrice Clement

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