[gentoo-commits] repo/user/johnmh:master commit in: games-strategy/freeorion/

2016-10-15 Thread John Harris
commit: a19baf43c0dacc6437e3234f1e6c17906e9c71b5
Author: John M. Harris  openblox  org>
AuthorDate: Sun Oct 16 03:51:35 2016 +
Commit:     John Harris  openblox  org>
CommitDate: Sun Oct 16 03:51:35 2016 +
URL:https://gitweb.gentoo.org/repo/user/johnmh.git/commit/?id=a19baf43

games-strategy/freeorion: Update ebuild

 games-strategy/freeorion/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-strategy/freeorion/Manifest 
b/games-strategy/freeorion/Manifest
index 5abeee4..533743a 100644
--- a/games-strategy/freeorion/Manifest
+++ b/games-strategy/freeorion/Manifest
@@ -1,2 +1,2 @@
 DIST freeorion-0.4.6.tar.gz 145720274 SHA256 
3e3ff3a758c8a1ffa71773dff18faff2c792051bb5162758b5f5b8ea59e8e311 SHA512 
0488e36286358e8db2dcfe0cdae68e4638388fd2d4c627a258cdecf0afd57e9dbac03111f7683c3ef22edecbedd197a172d177400ddbb585a50f34804a50c50a
 WHIRLPOOL 
30d56a2ca76158168492aa0d1b3fe5a9f164afd7dc378128fe2796ce149a9d65a64cd10c41c5b6c1510773e9ead564dff452869e6c384d949cd0789a51198b6c
-EBUILD freeorion-0.4.6.ebuild 2250 SHA256 
1e3d7be89cc4b40f5b6c6b9dbbc5a097ba83bd2221d07d5f940a085670a3a74f SHA512 
75b426ca813fe3c4da4afd5ab179145e978af1b1d940c38f69d01720a11aaada8db97851a90d52b9ae30f45b3b591da2314ee622943004d76785aa33d3c318ab
 WHIRLPOOL 
cf189ab2436037a9fa8a4ec14fcfe75f6d34479d99499bcfdff7d02c885e2961de2db5d21ac0f4f0aa64b0dab2b7a93829b433568463a0117412d2e3fc262ac2
+EBUILD freeorion-0.4.6.ebuild 2229 SHA256 
81a2042cfc6943919aed4bf20c34ba9438238e7634d71e57617e8ef2ac392d19 SHA512 
9f4fc17d0b811278f1bd41a71bed0ae4ed8c9014d7e208aa7c3e299f1e2225d9f0f66d752f95aa9fde03042861db32f3024e2cf289529a01abec30ae6f4499e2
 WHIRLPOOL 
01abd20e0391ebcbea14f87e5a0a55ca79df608265147b8b53ee3c2d9a8d44edfdd7803f33dc1a4125e0032d9c83dcb2c073481b2c3c5bdb2f61c81e89c404fc



[gentoo-commits] repo/user/johnmh:master commit in: games-strategy/freeorion/

2016-10-15 Thread John Harris
commit: 2ce46a48d0f41b43eaa06bbf8d1cbda5878ef284
Author: John M. Harris  openblox  org>
AuthorDate: Sun Oct 16 03:50:26 2016 +
Commit:     John Harris  openblox  org>
CommitDate: Sun Oct 16 03:50:26 2016 +
URL:https://gitweb.gentoo.org/repo/user/johnmh.git/commit/?id=2ce46a48

games-strategy/freeorion: Update ebuild

 games-strategy/freeorion/freeorion-0.4.6.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/games-strategy/freeorion/freeorion-0.4.6.ebuild 
b/games-strategy/freeorion/freeorion-0.4.6.ebuild
index 1722cba..4dd558e 100644
--- a/games-strategy/freeorion/freeorion-0.4.6.ebuild
+++ b/games-strategy/freeorion/freeorion-0.4.6.ebuild
@@ -27,7 +27,6 @@ RDEPEND="
media-libs/libsdl[X,opengl,video]
media-libs/libvorbis
media-libs/openal
-   sci-physics/bullet
sys-libs/zlib
virtual/opengl"
 DEPEND="${RDEPEND}
