diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-board/cgoban | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-board/cgoban')
-rw-r--r-- | games-board/cgoban/Manifest | 4 | ||||
-rw-r--r-- | games-board/cgoban/cgoban-1.9.14-r2.ebuild | 41 | ||||
-rw-r--r-- | games-board/cgoban/files/cgoban-1.9.14-cflags.patch | 35 | ||||
-rw-r--r-- | games-board/cgoban/metadata.xml | 11 |
4 files changed, 91 insertions, 0 deletions
diff --git a/games-board/cgoban/Manifest b/games-board/cgoban/Manifest new file mode 100644 index 000000000000..c08e097d601f --- /dev/null +++ b/games-board/cgoban/Manifest @@ -0,0 +1,4 @@ +AUX cgoban-1.9.14-cflags.patch 1053 BLAKE2B c0eaaf1b08fedf89b8eb93e37665f6857b8de6421e4ca8c2c43b318ce7488b2334b88a4b07cecd754fdcb8b0e0bbcf9810fb620df05bf93417a8e0a2efd907be SHA512 fef74fd04ea9001e697f11e615705c45ee8660c905b9049debee88cf13e8657518cbbaba5a814a8874956c305c6c5c73592f62ad9a29389482f9c2bd04b120f7 +DIST cgoban-1.9.14.tar.gz 417691 BLAKE2B e6eb97b5368704f5c431b6439faf8a319a586f911843a906215cbfd2c271bad15b4cd9dd9cc28f5bc43b8f76e6d0b46c2e68cf7fd6a07d63fc9e286f48f7a246 SHA512 0a471845dbfb3029c2371ba91375aa19ca23591f355452d87eeef2ed56e948a60aedb21923658e74923f16b40ce00f5d74f40f44facf93695d20615b874b354c +EBUILD cgoban-1.9.14-r2.ebuild 720 BLAKE2B 99c7f601d3bba2b6964e8266c2181f007d213942faea501572c8b8fe45e0b0f946dc0cb7e9da5b358dcb9807a5138ea407945da9148e9e2c36ca027c94614df0 SHA512 567ae1af4358e2a0e9d2613bac734aec8b08e66a420b715bf29bb720f5cfbad5fd97308a24d8425e21a04a1d8de9404a72ab1da0d1394b836b93e0f4f036fd51 +MISC metadata.xml 330 BLAKE2B f44eb19307bc266f86ef6579284d24583a973b0885e45a9b146ff453c470aea6f6b3d9b4e3a6610075c3522f45ec56dc96f85eac6b1935e8781ecb4692015514 SHA512 70ecac92daf0c24d24deb6bd6ec575d74b078f0ccd9c88108b99b226ffc78d787786f4b39a7888f75f9373712a3f537c12ecf9bb412f76771aa62d004b95ce56 diff --git a/games-board/cgoban/cgoban-1.9.14-r2.ebuild b/games-board/cgoban/cgoban-1.9.14-r2.ebuild new file mode 100644 index 000000000000..ad2c9a790a3d --- /dev/null +++ b/games-board/cgoban/cgoban-1.9.14-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils autotools + +DESCRIPTION="A Go-frontend" +HOMEPAGE="http://cgoban1.sourceforge.net/" +SRC_URI="mirror://sourceforge/cgoban1/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + virtual/imagemagick-tools + x11-libs/libX11 + x11-libs/libXt" +DEPEND="${RDEPEND} + x11-base/xorg-proto" + +PATCHES=( + "${FILESDIR}"/${P}-cflags.patch +) + +src_prepare() { + # ${P}-cflags.patch patches configure.ac, not .in: + mv configure.{in,ac} || die + + default + + cp cgoban_icon.png ${PN}.png || die + eautoreconf +} + +src_install() { + default + doicon ${PN}.png + make_desktop_entry cgoban Cgoban +} diff --git a/games-board/cgoban/files/cgoban-1.9.14-cflags.patch b/games-board/cgoban/files/cgoban-1.9.14-cflags.patch new file mode 100644 index 000000000000..a496dbf0602d --- /dev/null +++ b/games-board/cgoban/files/cgoban-1.9.14-cflags.patch @@ -0,0 +1,35 @@ +--- a/configure.ac 2012-09-03 18:34:15.358122626 +0200 ++++ b/configure.ac 2012-09-03 18:35:30.279156534 +0200 +@@ -1,8 +1,9 @@ + #for autoconf 2.1x start configure script with next three lines + + AC_PREREQ(2.13) +-AC_INIT(src/cgoban.c) +-AM_INIT_AUTOMAKE(cgoban, 1.9.14) ++AC_INIT([cgoban], [1.9.14]) ++AC_CONFIG_SRCDIR([src/cgoban.c]) ++AM_INIT_AUTOMAKE([no-define]) + + #for autoconf 2.5x start configure script with next four lines + # AC_PREREQ(2.50) +--- a/configure.ac 2012-09-03 20:17:48.037549487 +0200 ++++ b/configure.ac 2012-09-03 20:18:00.267371203 +0200 +@@ -146,7 +146,7 @@ + ###################################################################### + + export VERSION +-AC_DEFINE_UNQUOTED(VERSION,$VERSION) ++AC_DEFINE_UNQUOTED(VERSION,["$VERSION"]) + AC_PREFIX_DEFAULT(/usr/games) + + dayNum=`echo $date | awk '{ print $1 }'` +--- a/configure.ac 2012-09-03 20:23:29.174470309 +0200 ++++ b/configure.ac 2012-09-03 20:23:51.895996955 +0200 +@@ -169,7 +169,6 @@ + AC_MINIX + AC_PROG_CPP + AC_EXEEXT +-WMS_GET_CFLAGS + + AM_CONFIG_HEADER(configure.h) + AC_SUBST(LIBS)dnl diff --git a/games-board/cgoban/metadata.xml b/games-board/cgoban/metadata.xml new file mode 100644 index 000000000000..2e2e621f06d2 --- /dev/null +++ b/games-board/cgoban/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">cgoban1</remote-id> + </upstream> +</pkgmetadata> |