[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/files/, games-strategy/endless-sky/

2024-05-12 Thread Ionen Wolkens
commit: 4b0087904d720f62a2c8c9d49edea8b9f34b502a
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sun May 12 20:02:22 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sun May 12 20:02:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b008790

games-strategy/endless-sky: drop 0.9.16.1

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-strategy/endless-sky/Manifest|  1 -
 .../endless-sky/endless-sky-0.9.16.1.ebuild| 74 --
 ...endless-sky-0.9.14-dont-compress-man-page.patch | 20 --
 .../files/endless-sky-0.9.14-no-games-path.patch   | 42 
 .../files/endless-sky-0.9.16.1-gcc13.patch | 45 -
 .../endless-sky-0.9.16.1-respect-cflags.patch  | 13 
 .../files/endless-sky-0.9.16.1-test-libs.patch | 10 ---
 7 files changed, 205 deletions(-)

diff --git a/games-strategy/endless-sky/Manifest 
b/games-strategy/endless-sky/Manifest
index 69ff9993f8da..dc163477cf80 100644
--- a/games-strategy/endless-sky/Manifest
+++ b/games-strategy/endless-sky/Manifest
@@ -1,2 +1 @@
 DIST endless-sky-0.10.6.tar.gz 256438340 BLAKE2B 
39699f458b691dd8aa0586ebbb5b537b8b999ea0084abc561803e21e97986dd6ef28582545fc79cc5cd3ef5d4c587b96860fd7b94294acf2fee31224543ac4ff
 SHA512 
815f64db07997cc8732b12887f55d363f0ef7e44a158dc83fc0b6c4c12c69dab3bf7e1b14c7e93fe920974d8c28b8043f39808227219f09adfe618a00389a530
-DIST endless-sky-0.9.16.1.tar.gz 184582283 BLAKE2B 
3c35df96b54546811713b123bf43993df6ba5271988decd7408722263c2edd904c84888db61c2d22554b3f60edebd25db7913e7784f309ff936d37c815bc6650
 SHA512 
83e0a47160506b1e3608f67534e2dbcf51515d809016efc379448d14331229ffe26360f82cc60c565c84b10c605aec846efc19bcd4af10ee116e5ef8fc804d56

diff --git a/games-strategy/endless-sky/endless-sky-0.9.16.1.ebuild 
b/games-strategy/endless-sky/endless-sky-0.9.16.1.ebuild
deleted file mode 100644
index 709d7de7ed87..
--- a/games-strategy/endless-sky/endless-sky-0.9.16.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit python-any-r1 scons-utils toolchain-funcs xdg
-
-DESCRIPTION="Space exploration, trading & combat in the tradition of Terminal 
Velocity"
-HOMEPAGE="https://endless-sky.github.io/;
-SRC_URI="https://github.com/endless-sky/endless-sky/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="gles2-only"
-
-RDEPEND="
-   media-libs/libjpeg-turbo:=
-   media-libs/libmad
-   media-libs/libpng:=
-   media-libs/openal
-   sys-apps/util-linux
-   gles2-only? (
-   media-libs/libglvnd
-   media-libs/libsdl2[gles2,video]
-   )
-   !gles2-only? (
-   media-libs/glew:0=
-   media-libs/libglvnd[X]
-   media-libs/libsdl2[opengl,video]
-   )"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.9.14-no-games-path.patch
-   "${FILESDIR}"/${PN}-0.9.14-dont-compress-man-page.patch
-   "${FILESDIR}"/${PN}-0.9.16.1-respect-cflags.patch
-   "${FILESDIR}"/${PN}-0.9.16.1-test-libs.patch
-   "${FILESDIR}"/${PN}-0.9.16.1-gcc13.patch
-)
-
-src_compile() {
-   tc-export AR CXX
-
-   MYSCONSARGS=(
-   PREFIX="${EPREFIX}"/usr
-   opengl=$(usex gles2-only gles desktop)
-   )
-
-   escons "${MYSCONSARGS[@]}"
-}
-
-src_test() {
-   # TODO: unbundle dev-cpp/catch if upstream migrates to catch v3
-   escons "${MYSCONSARGS[@]}" test
-}
-
-src_install() {
-   escons "${MYSCONSARGS[@]}" DESTDIR="${D}" install
-}
-
-pkg_postinst() {
-   xdg_pkg_postinst
-
-   einfo "Endless Sky provides high-res sprites for high-dpi screens."
-   einfo "If you want to use them, download"
-   einfo
-   einfo "   https://github.com/endless-sky/endless-sky-high-dpi/releases;
-   einfo
-   einfo "and extract it to ~/.local/share/endless-sky/plugins/."
-   einfo
-   einfo "Enjoy."
-}

diff --git 
a/games-strategy/endless-sky/files/endless-sky-0.9.14-dont-compress-man-page.patch
 
b/games-strategy/endless-sky/files/endless-sky-0.9.14-dont-compress-man-page.patch
deleted file mode 100644
index d3836c088f31..
--- 
a/games-strategy/endless-sky/files/endless-sky-0.9.14-dont-compress-man-page.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-From 07f273e6f72a01158934158c3e8ff84c530367c9 Mon Sep 17 00:00:00 2001
-From: Sam James 
-Date: Thu, 6 Jan 2022 23:57:32 +
-Subject: [PATCH 2/2] Don't compress man page
-
 a/SConstruct