@@ -86,7 +85,7 @@ src_install() {
dogameslib "${CMAKE_BUILD_DIR}"/libGiGi*.so || die
 
# other
-   dodoc "${CMAKE_USE_DIR}"/changelog.txt || die
+   dodoc "${CMAKE_USE_DIR}"/ChangeLog.md || die
newicon "${CMAKE_USE_DIR}"/default/data/art/icons/FO_Icon_32x32.png \
${PN}.png || die
make_desktop_entry ${PN} ${PN} ${PN}



[gentoo-commits] repo/user/johnmh:master commit in: games-strategy/freeorion/

2016-10-15 Thread John Harris
commit: 1892603a52508990eef3cbc768b2a215a26b619b
Author: John M. Harris  openblox  org>
AuthorDate: Sun Oct 16 03:02:01 2016 +
Commit:     John Harris  openblox  org>
CommitDate: Sun Oct 16 03:02:01 2016 +
URL:https://gitweb.gentoo.org/repo/user/johnmh.git/commit/?id=1892603a

games-strategy/freeorion: Update ebuild

Remove boost epatch

 games-strategy/freeorion/Manifest   | 2 +-
 games-strategy/freeorion/freeorion-0.4.6.ebuild | 5 -
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/games-strategy/freeorion/Manifest 
b/games-strategy/freeorion/Manifest
index c5ac6a7..5abeee4 100644
--- a/games-strategy/freeorion/Manifest
+++ b/games-strategy/freeorion/Manifest
@@ -1,2 +1,2 @@
 DIST freeorion-0.4.6.tar.gz 145720274 SHA256 
3e3ff3a758c8a1ffa71773dff18faff2c792051bb5162758b5f5b8ea59e8e311 SHA512 
0488e36286358e8db2dcfe0cdae68e4638388fd2d4c627a258cdecf0afd57e9dbac03111f7683c3ef22edecbedd197a172d177400ddbb585a50f34804a50c50a
 WHIRLPOOL 
30d56a2ca76158168492aa0d1b3fe5a9f164afd7dc378128fe2796ce149a9d65a64cd10c41c5b6c1510773e9ead564dff452869e6c384d949cd0789a51198b6c
-EBUILD freeorion-0.4.6.ebuild 2443 SHA256 
e7e06c17d02e185a8c7bf952b2cd8db4ecf3dbd95b2e4fe30db940dd813dbdd5 SHA512 
0800deeada52609a2a198b68a3b429b6859c8bcff284fdb326ccf0735e9f71ad06c2cd973b4ce5c0713454b247f7d0d274a3839fe19f81918693f16f9e449d12
 WHIRLPOOL 
dd8aa4c676ec27834a55bcbc9a1adf7486dc0c5012f6006b094119cd7f6c81bdb0d4013d724559c7b57e9d626e7a74ce1d0f863eb49e170d9ca094d83f0685fc
+EBUILD freeorion-0.4.6.ebuild 2250 SHA256 
1e3d7be89cc4b40f5b6c6b9dbbc5a097ba83bd2221d07d5f940a085670a3a74f SHA512 
75b426ca813fe3c4da4afd5ab179145e978af1b1d940c38f69d01720a11aaada8db97851a90d52b9ae30f45b3b591da2314ee622943004d76785aa33d3c318ab
 WHIRLPOOL 
cf189ab2436037a9fa8a4ec14fcfe75f6d34479d99499bcfdff7d02c885e2961de2db5d21ac0f4f0aa64b0dab2b7a93829b433568463a0117412d2e3fc262ac2

diff --git a/games-strategy/freeorion/freeorion-0.4.6.ebuild 
b/games-strategy/freeorion/freeorion-0.4.6.ebuild
index 096d918..1722cba 100644
--- a/games-strategy/freeorion/freeorion-0.4.6.ebuild
+++ b/games-strategy/freeorion/freeorion-0.4.6.ebuild
@@ -51,11 +51,6 @@ src_unpack() {
 src_prepare() {
# parse subdir sets -O3
sed -e "s:-O3::" -i parse/CMakeLists.txt
-   epatch "${FILESDIR}/${P}-boost-1.61.patch"
-
-   # For snapshots, the following can be used to the set revision
-   # for display in game -- update on bump!
-   # sed -i -e 's/???/8051/' CMakeLists.txt
 }
 
 src_configure() {



[gentoo-commits] repo/user/johnmh:master commit in: games-strategy/freeorion/

2016-10-15 Thread John Harris
commit: d8b675f682795fa1d964b5934044087fd511b37a
Author: John M. Harris  openblox  org>
AuthorDate: Sun Oct 16 02:50:03 2016 +
Commit:     John Harris  openblox  org>
CommitDate: Sun Oct 16 02:53:02 2016 +
URL:https://gitweb.gentoo.org/repo/user/johnmh.git/commit/?id=d8b675f6

games-strategy/freeorion: new ebuild

 games-strategy/freeorion/Manifest   |   2 +
 games-strategy/freeorion/freeorion-0.4.6.ebuild | 101 
 2 files changed, 103 insertions(+)

diff --git a/games-strategy/freeorion/Manifest 
b/games-strategy/freeorion/Manifest
new file mode 100644
index 000..c5ac6a7
--- /dev/null
+++ b/games-strategy/freeorion/Manifest
@@ -0,0 +1,2 @@
+DIST freeorion-0.4.6.tar.gz 145720274 SHA256 
3e3ff3a758c8a1ffa71773dff18faff2c792051bb5162758b5f5b8ea59e8e311 SHA512 
0488e36286358e8db2dcfe0cdae68e4638388fd2d4c627a258cdecf0afd57e9dbac03111f7683c3ef22edecbedd197a172d177400ddbb585a50f34804a50c50a
 WHIRLPOOL 
30d56a2ca76158168492aa0d1b3fe5a9f164afd7dc378128fe2796ce149a9d65a64cd10c41c5b6c1510773e9ead564dff452869e6c384d949cd0789a51198b6c
+EBUILD freeorion-0.4.6.ebuild 2443 SHA256 
e7e06c17d02e185a8c7bf952b2cd8db4ecf3dbd95b2e4fe30db940dd813dbdd5 SHA512 
0800deeada52609a2a198b68a3b429b6859c8bcff284fdb326ccf0735e9f71ad06c2cd973b4ce5c0713454b247f7d0d274a3839fe19f81918693f16f9e449d12
 WHIRLPOOL 
dd8aa4c676ec27834a55bcbc9a1adf7486dc0c5012f6006b094119cd7f6c81bdb0d4013d724559c7b57e9d626e7a74ce1d0f863eb49e170d9ca094d83f0685fc

diff --git a/games-strategy/freeorion/freeorion-0.4.6.ebuild 
b/games-strategy/freeorion/freeorion-0.4.6.ebuild
new file mode 100644
index 000..096d918
--- /dev/null
+++ b/games-strategy/freeorion/freeorion-0.4.6.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit cmake-utils python-any-r1 games
+
+DESCRIPTION="A free turn-based space empire and galactic conquest game"
+HOMEPAGE="http://www.freeorion.org;
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/FreeOrion_v0.4.6_2016-09-16.49f9123_Source.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1 CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="cg"
+
+# Needs it's own version of GG(dev-games/gigi) which it ships.
+# The split version dev-games/gigi is not used anymore as of 0.4.3
+RDEPEND="
+   !dev-games/gigi
+   media-libs/libsdl2
+   >=dev-libs/boost-1.47[python]
+   media-libs/freealut
+   media-libs/libogg
+   media-libs/libsdl[X,opengl,video]
+   media-libs/libvorbis
+   media-libs/openal
+   sci-physics/bullet
+   sys-libs/zlib
+   virtual/opengl"
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}
+   virtual/pkgconfig"
+
+CMAKE_USE_DIR="${S}"
+CMAKE_VERBOSE="1"
+
+pkg_setup() {
+   # build system is using FindPythonLibs.cmake which needs python:2
+   python-any-r1_pkg_setup
+   games_pkg_setup
+}
+
+src_unpack() {
+   default
+   mv src-tarball "${P}" || die
+   }
+
+src_prepare() {
+   # parse subdir sets -O3
+   sed -e "s:-O3::" -i parse/CMakeLists.txt
+   epatch "${FILESDIR}/${P}-boost-1.61.patch"
+
+   # For snapshots, the following can be used to the set revision
+   # for display in game -- update on bump!
+   # sed -i -e 's/???/8051/' CMakeLists.txt
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DRELEASE_COMPILE_FLAGS=""
+   -DCMAKE_SKIP_RPATH=ON
+   )
+
+   append-cppflags 
-DBOOST_OPTIONAL_CONFIG_USE_OLD_IMPLEMENTATION_OF_OPTIONAL
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   cmake-utils_src_compile
+}
+
+src_install() {
+   # data files
+   rm "${CMAKE_USE_DIR}"/default/COPYING || die
+   insinto "${GAMES_DATADIR}"/${PN}
+   doins -r "${CMAKE_USE_DIR}"/default || die
+
+   # bin
+   dogamesbin "${CMAKE_BUILD_DIR}"/${PN}{ca,d} || die
+   newgamesbin "${CMAKE_BUILD_DIR}"/${PN} ${PN}.bin || die
+   games_make_wrapper ${PN} \
+   "${GAMES_BINDIR}/${PN}.bin --resource-dir 
${GAMES_DATADIR}/${PN}/default" \
+   "${GAMES_DATADIR}/${PN}"
+
+   # lib
+   dogameslib "${CMAKE_BUILD_DIR}"/libfreeorion{common,parse}.so || die
+   dogameslib "${CMAKE_BUILD_DIR}"/libGiGi*.so || die
+
+   # other
+   dodoc "${CMAKE_USE_DIR}"/changelog.txt || die
+   newicon "${CMAKE_USE_DIR}"/default/data/art/icons/FO_Icon_32x32.png \
+   ${PN}.png || die
+   make_desktop_entry ${PN} ${PN} ${PN}
+
+   # permissions
+   prepgamesdirs
+}



[gentoo-commits] repo/user/johnmh:master commit in: dev-lang/terra/

2016-09-30 Thread John Harris
commit: b861fe71151895891fda496afca8214b32e3f720
Author: John M. Harris, Jr  openblox  org>
AuthorDate: Fri Sep 30 17:33:36 2016 +
Commit:     John Harris  openblox  org>
CommitDate: Fri Sep 30 17:33:36 2016 +
URL:https://gitweb.gentoo.org/repo/user/johnmh.git/commit/?id=b861fe71

dev-lang/terra: new ebuild

 dev-lang/terra/Manifest|  4 
 dev-lang/terra/metadata.xml| 11 +++
 dev-lang/terra/terra-2016.03.25.ebuild | 35 ++
 3 files changed, 50 insertions(+)

diff --git a/dev-lang/terra/Manifest b/dev-lang/terra/Manifest
new file mode 100644
index 000..6060504
--- /dev/null
+++ b/dev-lang/terra/Manifest
@@ -0,0 +1,4 @@
+DIST LuaJIT-2.0.4.tar.gz 847615 SHA256 
620fa4eb12375021bef6e4f237cbd2dd5d49e56beb414bee052c746beef1807d SHA512 
a72957bd85d8f457269e78bf08c19b28c5707df5d19920d61918f8a6913f55913ce13037fb9a6463c04cefde0c6644739f390e09d656e4bbc2c236927aa3f8f9
 WHIRLPOOL 
0d2b7d3dbede1e42afd820fb8b327f643282efd1549ae7288da82ed157ef34ac2ec6bee481ae3d02abdebb6528e42c12c4d6fa8e26774f1b59e17d3998e9f4c2
+DIST terra-2016.03.25.tar.gz 334636 SHA256 
d580f8d6ccf1f7982a12e9571b95919dfac109fbd48631401f028e4366e9453d SHA512 
ac523bbd764881f8158378f7ac82eda668e3b0b564679ae02d41dea4d6b37b26cc36af9a06b923d399340493964f0c301c196a56995420e49bc0bf2050f51851
 WHIRLPOOL 
e8347f69e949833a9078cae56f34b3b48702bbe06e2cf0edc2c2b976648b40b9e6f2394bdb75cc19343ff7fb1d48377210f3fde9e2481f0653fd39494b20d001
+EBUILD terra-2016.03.25.ebuild 727 SHA256 
05e48bd32a8a26af0291cf458c531f5511aa5781f3c1769c457881c953cc2107 SHA512 
3bd314322ce44c1dcc110a8c165fdae71e8c2b3235dffe40ebb438f841f1b5be343fa74927021d7502c68e2c6508f2beff1f4c095294249bee1d5e281d71f913
 WHIRLPOOL 
392d975136759ddf52f96570954bbd259e3bc5d5308bdf9bf3846c8ddcbea53c994fa56925baab08ac07469e8701f3b405db3f88f9c58f13f1f83d0a2afeb40e
+MISC metadata.xml 423 SHA256 
c2d1c064eff1094f7d6c497d0e0127ad52ae35ab8a6cf856ac008e9bdc6d1632 SHA512 
701ebe05bea678b5b34fc4c87bdc5dcc87c58411bce96c6f0fb1dacf7f29c6cfbcb9436abbe5abcbbbe636dfb71de032836c3692a0ff55e136746d7443bcf956
 WHIRLPOOL 
25b1efd85cd953cd1426de5fea5cfae45a09fcfce50b53da62a2399768ff8cebe2dd940eec702e3fcd5948657f22007b29ef8a7855be5dc36cbda7eee4e509cf

diff --git a/dev-lang/terra/metadata.xml b/dev-lang/terra/metadata.xml
new file mode 100644
index 000..7da3c11
--- /dev/null
+++ b/dev-lang/terra/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+   joh...@openblox.org
+   John M. Harris
+  
+  
+   Terra is a low-level system programming language that is embedded in 
and meta-programmed by the Lua programming language.
+  
+

diff --git a/dev-lang/terra/terra-2016.03.25.ebuild 
b/dev-lang/terra/terra-2016.03.25.ebuild
new file mode 100644
index 000..85d3257
--- /dev/null
+++ b/dev-lang/terra/terra-2016.03.25.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="A low-level counterpart to Lua"
+HOMEPAGE="http://terralang.org/;
+LUAJIT="LuaJIT-2.0.4.tar.gz"
+SRC_URI="https://github.com/zdevito/terra/archive/release-${PV//./-}.tar.gz -> 
${P}.tar.gz
+   http://luajit.org/download/${LUAJIT};
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+DEPEND="sys-devel/clang
+   dev-lang/luajit:2"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+   unpack "${P}.tar.gz"
+   mv "${PN}"-* "${S}" || die
+   ln -s "${DISTDIR}/${LUAJIT}" "${S}/build" || die
+}
+
+src_install() {
+   cd release || die
+   dobin terra
+   dolib.so libterra.so
+   dodoc README.md
+   cd include || die
+   doheader terra.h *.t
+}
\ No newline at end of file



[gentoo-commits] repo/user/johnmh: New branch: master

2016-09-28 Thread John Harris
commit: 
Commit: John Harris  openblox  org>
CommitDate: Wed Sep 28 20:50:32 2016 +

New branch: master