From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- games-board/ccgo/Manifest | 7 +++ games-board/ccgo/ccgo-0.3.6.5-r1.ebuild | 60 ++++++++++++++++++++++++++ games-board/ccgo/ccgo-0.3.6.5.ebuild | 54 +++++++++++++++++++++++ games-board/ccgo/files/ccgo-0.3.6.5-gcc4.patch | 12 ++++++ games-board/ccgo/metadata.xml | 8 ++++ 5 files changed, 141 insertions(+) create mode 100644 games-board/ccgo/Manifest create mode 100644 games-board/ccgo/ccgo-0.3.6.5-r1.ebuild create mode 100644 games-board/ccgo/ccgo-0.3.6.5.ebuild create mode 100644 games-board/ccgo/files/ccgo-0.3.6.5-gcc4.patch create mode 100644 games-board/ccgo/metadata.xml (limited to 'games-board/ccgo') diff --git a/games-board/ccgo/Manifest b/games-board/ccgo/Manifest new file mode 100644 index 000000000000..4071ae7870e2 --- /dev/null +++ b/games-board/ccgo/Manifest @@ -0,0 +1,7 @@ +AUX ccgo-0.3.6.5-gcc4.patch 204 SHA256 e440b45dd57a0a86c1b6c58f2c549415e941bf4385541322a69e210d71e215ff SHA512 86d8f663e3058076f63526217a15f4c8bdc70dc178d48b26a032c38b1bfe02cad4ce28de08889312cd769e39d927e427b14bbbf2631e3455a7e219fbf49ed95d WHIRLPOOL f52838a190a624eb86840d74a6b3532888dc1296157ea6061e11f5dd5489b3fe303ce1ecede80d08c94ed70274638d141be6c9f8828dafec4009bc69eb4bdd4a +DIST ccgo-0.3.6.5.tar.gz 639238 SHA256 d12be7fb9170d650ae78197983fac05af21ddbf47f7b1a2a14de9aa832ed602c SHA512 268c228eee9c42e49df333bfa0707e7b72c39731ccd64239e3c426958f6c17b65658db91bc7ab89548c4cc647ade791a7c67c30c410a5b3935c8fd3f326bf36b WHIRLPOOL 2baa70d05da8698a6115096800ccfd64dfb825c6b819fe9141141334eda53195632ae3dd5ee0031e1c145dbd9e697d6a5bdb8d9f40218c3653dda10d814e9f8d +EBUILD ccgo-0.3.6.5-r1.ebuild 1249 SHA256 bf7c5100dd9f62133ab55cc1a1999ed6b7ca1a84e07eabf116e0dd71ce77de3a SHA512 91551f132719a5b9995b12b5f6c8896ae120e0aedf01d68cdc7d9f454da2aa34f21a90a3d99366841e4e8129d4edd86ed85e2d37e02cdbaff99ee6092e48c788 WHIRLPOOL 80cecd3f30ef3ef4755ceea4401d4d312c945a34a00f3f87b5540f76694369d8824b333258a94c34a881e0a55fb74ce5e4c0d21513102e34b330f9fa6334d95b +EBUILD ccgo-0.3.6.5.ebuild 1264 SHA256 5f2ab9333914e7a358ee6ee5f169b3a6aac025d717b2299a86df000ac13fe903 SHA512 d8efe7846a0cacafa2ea40f868662b4a9af854528a6cf5cb357632d89676e41fec01c175f8310cc01e74294c22f73fb0ee111c5aafad3cb5df7fd23d67f2bcf0 WHIRLPOOL 4e2be069a18d26ff000f8b6e7271d21637dc138ec9a362fc3337619faa1db4dc8e0c1d4763dda03a84af1f9397b0170196effaeeaf6f2fea525029c47a9580f8 +MISC ChangeLog 3609 SHA256 c215cd3f33b22f9a5a61d3277d6c3d1dc3410f2f16f33d59a5972e11f7bae9ee SHA512 5670887aa4b6005dba01f664dea89b138371e05a3eb30ab89f4923241c8862d3680ebd7eab08205734694a61af5c756602e509e98d3b3086252f01932911d6bf WHIRLPOOL 877abb73ff3ac7ecbec63f32ce981e01d7e945323edc2f8dd30d5538eec3ac1fa933bfd02921c120c708a031a32a1ed327e793fdaf885053a699d227c3ccb111 +MISC ChangeLog-2015 1927 SHA256 33f4a057c97b760de7a25b694e9423031f33e467f9f2c200a1a9e41308d197b6 SHA512 679b6210e0c7548732bf330bbc674b20bdbb0497daf9b70a6ae40f009bbcf7475c8f2358f1312e09caf6c2b7cb43e0b19afc1ed877321a53cca5e268ad7a0b3b WHIRLPOOL bfb84bdb6767aaa6dd3e6661d9746946a6368bfcb4fd8efd73b83b9d7dade508d787ab2330b1defff1b955ebaa93a79c7202821ec279835c1242d7fcd459c1be +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-board/ccgo/ccgo-0.3.6.5-r1.ebuild b/games-board/ccgo/ccgo-0.3.6.5-r1.ebuild new file mode 100644 index 000000000000..3edfb70d7630 --- /dev/null +++ b/games-board/ccgo/ccgo-0.3.6.5-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils toolchain-funcs flag-o-matic + +DESCRIPTION="An IGS client written in C++" +HOMEPAGE="http://ccdw.org/~cjj/prog/ccgo/" +SRC_URI="http://ccdw.org/~cjj/prog/ccgo/src/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +RDEPEND=" + >=dev-cpp/gconfmm-2.6 + >=dev-cpp/gtkmm-2.4:2.4 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}"/${P}-gcc4.patch +) + +src_prepare() { + default + + sed -i \ + -e '/^Encoding/d' \ + -e '/^Categories/ { s/Application;//; s/$/GTK;/ }' \ + ccgo.desktop.in || die + + sed -i \ + -e '/^localedir/s/=.*/=@localedir@/' \ + -e '/^appicondir/s:=.*:=/usr/share/pixmaps:' \ + -e '/^desktopdir/s:=.*:=/usr/share/applications:' \ + Makefile.am || die + + # cargo cult from bug #569528 + append-cxxflags -std=c++11 -fpermissive + + find . -name '*.hh' -exec sed -i -e '/sigc++\/object.h/d' {} + || die + find . -name '*.cc' -exec sed -i -e 's/(bind(/(sigc::bind(/' {} + || die + + eautoreconf +} + +src_configure() { + econf \ + --localedir=/usr/share/locale \ + $(use_enable nls) +} + +src_compile() { + emake AR="$(tc-getAR)" +} diff --git a/games-board/ccgo/ccgo-0.3.6.5.ebuild b/games-board/ccgo/ccgo-0.3.6.5.ebuild new file mode 100644 index 000000000000..a90e312ccab2 --- /dev/null +++ b/games-board/ccgo/ccgo-0.3.6.5.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils toolchain-funcs flag-o-matic games + +DESCRIPTION="An IGS client written in C++" +HOMEPAGE="http://ccdw.org/~cjj/prog/ccgo/" +SRC_URI="http://ccdw.org/~cjj/prog/ccgo/src/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND=">=dev-cpp/gtkmm-2.4:2.4 + >=dev-cpp/gconfmm-2.6 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +src_prepare() { + sed -i \ + -e '/^Encoding/d' \ + -e '/^Categories/ { s/Application;//; s/$/GTK;/ }' \ + ccgo.desktop.in || die + sed -i \ + -e '/^localedir/s/=.*/=@localedir@/' \ + -e '/^appicondir/s:=.*:=/usr/share/pixmaps:' \ + -e '/^desktopdir/s:=.*:=/usr/share/applications:' \ + Makefile.am || die + # cargo cult from bug #569528 + append-cxxflags -std=c++11 -fpermissive + find . -name '*.hh' -exec sed -i -e '/sigc++\/object.h/d' {} + + find . -name '*.cc' -exec sed -i -e 's/(bind(/(sigc::bind(/' {} + + epatch "${FILESDIR}"/${P}-gcc4.patch + eautoreconf +} + +src_configure() { + egamesconf \ + --localedir=/usr/share/locale \ + $(use_enable nls) +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + default + prepgamesdirs +} diff --git a/games-board/ccgo/files/ccgo-0.3.6.5-gcc4.patch b/games-board/ccgo/files/ccgo-0.3.6.5-gcc4.patch new file mode 100644 index 000000000000..79f73863670a --- /dev/null +++ b/games-board/ccgo/files/ccgo-0.3.6.5-gcc4.patch @@ -0,0 +1,12 @@ +--- a/gtk/board.cc ++++ b/gtk/board.cc +@@ -20,9 +20,7 @@ + */ + + #include +-extern "C" { + #include +-} + #define _(String) Glib::locale_to_utf8(gettext(String)) + + #include diff --git a/games-board/ccgo/metadata.xml b/games-board/ccgo/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-board/ccgo/metadata.xml @@ -0,0 +1,8 @@ + + + + + games@gentoo.org + Gentoo Games Project + + -- cgit v1.2.3