-+++ b/SConstruct
-@@ -176,10 +176,9 @@ if env.get("PREFIX").startswith("/usr/"):
-   "gtk-update-icon-cache -t $DESTDIR$PREFIX/share/icons/hicolor/")
- 
- # Install the man page.
--env.Command(
-+env.Install(
-   "$DESTDIR$PREFIX/share/man/man6/endless-sky.6.gz",
--  "endless-sky.6",
--  

[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/

2024-05-05 Thread Ionen Wolkens
commit: 4b8892ae1d5f997bd678d4cfd9864ea916620bb8
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sun May  5 18:48:09 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sun May  5 23:43:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b8892ae

games-strategy/endless-sky: add 0.10.6

Sorry for long overdue bump, may look at this package myself
in the future for bumps.

bug #929596: python is no longer used due to migration to cmake

bug #906990: untested with musl+gcc but looking at the sources
the immediate issue noted should be fixed (lot of missing cstdint
were added), please file a new bug if still broken with musl

Closes: https://bugs.gentoo.org/906990
Closes: https://bugs.gentoo.org/915807
Closes: https://bugs.gentoo.org/929596
Thanks-to: hkBst
Signed-off-by: Ionen Wolkens  gentoo.org>

 games-strategy/endless-sky/Manifest|  1 +
 .../endless-sky/endless-sky-0.10.6.ebuild  | 87 ++
 2 files changed, 88 insertions(+)

diff --git a/games-strategy/endless-sky/Manifest 
b/games-strategy/endless-sky/Manifest
index c978ae4a65e1..69ff9993f8da 100644
--- a/games-strategy/endless-sky/Manifest
+++ b/games-strategy/endless-sky/Manifest
@@ -1 +1,2 @@
+DIST endless-sky-0.10.6.tar.gz 256438340 BLAKE2B 
39699f458b691dd8aa0586ebbb5b537b8b999ea0084abc561803e21e97986dd6ef28582545fc79cc5cd3ef5d4c587b96860fd7b94294acf2fee31224543ac4ff
 SHA512 
815f64db07997cc8732b12887f55d363f0ef7e44a158dc83fc0b6c4c12c69dab3bf7e1b14c7e93fe920974d8c28b8043f39808227219f09adfe618a00389a530
 DIST endless-sky-0.9.16.1.tar.gz 184582283 BLAKE2B 
3c35df96b54546811713b123bf43993df6ba5271988decd7408722263c2edd904c84888db61c2d22554b3f60edebd25db7913e7784f309ff936d37c815bc6650
 SHA512 
83e0a47160506b1e3608f67534e2dbcf51515d809016efc379448d14331229ffe26360f82cc60c565c84b10c605aec846efc19bcd4af10ee116e5ef8fc804d56

diff --git a/games-strategy/endless-sky/endless-sky-0.10.6.ebuild 
b/games-strategy/endless-sky/endless-sky-0.10.6.ebuild
new file mode 100644
index ..d1f1437b24c2
--- /dev/null
+++ b/games-strategy/endless-sky/endless-sky-0.10.6.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake prefix xdg
+
+DESCRIPTION="Space exploration, trading & combat in the tradition of Terminal 
Velocity"
+HOMEPAGE="https://endless-sky.github.io/;
+SRC_URI="
+   
https://github.com/endless-sky/endless-sky/archive/refs/tags/v${PV}.tar.gz
+   -> ${P}.tar.gz
+"
+
+LICENSE="
+   GPL-3+
+   CC-BY-2.0 CC-BY-3.0 CC-BY-4.0
+   CC-BY-SA-3.0 CC-BY-SA-4.0
+   CC0-1.0 public-domain
+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gles2-only test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   media-libs/libglvnd
+   media-libs/libjpeg-turbo:=
+   media-libs/libmad
+   media-libs/libpng:=
+   media-libs/libsdl2[video]
+   media-libs/openal
+   sys-apps/util-linux
+   gles2-only? ( media-libs/libsdl2[gles2] )
+   !gles2-only? (
+   media-libs/glew:0=
+   media-libs/libsdl2[opengl]
+   )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+   cmake_src_prepare
+
+   # no /usr/*games/ on Gentoo, adjust docdir, install even if != Release,
+   # and GLEW is unused if USE=gles2-only (using sed for less rebasing)
+   sed -e '/install(/s: games: bin:' \
+   -e '/install(/s: share/games: share:' \
+   -e "/install(/s: share/doc/endless-sky: share/doc/${PF}:" \
+   -e '/install(/s: CONFIGURATIONS Release::' \
+   -e 's:GLEW REQUIRED:GLEW:' \
+   -i CMakeLists.txt || die
+   sed -i '/PATH/s:share/games:share:' source/Files.cpp || die
+
+   hprefixify -w /PATH/ source/Files.cpp
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTING=$(usex test)
+   -DES_GLES=$(usex gles2-only)
+   -DES_USE_SYSTEM_LIBRARIES=yes
+   -DES_USE_VCPKG=no
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   gzip -d -- "${ED}"/usr/share/man/man6/${PN}.6.gz || die
+   rm -- "${ED}"/usr/share/doc/${PF}/{copyright,license.txt} || die
+}
+
+pkg_postinst() {
+   xdg_pkg_postinst
+
+   if [[ ! ${REPLACING_VERSIONS} ]]; then
+   elog "Endless Sky provides high-res sprites for high-dpi 
screens."
+   elog "If you want to use them, download:"
+   elog
+   elog "   
https://github.com/endless-sky/endless-sky-high-dpi/releases;
+   elog
+   elog "and extract it to ~/.local/share/endless-sky/plugins/"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/, games-strategy/endless-sky/files/

2023-04-18 Thread Sam James
commit: db521d678981944d99b3aa4e81c741d30bded791
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 19 03:07:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 19 03:07:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db521d67

games-strategy/endless-sky: fix build w/ gcc 13

Closes: https://bugs.gentoo.org/894782
Signed-off-by: Sam James  gentoo.org>

 .../endless-sky/endless-sky-0.9.16.1.ebuild|  1 +
 .../files/endless-sky-0.9.16.1-gcc13.patch | 45 ++
 2 files changed, 46 insertions(+)

diff --git a/games-strategy/endless-sky/endless-sky-0.9.16.1.ebuild 
b/games-strategy/endless-sky/endless-sky-0.9.16.1.ebuild
index 3d0b78c57dff..709d7de7ed87 100644
--- a/games-strategy/endless-sky/endless-sky-0.9.16.1.ebuild
+++ b/games-strategy/endless-sky/endless-sky-0.9.16.1.ebuild
@@ -37,6 +37,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.9.14-dont-compress-man-page.patch
"${FILESDIR}"/${PN}-0.9.16.1-respect-cflags.patch
"${FILESDIR}"/${PN}-0.9.16.1-test-libs.patch
+   "${FILESDIR}"/${PN}-0.9.16.1-gcc13.patch
 )
 
 src_compile() {

diff --git a/games-strategy/endless-sky/files/endless-sky-0.9.16.1-gcc13.patch 
b/games-strategy/endless-sky/files/endless-sky-0.9.16.1-gcc13.patch
new file mode 100644
index ..428e67da568e
--- /dev/null
+++ b/games-strategy/endless-sky/files/endless-sky-0.9.16.1-gcc13.patch
@@ -0,0 +1,45 @@
+https://bugs.gentoo.org/894782
+https://github.com/endless-sky/endless-sky/commit/a85df936c24feba6eb5f7f484c160aff0a60d6cb
+https://github.com/endless-sky/endless-sky/commit/7483f72cc72511786ba3aac13b4cbe0848a2aefc
+
+From a85df936c24feba6eb5f7f484c160aff0a60d6cb Mon Sep 17 00:00:00 2001
+From: Heiko Becker 
+Date: Sat, 28 Jan 2023 16:29:40 +0100
+Subject: [PATCH] chore: Fix build with gcc 13 by including  (#8235)
+
+--- a/source/ImageBuffer.h
 b/source/ImageBuffer.h
+@@ -16,6 +16,7 @@ this program. If not, see .
+ #ifndef IMAGE_BUFFER_H_
+ #define IMAGE_BUFFER_H_
+ 
++#include 
+ #include 
+ 
+ 
+--- a/source/Sound.cpp
 b/source/Sound.cpp
+@@ -20,6 +20,7 @@ this program. If not, see .
+ 
+ #include 
+ 
++#include 
+ #include 
+ #include 
+ 
+
+From 7483f72cc72511786ba3aac13b4cbe0848a2aefc Mon Sep 17 00:00:00 2001
+From: Nick 
+Date: Wed, 8 Mar 2023 19:41:40 +0100
+Subject: [PATCH] chore: Add a missing #include, caught by gcc 13 (#8511)
+
+--- a/source/Preferences.h
 b/source/Preferences.h
+@@ -16,6 +16,7 @@ this program. If not, see .
+ #ifndef PREFERENCES_H_
+ #define PREFERENCES_H_
+ 
++#include 
+ #include 
+ 
+ 



[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/, games-strategy/endless-sky/files/

2023-02-24 Thread Ionen Wolkens
commit: fe9c8bf4085e3d78dd6589d4884a57b1714fe0b3
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Fri Feb 24 09:08:39 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Feb 24 09:26:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe9c8bf4

games-strategy/endless-sky: drop 0.9.14

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-strategy/endless-sky/Manifest|  1 -
 .../endless-sky/endless-sky-0.9.14.ebuild  | 64 --
 .../files/endless-sky-0.9.14-respect-cflags.patch  | 20 ---
 .../endless-sky-0.9.14-use-system-catch2.patch | 14 -
 4 files changed, 99 deletions(-)

diff --git a/games-strategy/endless-sky/Manifest 
b/games-strategy/endless-sky/Manifest
index 3c3a337e0421..c978ae4a65e1 100644
--- a/games-strategy/endless-sky/Manifest
+++ b/games-strategy/endless-sky/Manifest
@@ -1,2 +1 @@
-DIST endless-sky-0.9.14.tar.gz 124358153 BLAKE2B 
5845c3b595f0feba7fc5f6ce1ead88b34e9426c3db53cf013fc67f9197d2cabad8fae39056fa6f4d6da76fceb43a9709397b95daba855d1b1ebf3c25a04ba007
 SHA512 
861fddc8e2f167d335247f3ce1efb59bb4a5951cb0aa5e4a10517fded096db7e69ac17cf0e813f2a1ec040bef57c5d6b6e8e90d952debc9b2caa38d1fb91abe5
 DIST endless-sky-0.9.16.1.tar.gz 184582283 BLAKE2B 
3c35df96b54546811713b123bf43993df6ba5271988decd7408722263c2edd904c84888db61c2d22554b3f60edebd25db7913e7784f309ff936d37c815bc6650
 SHA512 
83e0a47160506b1e3608f67534e2dbcf51515d809016efc379448d14331229ffe26360f82cc60c565c84b10c605aec846efc19bcd4af10ee116e5ef8fc804d56

diff --git a/games-strategy/endless-sky/endless-sky-0.9.14.ebuild 
b/games-strategy/endless-sky/endless-sky-0.9.14.ebuild
deleted file mode 100644
index 8a815e3b53e5..
--- a/games-strategy/endless-sky/endless-sky-0.9.14.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9,10} )
-inherit python-any-r1 scons-utils toolchain-funcs xdg
-
-DESCRIPTION="Space exploration, trading & combat in the tradition of Terminal 
Velocity"
-HOMEPAGE="https://endless-sky.github.io;
-SRC_URI="https://github.com/endless-sky/endless-sky/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-# Needs work; doesn't link against SDL 2
-RESTRICT="test"
-
-RDEPEND="media-libs/glew:0=
-   media-libs/libsdl2
-   media-libs/libjpeg-turbo:=
-   media-libs/libmad
-   media-libs/libpng:=
-   media-libs/openal
-   virtual/opengl"
-DEPEND="${RDEPEND}
-   test? ( dev-cpp/catch:0 )"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.9.14-respect-cflags.patch
-   "${FILESDIR}"/${PN}-0.9.14-no-games-path.patch
-   "${FILESDIR}"/${PN}-0.9.14-dont-compress-man-page.patch
-   "${FILESDIR}"/${PN}-0.9.14-use-system-catch2.patch
-)
-
-src_compile() {
-   tc-export AR CXX
-
-   escons
-}
-
-src_test() {
-   escons test
-}
-
-src_install() {
-   escons PREFIX="${ED}"/usr/ install
-}
-
-pkg_postinst() {
-   xdg_pkg_postinst
-
-   einfo "Endless Sky provides high-res sprites for high-dpi screens."
-   einfo "If you want to use them, download"
-   einfo
-   einfo "   https://github.com/endless-sky/endless-sky-high-dpi/releases;
-   einfo
-   einfo "and extract it to ~/.local/share/endless-sky/plugins/."
-   einfo
-   einfo "Enjoy."
-}

diff --git 
a/games-strategy/endless-sky/files/endless-sky-0.9.14-respect-cflags.patch 
b/games-strategy/endless-sky/files/endless-sky-0.9.14-respect-cflags.patch
deleted file mode 100644
index 8bea82409af0..
--- a/games-strategy/endless-sky/files/endless-sky-0.9.14-respect-cflags.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-https://src.fedoraproject.org/rpms/endless-sky/raw/rawhide/f/endless-sky-0.9.14-remove-additional-ccflags.patch
 a/SConstruct
-+++ b/SConstruct
-@@ -46,15 +46,7 @@
- #   $ CXXFLAGS=-msse3 scons
- #   $ CXXFLAGS=-march=native scons
- # or modify the `flags` variable:
--flags = ["-std=c++11", "-Wall", "-Werror", "-Wold-style-cast"]
--if env["mode"] != "debug":
--  flags += ["-O3", "-flto"]
--  env.Append(LINKFLAGS = ["-O3", "-flto"])
--if env["mode"] == "debug":
--  flags += ["-g"]
--elif env["mode"] == "profile":
--  flags += ["-pg"]
--  env.Append(LINKFLAGS = ["-pg"])
-+flags = ["-std=c++11"]
- env.Append(CCFLAGS = flags)
- 
- # Always use `ar` to create the symbol table, and don't use ranlib at all, 
since it fails to preserve

diff --git 
a/games-strategy/endless-sky/files/endless-sky-0.9.14-use-system-catch2.patch 
b/games-strategy/endless-sky/files/endless-sky-0.9.14-use-system-catch2.patch
deleted file mode 100644
index 9b38e28a60fe..
--- 
a/games-strategy/endless-sky/files/endless-sky-0.9.14-use-system-catch2.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-From e8119dcdcb42479896a35cec5dc85c17c1901b2e Mon Sep 

[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/files/, games-strategy/endless-sky/

2023-02-16 Thread Ionen Wolkens
commit: d03d4f49bef52ea4562876316d494cbcc6b2f7f3
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Feb 16 08:45:44 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Feb 16 08:54:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d03d4f49

games-strategy/endless-sky: hopefully fix tests without -flto

Upstream defaults to -flto, but we yank it to let users set as wanted.

Simplest seem to be to just let the libraries get used.

Closes: https://bugs.gentoo.org/894702
Signed-off-by: Ionen Wolkens  gentoo.org>

 games-strategy/endless-sky/endless-sky-0.9.16.1.ebuild |  1 +
 .../endless-sky/files/endless-sky-0.9.16.1-test-libs.patch | 10 ++
 2 files changed, 11 insertions(+)

diff --git a/games-strategy/endless-sky/endless-sky-0.9.16.1.ebuild 
b/games-strategy/endless-sky/endless-sky-0.9.16.1.ebuild
index c07e76bb4888..3d0b78c57dff 100644
--- a/games-strategy/endless-sky/endless-sky-0.9.16.1.ebuild
+++ b/games-strategy/endless-sky/endless-sky-0.9.16.1.ebuild
@@ -36,6 +36,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.9.14-no-games-path.patch
"${FILESDIR}"/${PN}-0.9.14-dont-compress-man-page.patch
"${FILESDIR}"/${PN}-0.9.16.1-respect-cflags.patch
+   "${FILESDIR}"/${PN}-0.9.16.1-test-libs.patch
 )
 
 src_compile() {

diff --git 
a/games-strategy/endless-sky/files/endless-sky-0.9.16.1-test-libs.patch 
b/games-strategy/endless-sky/files/endless-sky-0.9.16.1-test-libs.patch
new file mode 100644
index ..31b27de1d569
--- /dev/null
+++ b/games-strategy/endless-sky/files/endless-sky-0.9.16.1-test-libs.patch
@@ -0,0 +1,10 @@
+Even if not actually used, ensure all symbols are available when linking
+tests to handle cases where unused symbols were not optimized out.
+https://bugs.gentoo.org/894702
+--- a/SConstruct
 b/SConstruct
+@@ -172,4 +172,2 @@
+   CPPPATH=(env.get('CPPPATH', []) + [pathjoin('tests', 'unit', 
'include')]),
+-  # Do not link against the actual implementations of SDL, OpenGL, etc.
+-  LIBS=sys_libs,
+   # Pass the necessary link flags for a console program.



[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/files/, games-strategy/endless-sky/

2023-02-15 Thread Ionen Wolkens
commit: 02c104a6e2e2b9c2f7702b16c304bdb0a967e489
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Feb 16 06:55:21 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Feb 16 07:29:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02c104a6

games-strategy/endless-sky: add 0.9.16.1, enable py3.11

- re-enable tests, seem to work in this version
- add IUSE=gles2-only and tighten sdl2+GL deps
- revert to bundled dev-cpp/catch (it's newer/suitable at 2.13.9,
  and using system's without pinning would require migration to v3
  which further needs -std=c++14 -- left note to unbundle later)

Closes: https://bugs.gentoo.org/830718
Closes: https://bugs.gentoo.org/887483
Signed-off-by: Ionen Wolkens  gentoo.org>

 games-strategy/endless-sky/Manifest|  1 +
 .../endless-sky/endless-sky-0.9.16.1.ebuild| 72 ++
 .../endless-sky-0.9.16.1-respect-cflags.patch  | 13 
 3 files changed, 86 insertions(+)

diff --git a/games-strategy/endless-sky/Manifest 
b/games-strategy/endless-sky/Manifest
index 75a855912828..3c3a337e0421 100644
--- a/games-strategy/endless-sky/Manifest
+++ b/games-strategy/endless-sky/Manifest
@@ -1 +1,2 @@
 DIST endless-sky-0.9.14.tar.gz 124358153 BLAKE2B 
5845c3b595f0feba7fc5f6ce1ead88b34e9426c3db53cf013fc67f9197d2cabad8fae39056fa6f4d6da76fceb43a9709397b95daba855d1b1ebf3c25a04ba007
 SHA512 
861fddc8e2f167d335247f3ce1efb59bb4a5951cb0aa5e4a10517fded096db7e69ac17cf0e813f2a1ec040bef57c5d6b6e8e90d952debc9b2caa38d1fb91abe5
+DIST endless-sky-0.9.16.1.tar.gz 184582283 BLAKE2B 
3c35df96b54546811713b123bf43993df6ba5271988decd7408722263c2edd904c84888db61c2d22554b3f60edebd25db7913e7784f309ff936d37c815bc6650
 SHA512 
83e0a47160506b1e3608f67534e2dbcf51515d809016efc379448d14331229ffe26360f82cc60c565c84b10c605aec846efc19bcd4af10ee116e5ef8fc804d56

diff --git a/games-strategy/endless-sky/endless-sky-0.9.16.1.ebuild 
b/games-strategy/endless-sky/endless-sky-0.9.16.1.ebuild
new file mode 100644
index ..c07e76bb4888
--- /dev/null
+++ b/games-strategy/endless-sky/endless-sky-0.9.16.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit python-any-r1 scons-utils toolchain-funcs xdg
+
+DESCRIPTION="Space exploration, trading & combat in the tradition of Terminal 
Velocity"
+HOMEPAGE="https://endless-sky.github.io/;
+SRC_URI="https://github.com/endless-sky/endless-sky/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gles2-only"
+
+RDEPEND="
+   media-libs/libjpeg-turbo:=
+   media-libs/libmad
+   media-libs/libpng:=
+   media-libs/openal
+   sys-apps/util-linux
+   gles2-only? (
+   media-libs/libglvnd
+   media-libs/libsdl2[gles2,video]
+   )
+   !gles2-only? (
+   media-libs/glew:0=
+   media-libs/libglvnd[X]
+   media-libs/libsdl2[opengl,video]
+   )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.9.14-no-games-path.patch
+   "${FILESDIR}"/${PN}-0.9.14-dont-compress-man-page.patch
+   "${FILESDIR}"/${PN}-0.9.16.1-respect-cflags.patch
+)
+
+src_compile() {
+   tc-export AR CXX
+
+   MYSCONSARGS=(
+   PREFIX="${EPREFIX}"/usr
+   opengl=$(usex gles2-only gles desktop)
+   )
+
+   escons "${MYSCONSARGS[@]}"
+}
+
+src_test() {
+   # TODO: unbundle dev-cpp/catch if upstream migrates to catch v3
+   escons "${MYSCONSARGS[@]}" test
+}
+
+src_install() {
+   escons "${MYSCONSARGS[@]}" DESTDIR="${D}" install
+}
+
+pkg_postinst() {
+   xdg_pkg_postinst
+
+   einfo "Endless Sky provides high-res sprites for high-dpi screens."
+   einfo "If you want to use them, download"
+   einfo
+   einfo "   https://github.com/endless-sky/endless-sky-high-dpi/releases;
+   einfo
+   einfo "and extract it to ~/.local/share/endless-sky/plugins/."
+   einfo
+   einfo "Enjoy."
+}

diff --git 
a/games-strategy/endless-sky/files/endless-sky-0.9.16.1-respect-cflags.patch 
b/games-strategy/endless-sky/files/endless-sky-0.9.16.1-respect-cflags.patch
new file mode 100644
index ..6790f7de647f
--- /dev/null
+++ b/games-strategy/endless-sky/files/endless-sky-0.9.16.1-respect-cflags.patch
@@ -0,0 +1,13 @@
+--- a/SConstruct
 b/SConstruct
+@@ -53,10 +53,2 @@
+ flags = ["-std=c++11", "-Wall", "-Wold-style-cast", "-fno-rtti"]
+-if env["mode"] != "debug":
+-  flags += ["-Werror", "-O3", "-flto"]
+-  env.Append(LINKFLAGS = ["-O3", "-flto"])
+-if env["mode"] == "debug":
+-  flags += ["-g"]
+-elif env["mode"] == "profile":
+-  flags += ["-pg"]
+-  env.Append(LINKFLAGS = ["-pg"])
+ env.Append(CCFLAGS = flags)



[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/, games-strategy/endless-sky/files/

2022-01-06 Thread Sam James
commit: 466dd3ad91db9f2259c687f52f87835e45e191b9
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  6 23:59:40 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan  7 00:01:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=466dd3ad

games-strategy/endless-sky: don't compress man page; use system catch2

- Don't compress man page
- Use system copy of Catch 2 for tests (works w/ glibc-2.34 now, didn't
  notice earlier b/c tested on a stable box); still not running tests yet,
  need to resolve linking issue.
- Respect AR

Signed-off-by: Sam James  gentoo.org>

 games-strategy/endless-sky/endless-sky-0.9.14.ebuild |  9 +++--
 .../endless-sky-0.9.14-dont-compress-man-page.patch  | 20 
 .../files/endless-sky-0.9.14-use-system-catch2.patch | 14 ++
 3 files changed, 41 insertions(+), 2 deletions(-)

diff --git a/games-strategy/endless-sky/endless-sky-0.9.14.ebuild 
b/games-strategy/endless-sky/endless-sky-0.9.14.ebuild
index f0f7509aa8a8..0a6641ac67ee 100644
--- a/games-strategy/endless-sky/endless-sky-0.9.14.ebuild
+++ b/games-strategy/endless-sky/endless-sky-0.9.14.ebuild
@@ -13,6 +13,8 @@ 
SRC_URI="https://github.com/endless-sky/endless-sky/archive/v${PV}.tar.gz -> ${P
 LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
 
 # Needs work; doesn't link against SDL 2
 RESTRICT="test"
@@ -24,15 +26,18 @@ RDEPEND="media-libs/glew:0=
media-libs/libpng:=
media-libs/openal
virtual/opengl"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+   test? ( dev-cpp/catch:0 )"
 
 PATCHES=(
"${FILESDIR}"/${PN}-0.9.14-respect-cflags.patch
"${FILESDIR}"/${PN}-0.9.14-no-games-path.patch
+   "${FILESDIR}"/${PN}-0.9.14-dont-compress-man-page.patch
+   "${FILESDIR}"/${PN}-0.9.14-use-system-catch2.patch
 )
 
 src_compile() {
-   tc-export CXX
+   tc-export AR CXX
 
escons
 }

diff --git 
a/games-strategy/endless-sky/files/endless-sky-0.9.14-dont-compress-man-page.patch
 
b/games-strategy/endless-sky/files/endless-sky-0.9.14-dont-compress-man-page.patch
new file mode 100644
index ..d3836c088f31
--- /dev/null
+++ 
b/games-strategy/endless-sky/files/endless-sky-0.9.14-dont-compress-man-page.patch
@@ -0,0 +1,20 @@
+From 07f273e6f72a01158934158c3e8ff84c530367c9 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Thu, 6 Jan 2022 23:57:32 +
+Subject: [PATCH 2/2] Don't compress man page
+
+--- a/SConstruct
 b/SConstruct
+@@ -176,10 +176,9 @@ if env.get("PREFIX").startswith("/usr/"):
+   "gtk-update-icon-cache -t $DESTDIR$PREFIX/share/icons/hicolor/")
+ 
+ # Install the man page.
+-env.Command(
++env.Install(
+   "$DESTDIR$PREFIX/share/man/man6/endless-sky.6.gz",
+-  "endless-sky.6",
+-  "gzip -c $SOURCE > $TARGET")
++  "endless-sky.6")
+ 
+ # Install the data files.
+ def RecursiveInstall(env, target, source):

diff --git 
a/games-strategy/endless-sky/files/endless-sky-0.9.14-use-system-catch2.patch 
b/games-strategy/endless-sky/files/endless-sky-0.9.14-use-system-catch2.patch
new file mode 100644
index ..9b38e28a60fe
--- /dev/null
+++ 
b/games-strategy/endless-sky/files/endless-sky-0.9.14-use-system-catch2.patch
@@ -0,0 +1,14 @@
+From e8119dcdcb42479896a35cec5dc85c17c1901b2e Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Thu, 6 Jan 2022 23:56:59 +
+Subject: [PATCH 1/2] Use system copy of catch2
+
+In particular, we get glibc-2.34 fixes for free then.
+--- a/tests/include/es-test.hpp
 b/tests/include/es-test.hpp
+@@ -23,4 +23,4 @@ PARTICULAR PURPOSE.  See the GNU General Public License for 
more details.
+ // #define CATCH_CONFIG_WINDOWS_CRTDBG
+ #endif
+ 
+-#include "catch.hpp"
++#include 



[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/files/, games-strategy/endless-sky/

2022-01-06 Thread Sam James
commit: 72aa2845bba14a3291d5c73d178278a448e11d7f
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  6 23:06:22 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  6 23:06:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72aa2845

games-strategy/endless-sky: initial import (restore at 0.9.14)

Closes: https://bugs.gentoo.org/735542
Signed-off-by: Sam James  gentoo.org>

 games-strategy/endless-sky/Manifest|  1 +
 .../endless-sky/endless-sky-0.9.14.ebuild  | 59 ++
 .../files/endless-sky-0.9.14-no-games-path.patch   | 42 +++
 .../files/endless-sky-0.9.14-respect-cflags.patch  | 20 
 games-strategy/endless-sky/metadata.xml| 16 ++
 5 files changed, 138 insertions(+)

diff --git a/games-strategy/endless-sky/Manifest 
b/games-strategy/endless-sky/Manifest
new file mode 100644
index ..75a855912828
--- /dev/null
+++ b/games-strategy/endless-sky/Manifest
@@ -0,0 +1 @@
+DIST endless-sky-0.9.14.tar.gz 124358153 BLAKE2B 
5845c3b595f0feba7fc5f6ce1ead88b34e9426c3db53cf013fc67f9197d2cabad8fae39056fa6f4d6da76fceb43a9709397b95daba855d1b1ebf3c25a04ba007
 SHA512 
861fddc8e2f167d335247f3ce1efb59bb4a5951cb0aa5e4a10517fded096db7e69ac17cf0e813f2a1ec040bef57c5d6b6e8e90d952debc9b2caa38d1fb91abe5

diff --git a/games-strategy/endless-sky/endless-sky-0.9.14.ebuild 
b/games-strategy/endless-sky/endless-sky-0.9.14.ebuild
new file mode 100644
index ..f0f7509aa8a8
--- /dev/null
+++ b/games-strategy/endless-sky/endless-sky-0.9.14.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8,9,10} )
+inherit python-any-r1 scons-utils toolchain-funcs xdg
+
+DESCRIPTION="Space exploration, trading & combat in the tradition of Terminal 
Velocity"
+HOMEPAGE="https://endless-sky.github.io;
+SRC_URI="https://github.com/endless-sky/endless-sky/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Needs work; doesn't link against SDL 2
+RESTRICT="test"
+
+RDEPEND="media-libs/glew:0=
+   media-libs/libsdl2
+   media-libs/libjpeg-turbo:=
+   media-libs/libmad
+   media-libs/libpng:=
+   media-libs/openal
+   virtual/opengl"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.9.14-respect-cflags.patch
+   "${FILESDIR}"/${PN}-0.9.14-no-games-path.patch
+)
+
+src_compile() {
+   tc-export CXX
+
+   escons
+}
+
+src_test() {
+   escons test
+}
+
+src_install() {
+   escons PREFIX="${ED}"/usr/ install
+}
+
+pkg_postinst() {
+   xdg_pkg_postinst
+
+   einfo "Endless Sky provides high-res sprites for high-dpi screens."
+   einfo "If you want to use them, download"
+   einfo
+   einfo "   https://github.com/endless-sky/endless-sky-high-dpi/releases;
+   einfo
+   einfo "and extract it to ~/.local/share/endless-sky/plugins/."
+   einfo
+   einfo "Enjoy."
+}

diff --git 
a/games-strategy/endless-sky/files/endless-sky-0.9.14-no-games-path.patch 
b/games-strategy/endless-sky/files/endless-sky-0.9.14-no-games-path.patch
new file mode 100644
index ..bdec820de1e1
--- /dev/null
+++ b/games-strategy/endless-sky/files/endless-sky-0.9.14-no-games-path.patch
@@ -0,0 +1,42 @@
+https://src.fedoraproject.org/rpms/endless-sky/raw/rawhide/f/endless-sky-0.9.13-remove-games-path.patch
+--- a/SConstruct
 b/SConstruct
+@@ -191,11 +191,11 @@
+   RecursiveInstall(env, pathjoin(target, name), 
node.abspath)
+   else:
+   env.Install(target, node)
+-RecursiveInstall(env, "$DESTDIR$PREFIX/share/games/endless-sky/data", "data")
+-RecursiveInstall(env, "$DESTDIR$PREFIX/share/games/endless-sky/images", 
"images")
+-RecursiveInstall(env, "$DESTDIR$PREFIX/share/games/endless-sky/sounds", 
"sounds")
+-env.Install("$DESTDIR$PREFIX/share/games/endless-sky", "credits.txt")
+-env.Install("$DESTDIR$PREFIX/share/games/endless-sky", "keys.txt")
++RecursiveInstall(env, "$DESTDIR$PREFIX/share/endless-sky/data", "data")
++RecursiveInstall(env, "$DESTDIR$PREFIX/share/endless-sky/images", "images")
++RecursiveInstall(env, "$DESTDIR$PREFIX/share/endless-sky/sounds", "sounds")
++env.Install("$DESTDIR$PREFIX/share/endless-sky", "credits.txt")
++env.Install("$DESTDIR$PREFIX/share/endless-sky", "keys.txt")
+ 
+ # Make the word "install" in the command line do an installation.
+ env.Alias("install", "$DESTDIR$PREFIX")
+--- a/SConstruct
 b/SConstruct
+@@ -142,7 +142,7 @@
+ 
+ 
+ # Install the binary:
+-env.Install("$DESTDIR$PREFIX/games", sky)
++env.Install("$DESTDIR$PREFIX/bin", sky)
+ 
+ # Install the desktop file:
+ env.Install("$DESTDIR$PREFIX/share/applications", "endless-sky.desktop")
+--- a/source/Files.cpp
 b/source/Files.cpp
+@@ -119,7 +119,7 @@
+   // the executable, but are under 

[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/

2018-04-03 Thread Jonas Stein
commit: f22b238e20d3f9d5f132adbe24779b09365b367e
Author: Jonas Stein  gentoo  org>
AuthorDate: Tue Apr  3 15:16:56 2018 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Tue Apr  3 15:27:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f22b238e

games-strategy/endless-sky: Maintainer retired

Proxied maintainer was retired due to inactivity.
Bug: https://bugs.gentoo.org/632854
Package-Manager: Portage-2.3.28, Repoman-2.3.9

 games-strategy/endless-sky/metadata.xml | 8 
 1 file changed, 8 deletions(-)

diff --git a/games-strategy/endless-sky/metadata.xml 
b/games-strategy/endless-sky/metadata.xml
index 165e0a243ef..5754bfb7b19 100644
--- a/games-strategy/endless-sky/metadata.xml
+++ b/games-strategy/endless-sky/metadata.xml
@@ -1,18 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   tombo...@sina.cn
-   Tommy Boy
-   

ga...@gentoo.org
Gentoo Games

-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   

Explore other star systems. Earn money by trading, carrying 
passengers, or completing missions. Use your earnings to buy a better ship or 
to upgrade the weapons and engines on your current one. Blow up pirates. Take 
sides in a civil war. Or leave human space behind and hope to find some 
friendly aliens whose culture is more civilized than your own...




[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/

2017-12-20 Thread David Seifert
commit: 902e5c3b9a04f47dc2bbef549e21780eefbac685
Author: David Seifert  gentoo  org>
AuthorDate: Wed Dec 20 21:30:32 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Dec 21 01:55:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=902e5c3b

games-strategy/endless-sky: Remove old

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 games-strategy/endless-sky/Manifest|  1 -
 .../endless-sky/endless-sky-0.9.1.ebuild   | 59 --
 2 files changed, 60 deletions(-)

diff --git a/games-strategy/endless-sky/Manifest 
b/games-strategy/endless-sky/Manifest
index a87ecb869d0..6b68c5d6183 100644
--- a/games-strategy/endless-sky/Manifest
+++ b/games-strategy/endless-sky/Manifest
@@ -1,2 +1 @@
-DIST endless-sky-0.9.1.tar.gz 54138358 BLAKE2B 
44ba7dffbb10d35d515188ce03890ce116b75adb55518cde02d8dc6478c91b351a4377a5775e915e3a50307206b91a75a5ecb0901771e39942c388b71366985e
 SHA512 
62d5a375c4580264c607799c427d917a76d5d1b987fcfb1efe77aa8fac5e3607d0c02da789368c539613bf255dfe0512b9c7e696bf4de8730c2dd6fecb971837
 DIST endless-sky-0.9.6.tar.gz 71119557 BLAKE2B 
cf4fa6575a701396083815abd55071563f85973dc354b52509dc2fb0f7c803d7c6b44e6ace881bb6103063273f358b525c958e10a3c4ca3ceb3d6f849dd745f9
 SHA512 
e8dbae856153246f68a3c7ba68fd33a15cf60908f65003f614269df6909ed8d7ad848b4add4ee071b295f58be92c532e6579982d3c20b83d9203b74077f90bae

diff --git a/games-strategy/endless-sky/endless-sky-0.9.1.ebuild 
b/games-strategy/endless-sky/endless-sky-0.9.1.ebuild
deleted file mode 100644
index 9d5709a78fc..000
--- a/games-strategy/endless-sky/endless-sky-0.9.1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils gnome2-utils scons-utils
-
-DESCRIPTION="Space exploration, trading & combat in the tradition of Terminal 
Velocity"
-HOMEPAGE="https://endless-sky.github.io;
-SRC_URI="https://github.com/endless-sky/endless-sky/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="media-libs/glew:0
-   media-libs/libsdl2
-   media-libs/libjpeg-turbo
-   media-libs/libpng:=
-   media-libs/openal
-   virtual/opengl"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-   sed -i 's/"-std=c++0x", "-O3", "-Wall"/"-std=c++0x", "-Wall"/' 
SConstruct || die
-   sed -i 's#env.Install("$DESTDIR$PREFIX/games", 
sky)#env.Install("$DESTDIR$PREFIX/bin", sky)#g' SConstruct || die
-   eapply_user
-}
-
-src_compile() {
-   escons
-}
-
-src_install() {
-   escons PREFIX="${D}/usr/" install
-}
-
-pkg_preinst() {
-   gnome2_icon_savelist
-}
-
-pkg_postinst() {
-   gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-   gnome2_icon_cache_update
-}
-
-pkg_postinst() {
-   einfo "Endless Sky provides high-res sprites for high-dpi screens."
-   einfo "If you want to use them, download"
-   einfo
-   einfo "   https://github.com/endless-sky/endless-sky-high-dpi/releases;
-   einfo
-   einfo "and extract it to ~/.local/share/endless-sky/plugins/."
-   einfo
-   einfo "   Enjoy."
-}



[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/

2017-05-07 Thread Michał Górny
commit: 710e1baeb154717fe6d678ef179ccf5e8d245513
Author: tomboy64  sina  cn>
AuthorDate: Fri Apr  7 15:18:14 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May  7 17:41:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=710e1bae

games-strategy/endless-sky: remove ancient version 0.8.11-r1

 games-strategy/endless-sky/Manifest|  1 -
 .../endless-sky/endless-sky-0.8.11-r1.ebuild   | 47 --
 2 files changed, 48 deletions(-)

diff --git a/games-strategy/endless-sky/Manifest 
b/games-strategy/endless-sky/Manifest
index d7bb18689d3..db41765e2eb 100644
--- a/games-strategy/endless-sky/Manifest
+++ b/games-strategy/endless-sky/Manifest
@@ -1,2 +1 @@
-DIST endless-sky-0.8.11.tar.gz 42620910 SHA256 
8c399194b5d118274f43685b9992419538e5e6c6161621e5b06aef9ca74c4718 SHA512 
6f2d1fdae24a9f1f6b67cb806ae88c214ffe0827770b26f6e65da7afa823a6091e5ade7f492e8b52f761650de86b20ce497e6f03f0d9ab0a7791be456b0ea6d2
 WHIRLPOOL 
3691c2f982a8657388bb00c8eeb78791b404942aa0a3249b1821433646546b4c4b83fb2bb1bfe13c927911ef4ea88cce1add08f01e9b05b2dde8c96df123f55d
 DIST endless-sky-0.9.1.tar.gz 54138358 SHA256 
ebfb5ae656dfbdebd312f83b71063bb5b9c966e7b884f98e109e993aa8c1dc5e SHA512 
62d5a375c4580264c607799c427d917a76d5d1b987fcfb1efe77aa8fac5e3607d0c02da789368c539613bf255dfe0512b9c7e696bf4de8730c2dd6fecb971837
 WHIRLPOOL 
3bdbbbd1e605b8db2463a0c79e461a619bba60308ff78abfbac9ac3087dd505330afcc1cfef543f34e4a759537e7cf95f6d9c374153933bb457732e71c327960

diff --git a/games-strategy/endless-sky/endless-sky-0.8.11-r1.ebuild 
b/games-strategy/endless-sky/endless-sky-0.8.11-r1.ebuild
deleted file mode 100644
index f345cdc5595..000
--- a/games-strategy/endless-sky/endless-sky-0.8.11-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils scons-utils
-
-DESCRIPTION="Space exploration, trading & combat in the tradition of Terminal 
Velocity"
-HOMEPAGE="https://endless-sky.github.io;
-SRC_URI="https://github.com/endless-sky/endless-sky/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-RDEPEND="media-libs/glew
-   media-libs/libsdl2
-   media-libs/libjpeg-turbo
-   media-libs/libpng:=
-   media-libs/openal
-   virtual/opengl"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-   sed -i 's/"-std=c++0x", "-O3", "-Wall"/"-std=c++0x", "-Wall"/' 
SConstruct || die
-   sed -i 's#env.Install("$DESTDIR$PREFIX/games", 
sky)#env.Install("$DESTDIR$PREFIX/bin", sky)#g' SConstruct || die
-   eapply_user
-}
-
-src_compile() {
-   escons
-}
-
-src_install() {
-   escons PREFIX="${D}/usr/" install
-}
-
-pkg_postinst() {
-   einfo "Endless Sky provides high-res sprites for high-dpi screens."
-   einfo "If you want to use them, download"
-   einfo
-   einfo "   https://github.com/endless-sky/endless-sky-high-dpi/releases;
-   einfo
-   einfo "and extract it to ~/.local/share/endless-sky/plugins/."
-   einfo
-   einfo "   Enjoy."
-}



