mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
app-misc/golly: bump up to 3.3
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST golly-3.2-src.tar.gz 5261483 BLAKE2B c9a1c09c71bafcb624eab91c7b86d671bd0cec23041d5ada91972c363242a4bc0c55d699f45e9b732dd00d4f030818a51f9c1e4ccafed298e230d912d4d22235 SHA512 bff5bbe75c0914bfcd416101894f8be1fd644c147fb90e0ad2cf87b4472c132c5d50be1829345fae59038e3d2e106ac417c5bc3cbc5c7d3a32a03c241b7a8eca
|
||||
DIST golly-3.3-src.tar.gz 5465595 BLAKE2B e74da3799d1086a46fba523e6b087e6bc50c908098b27a80573936629fd5ad6195968df46b2933a9984cff85068222a80040761254298c5f648b040d5532a7ba SHA512 2aa9c2e7b2ebe3fe85bcb6177e58ee83bd08475e0a37a04cdb7e649b9faf5c2f936c534af62c8cf2322baade65c6e5197768901dfb464c17b20b941e1fa77265
|
||||
|
||||
55
app-misc/golly/golly-3.3.ebuild
Normal file
55
app-misc/golly/golly-3.3.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
WX_GTK_VER=3.0
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils flag-o-matic python-single-r1 gnome2-utils wxwidgets
|
||||
|
||||
DESCRIPTION="simulator for Conway's Game of Life and other cellular automata"
|
||||
HOMEPAGE="http://golly.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="tiff"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="virtual/opengl
|
||||
sys-libs/zlib
|
||||
x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,tiff?]"
|
||||
RDEPEND="${DEPEND}
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
S=${WORKDIR}/${P}-src
|
||||
|
||||
pkg_setup() {
|
||||
setup-wxwidgets
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ECONF_SOURCE=gui-wx/configure econf \
|
||||
--with-wxshared
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake docdir= DESTDIR="${D}" install
|
||||
dodoc docs/ReadMe.html
|
||||
newicon --size 32 gui-wx/icons/appicon.xpm ${PN}.xpm
|
||||
make_desktop_entry ${PN} "Golly" ${PN} "Science"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
Reference in New Issue
Block a user