[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/

2017-05-07 Thread Michał Górny
commit: 736fea0b73e9be6c8be54b548ca0a33aabdd01ae
Author: tomboy64  sina  cn>
AuthorDate: Fri Apr  7 15:31:40 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May  7 17:41:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=736fea0b

games-strategy/endless-sky: version bump 0.9.6

Closes: https://github.com/gentoo/gentoo/pull/4447
Package-Manager: Portage-2.3.5, Repoman-2.3.2

 games-strategy/endless-sky/Manifest|  1 +
 .../endless-sky/endless-sky-0.9.6.ebuild   | 55 ++
 2 files changed, 56 insertions(+)

diff --git a/games-strategy/endless-sky/Manifest 
b/games-strategy/endless-sky/Manifest
index db41765e2eb..cf81e52067c 100644
--- a/games-strategy/endless-sky/Manifest
+++ b/games-strategy/endless-sky/Manifest
@@ -1 +1,2 @@
 DIST endless-sky-0.9.1.tar.gz 54138358 SHA256 
ebfb5ae656dfbdebd312f83b71063bb5b9c966e7b884f98e109e993aa8c1dc5e SHA512 
62d5a375c4580264c607799c427d917a76d5d1b987fcfb1efe77aa8fac5e3607d0c02da789368c539613bf255dfe0512b9c7e696bf4de8730c2dd6fecb971837
 WHIRLPOOL 
3bdbbbd1e605b8db2463a0c79e461a619bba60308ff78abfbac9ac3087dd505330afcc1cfef543f34e4a759537e7cf95f6d9c374153933bb457732e71c327960
+DIST endless-sky-0.9.6.tar.gz 71119557 SHA256 
41699dabb72a276c96019d0714e54492866e29661f161052a1caf334332be1e4 SHA512 
e8dbae856153246f68a3c7ba68fd33a15cf60908f65003f614269df6909ed8d7ad848b4add4ee071b295f58be92c532e6579982d3c20b83d9203b74077f90bae
 WHIRLPOOL 
148e5a89a1386eef2f6d16d67eeda5b0f9197620aa36fdb849139c0a8dc9720ab3350e559d3c9e3299fde12bdf9a236c12d9ff1a2ce484851ff40b2948a6fdd2

diff --git a/games-strategy/endless-sky/endless-sky-0.9.6.ebuild 
b/games-strategy/endless-sky/endless-sky-0.9.6.ebuild
new file mode 100644
index 000..e01d717396f
--- /dev/null
+++ b/games-strategy/endless-sky/endless-sky-0.9.6.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils scons-utils
+
+DESCRIPTION="Space exploration, trading & combat in the tradition of Terminal 
Velocity"
+HOMEPAGE="https://endless-sky.github.io;
+SRC_URI="https://github.com/endless-sky/endless-sky/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="media-libs/glew:0
+   media-libs/libsdl2
+   media-libs/libjpeg-turbo
+   media-libs/libpng:=
+   media-libs/openal
+   virtual/opengl"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+   sed -i 's/\(.*flags += \["\)-O3\("\]\)/\1\2/g' SConstruct || die
+   sed -i 's#env.Install("$DESTDIR$PREFIX/games", 
sky)#env.Install("$DESTDIR$PREFIX/bin", sky)#g' SConstruct || die
+   eapply_user
+}
+
+src_compile() {
+   escons
+}
+
+src_install() {
+   escons PREFIX="${D}/usr/" install
+}
+
+pkg_postinst() {
+   gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+   gnome2_icon_cache_update
+}
+
+pkg_postinst() {
+   einfo "Endless Sky provides high-res sprites for high-dpi screens."
+   einfo "If you want to use them, download"
+   einfo
+   einfo "   https://github.com/endless-sky/endless-sky-high-dpi/releases;
+   einfo
+   einfo "and extract it to ~/.local/share/endless-sky/plugins/."
+   einfo
+   einfo "   Enjoy."
+}



[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/

2017-05-07 Thread Michał Górny
commit: 802b6d6e218b5e076bc07a0ace148166f590cbd2
Author: tomboy64  sina  cn>
AuthorDate: Fri Apr  7 15:19:41 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May  7 17:41:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=802b6d6e

games-strategy/endless-sky: fix glew slot in deps

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 games-strategy/endless-sky/endless-sky-0.9.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-strategy/endless-sky/endless-sky-0.9.1.ebuild 
b/games-strategy/endless-sky/endless-sky-0.9.1.ebuild
index 7fed28b8fbd..9d5709a78fc 100644
--- a/games-strategy/endless-sky/endless-sky-0.9.1.ebuild
+++ b/games-strategy/endless-sky/endless-sky-0.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-RDEPEND="media-libs/glew
+RDEPEND="media-libs/glew:0
media-libs/libsdl2
media-libs/libjpeg-turbo
media-libs/libpng:=



[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/

2016-05-31 Thread Patrice Clement
commit: 0bf41b0a0fec51eb3972708c7a3350490f8d
Author: Marshall Brewer  sina  cn>
AuthorDate: Tue May 31 05:32:53 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue May 31 07:23:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bf41b0a

games-strategy/endless-sky: version bump 0.9.1

Package-Manager: portage-2.3.0_rc1
Closes: https://github.com/gentoo/gentoo/pull/1566

Signed-off-by: Patrice Clement  gentoo.org>

 games-strategy/endless-sky/Manifest | 2 +-
 .../endless-sky/{endless-sky-0.9.0.ebuild => endless-sky-0.9.1.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-strategy/endless-sky/Manifest 
b/games-strategy/endless-sky/Manifest
index fc6e8c0..d7bb186 100644
--- a/games-strategy/endless-sky/Manifest
+++ b/games-strategy/endless-sky/Manifest
@@ -1,2 +1,2 @@
 DIST endless-sky-0.8.11.tar.gz 42620910 SHA256 
8c399194b5d118274f43685b9992419538e5e6c6161621e5b06aef9ca74c4718 SHA512 
6f2d1fdae24a9f1f6b67cb806ae88c214ffe0827770b26f6e65da7afa823a6091e5ade7f492e8b52f761650de86b20ce497e6f03f0d9ab0a7791be456b0ea6d2
 WHIRLPOOL 
3691c2f982a8657388bb00c8eeb78791b404942aa0a3249b1821433646546b4c4b83fb2bb1bfe13c927911ef4ea88cce1add08f01e9b05b2dde8c96df123f55d
-DIST endless-sky-0.9.0.tar.gz 51004856 SHA256 
bdd1f364fe7361ba61d7ec63049e8661a625dee6e2ab2c9ab71f95c06af708a5 SHA512 
9201d31cad1e256924d6064e0748d04a785972179c92f2423e6a8dfb7703ff2a1b8d9d57457f3a701c41ff358878122e62163c1a0e8117a9f681d6e0150ace3f
 WHIRLPOOL 
70445d260fe88904469c2789964d73bd882843b616eb1fc2f3a6d15fd80358221bda8ac2e8fd30617f2fc856e9e2528e6afd64449ac7ca793ca3d05cb7ccaa1f
+DIST endless-sky-0.9.1.tar.gz 54138358 SHA256 
ebfb5ae656dfbdebd312f83b71063bb5b9c966e7b884f98e109e993aa8c1dc5e SHA512 
62d5a375c4580264c607799c427d917a76d5d1b987fcfb1efe77aa8fac5e3607d0c02da789368c539613bf255dfe0512b9c7e696bf4de8730c2dd6fecb971837
 WHIRLPOOL 
3bdbbbd1e605b8db2463a0c79e461a619bba60308ff78abfbac9ac3087dd505330afcc1cfef543f34e4a759537e7cf95f6d9c374153933bb457732e71c327960

diff --git a/games-strategy/endless-sky/endless-sky-0.9.0.ebuild 
b/games-strategy/endless-sky/endless-sky-0.9.1.ebuild
similarity index 100%
rename from games-strategy/endless-sky/endless-sky-0.9.0.ebuild
rename to games-strategy/endless-sky/endless-sky-0.9.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/

2016-05-13 Thread Agostino Sarubbo
commit: 8d3f86f882ed0c8aff25845fdda955bc469d6f93
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May 13 08:38:17 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May 13 08:41:02 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d3f86f8

games-strategy/endless-sky: amd64 stable wrt bug #579654

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 games-strategy/endless-sky/endless-sky-0.8.11-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-strategy/endless-sky/endless-sky-0.8.11-r1.ebuild 
b/games-strategy/endless-sky/endless-sky-0.8.11-r1.ebuild
index 6090d29..ad2b519 100644
--- a/games-strategy/endless-sky/endless-sky-0.8.11-r1.ebuild
+++ b/games-strategy/endless-sky/endless-sky-0.8.11-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/endless-sky/endless-sky/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 RDEPEND="media-libs/glew
media-libs/libsdl2



[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/

2016-04-13 Thread Patrice Clement
commit: 76ac0efe4d6582c61b716f19fce67f601a11d750
Author: Marshall Brewer (Gentoo Key)  sina  cn>
AuthorDate: Wed Apr 13 20:02:37 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Apr 13 20:25:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76ac0efe

games-strategy/endless-sky: drop old (0.8.11)

Package-Manager: portage-2.2.28
RepoMan-Options: --ignore-arches
Closes: https://github.com/gentoo/gentoo/pull/1257

Signed-off-by: Patrice Clement  gentoo.org>

 .../endless-sky/endless-sky-0.8.11.ebuild  | 51 --
 1 file changed, 51 deletions(-)

diff --git a/games-strategy/endless-sky/endless-sky-0.8.11.ebuild 
b/games-strategy/endless-sky/endless-sky-0.8.11.ebuild
deleted file mode 100644
index fc98149..000
--- a/games-strategy/endless-sky/endless-sky-0.8.11.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils scons-utils
-
-DESCRIPTION="Space exploration, trading & combat game."
-HOMEPAGE="https://endless-sky.github.io;
-SRC_URI="https://github.com/endless-sky/endless-sky/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="media-libs/glew
-   media-libs/libsdl2
-   media-libs/libjpeg-turbo
-   media-libs/libpng:=
-   media-libs/openal
-   virtual/opengl"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-   sed -i 's/"-std=c++0x", "-O3", "-Wall"/"-std=c++0x", "-Wall"/' 
SConstruct || die
-   sed -i 's#env.Install("$DESTDIR$PREFIX/games", 
sky)#env.Install("$DESTDIR$PREFIX'"/bin"'", sky)#' SConstruct || die
-   myesconsargs=(
-   CC="$(tc-getCC)"
-   CXX="$(tc-getCXX)"
-   PREFIX="${D}usr/games/"
-   )
-}
-src_compile() {
-   escons
-}
-
-src_install() {
-   escons install
-}
-
-pkg_postinst() {
-   einfo "Endless Sky provides high-res sprites for high-dpi screens."
-   einfo "If you want to use them, download"
-   einfo
-   einfo "   https://github.com/endless-sky/endless-sky-high-dpi/releases;
-   einfo
-   einfo "and extract it to ~/.local/share/endless-sky/plugins/."
-   einfo
-   einfo "   Enjoy."
-}



[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/

2016-03-08 Thread Ian Delaney
commit: 6a62df6d50083405974e121a38351dfe5a59799b
Author: Matthew Brewer  sina  cn>
AuthorDate: Mon Mar  7 09:01:41 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Tue Mar  8 23:33:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a62df6d

games-strategy/endless-sky: revbump to 0.8.11-r1

- fix install path (so icon gets found by desktop menus)
- rephrase summary
- convert EAPI 5->6
- added ~x86

Package-Manager: portage-2.2.27
RepoMan-Options: --ignore-arches

 .../endless-sky/endless-sky-0.8.11-r1.ebuild   | 48 ++
 1 file changed, 48 insertions(+)

diff --git a/games-strategy/endless-sky/endless-sky-0.8.11-r1.ebuild 
b/games-strategy/endless-sky/endless-sky-0.8.11-r1.ebuild
new file mode 100644
index 000..6090d29
--- /dev/null
+++ b/games-strategy/endless-sky/endless-sky-0.8.11-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils scons-utils
+
+DESCRIPTION="Space exploration, trading & combat in the tradition of Terminal 
Velocity"
+HOMEPAGE="https://endless-sky.github.io;
+SRC_URI="https://github.com/endless-sky/endless-sky/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="media-libs/glew
+   media-libs/libsdl2
+   media-libs/libjpeg-turbo
+   media-libs/libpng:=
+   media-libs/openal
+   virtual/opengl"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+   sed -i 's/"-std=c++0x", "-O3", "-Wall"/"-std=c++0x", "-Wall"/' 
SConstruct || die
+   sed -i 's#env.Install("$DESTDIR$PREFIX/games", 
sky)#env.Install("$DESTDIR$PREFIX/bin", sky)#g' SConstruct || die
+   eapply_user
+}
+
+src_compile() {
+   escons
+}
+
+src_install() {
+   escons PREFIX="${D}/usr/" install
+}
+
+pkg_postinst() {
+   einfo "Endless Sky provides high-res sprites for high-dpi screens."
+   einfo "If you want to use them, download"
+   einfo
+   einfo "   https://github.com/endless-sky/endless-sky-high-dpi/releases;
+   einfo
+   einfo "and extract it to ~/.local/share/endless-sky/plugins/."
+   einfo
+   einfo "   Enjoy."
+}



[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/

2016-02-09 Thread Patrice Clement
commit: 8db03430b498b770ce0a34c6289b88068abca991
Author: Matthew Brewer  sina  cn>
AuthorDate: Tue Feb  9 19:38:48 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Feb  9 19:42:16 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8db03430

games-strategy/endless-sky: fix SRC_URI to point to upstream's repo

Fixes 574292 - Thanks coacher.

Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches

 games-strategy/endless-sky/endless-sky-0.8.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-strategy/endless-sky/endless-sky-0.8.11.ebuild 
b/games-strategy/endless-sky/endless-sky-0.8.11.ebuild
index 0a5c5d2..4f5ad86 100644
--- a/games-strategy/endless-sky/endless-sky-0.8.11.ebuild
+++ b/games-strategy/endless-sky/endless-sky-0.8.11.ebuild
@@ -8,7 +8,7 @@ inherit eutils scons-utils
 
 DESCRIPTION="Space exploration, trading & combat game in the tradition of 
Terminal Velocity."
 HOMEPAGE="https://endless-sky.github.io;
-SRC_URI="https://github.com/tomboy-64/endless-sky/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="https://github.com/endless-sky/endless-sky/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/

2016-02-09 Thread Patrice Clement
commit: 0302844f42620710ba337f6ce4ff27a4a767ca73
Author: Patrice Clement  gentoo  org>
AuthorDate: Tue Feb  9 18:41:44 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Feb  9 18:41:44 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0302844f

games-strategy/endless-sky: Fix DESCRIPTION length.

Package-Manager: portage-2.2.26
Signed-off-by: Patrice Clement  gentoo.org>

 games-strategy/endless-sky/endless-sky-0.8.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-strategy/endless-sky/endless-sky-0.8.11.ebuild 
b/games-strategy/endless-sky/endless-sky-0.8.11.ebuild
index 0a5c5d2..a18e5ff 100644
--- a/games-strategy/endless-sky/endless-sky-0.8.11.ebuild
+++ b/games-strategy/endless-sky/endless-sky-0.8.11.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 
 inherit eutils scons-utils
 
-DESCRIPTION="Space exploration, trading & combat game in the tradition of 
Terminal Velocity."
+DESCRIPTION="Space exploration, trading & combat game."
 HOMEPAGE="https://endless-sky.github.io;
 SRC_URI="https://github.com/tomboy-64/endless-sky/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 



[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/

2016-02-09 Thread Patrice Clement
commit: dfb673995c07b3e7caa217aa2b186ad88879d56c
Author: Matthew Brewer  sina  cn>
AuthorDate: Sat Feb  6 07:37:59 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Feb  7 10:54:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfb67399

games-strategy/endless-sky: new ebuild: endless-sky-0.8.11

Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches

 games-strategy/endless-sky/Manifest|  1 +
 .../endless-sky/endless-sky-0.8.11.ebuild  | 52 ++
 games-strategy/endless-sky/metadata.xml| 18 
 3 files changed, 71 insertions(+)

diff --git a/games-strategy/endless-sky/Manifest 
b/games-strategy/endless-sky/Manifest
new file mode 100644
index 000..a0fd473
--- /dev/null
+++ b/games-strategy/endless-sky/Manifest
@@ -0,0 +1 @@
+DIST endless-sky-0.8.11.tar.gz 42620910 SHA256 
8c399194b5d118274f43685b9992419538e5e6c6161621e5b06aef9ca74c4718 SHA512 
6f2d1fdae24a9f1f6b67cb806ae88c214ffe0827770b26f6e65da7afa823a6091e5ade7f492e8b52f761650de86b20ce497e6f03f0d9ab0a7791be456b0ea6d2
 WHIRLPOOL 
3691c2f982a8657388bb00c8eeb78791b404942aa0a3249b1821433646546b4c4b83fb2bb1bfe13c927911ef4ea88cce1add08f01e9b05b2dde8c96df123f55d

diff --git a/games-strategy/endless-sky/endless-sky-0.8.11.ebuild 
b/games-strategy/endless-sky/endless-sky-0.8.11.ebuild
new file mode 100644
index 000..334c372
--- /dev/null
+++ b/games-strategy/endless-sky/endless-sky-0.8.11.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils scons-utils
+
+DESCRIPTION="Space exploration, trading and combat game in the tradition of 
Terminal Velocity."
+HOMEPAGE="https://endless-sky.github.io;
+SRC_URI="https://github.com/tomboy-64/endless-sky/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="media-libs/glew
+   media-libs/libsdl2
+   media-libs/libjpeg-turbo
+   media-libs/libpng:=
+   media-libs/openal
+   virtual/opengl"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+   sed -i 's/"-std=c++0x", "-O3", "-Wall"/"-std=c++0x", "-Wall"/' 
SConstruct || die
+   sed -i 's#env.Install("$DESTDIR$PREFIX/games", 
sky)#env.Install("$DESTDIR$PREFIX'"/bin"'", sky)#' SConstruct || die
+   myesconsargs=(
+   CC="$(tc-getCC)"
+   CXX="$(tc-getCXX)"
+   PREFIX="${D}usr/games/"
+   )
+}
+src_compile() {
+   escons
+}
+
+src_install() {
+   escons install
+}
+
+pkg_postinst() {
+   einfo "Endless Sky provides high-res sprites for high-dpi screens."
+   einfo "If you want to use them, download"
+   einfo
+   einfo "   https://github.com/endless-sky/endless-sky-high-dpi/releases;
+   einfo
+   einfo "and extract it to ~/.local/share/endless-sky/plugins/."
+   einfo
+   einfo "   Enjoy."
+}

diff --git a/games-strategy/endless-sky/metadata.xml 
b/games-strategy/endless-sky/metadata.xml
new file mode 100644
index 000..b2639fd
--- /dev/null
+++ b/games-strategy/endless-sky/metadata.xml
@@ -0,0 +1,18 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   tombo...@sina.cn
+   
+   
+   ga...@gentoo.org
+   Gentoo Games
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   Explore other star systems. Earn money by trading, carrying 
passengers, or completing missions. Use your earnings to buy a better ship or 
to upgrade the weapons and engines on your current one. Blow up pirates. Take 
sides in a civil war. Or leave human space behind and hope to find some 
friendly aliens whose culture is more civilized than your own...
+   
+



[gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/

2016-02-09 Thread Ian Delaney
commit: 5eee5ff9fd14907d748f9ab96dd5d788c7771c96
Author: Ian Delaney  gentoo  org>
AuthorDate: Tue Feb  9 13:50:56 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Tue Feb  9 13:51:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5eee5ff9

games-strategy/endless-sky: add name to metadata.xml, rm empty var IUSE

Package-Manager: portage-2.2.26

 games-strategy/endless-sky/endless-sky-0.8.11.ebuild | 3 +--
 games-strategy/endless-sky/metadata.xml  | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-strategy/endless-sky/endless-sky-0.8.11.ebuild 
b/games-strategy/endless-sky/endless-sky-0.8.11.ebuild
index 334c372..0a5c5d2 100644
--- a/games-strategy/endless-sky/endless-sky-0.8.11.ebuild
+++ b/games-strategy/endless-sky/endless-sky-0.8.11.ebuild
@@ -6,14 +6,13 @@ EAPI=5
 
 inherit eutils scons-utils
 
-DESCRIPTION="Space exploration, trading and combat game in the tradition of 
Terminal Velocity."
+DESCRIPTION="Space exploration, trading & combat game in the tradition of 
Terminal Velocity."
 HOMEPAGE="https://endless-sky.github.io;
 SRC_URI="https://github.com/tomboy-64/endless-sky/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE=""
 
 RDEPEND="media-libs/glew
media-libs/libsdl2

diff --git a/games-strategy/endless-sky/metadata.xml 
b/games-strategy/endless-sky/metadata.xml
index b2639fd..4010925 100644
--- a/games-strategy/endless-sky/metadata.xml
+++ b/games-strategy/endless-sky/metadata.xml
@@ -3,6 +3,7 @@
 

tombo...@sina.cn
+Tommy Boy


ga...@gentoo.org