diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-21 11:40:40 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-21 11:40:40 +0000 |
commit | bae478b64a6bc9eca66b65bcfa318fc21e7f34bb (patch) | |
tree | f713006fd9c119e5dbb3bdafe7d695d2644da94c /app-misc/golly | |
parent | 374561aeaff53ce5a2836af934749923b4ea3763 (diff) |
gentoo auto-resync : 21:01:2023 - 11:40:40
Diffstat (limited to 'app-misc/golly')
-rw-r--r-- | app-misc/golly/Manifest | 4 | ||||
-rw-r--r-- | app-misc/golly/golly-4.2.ebuild | 70 | ||||
-rw-r--r-- | app-misc/golly/metadata.xml | 5 |
3 files changed, 76 insertions, 3 deletions
diff --git a/app-misc/golly/Manifest b/app-misc/golly/Manifest index f6c5fb3a8187..808cecd8a6c8 100644 --- a/app-misc/golly/Manifest +++ b/app-misc/golly/Manifest @@ -1,6 +1,8 @@ AUX golly-4.0-CFLAGS.patch 686 BLAKE2B 1d82b951bee9f336931ad2589bae03bd8e52ac2f982294f18abd5297bc0d5cbd877ece2716736ce8dfcf044c823cb707d6ce8923177b3ab2bbf09a3d0e247b92 SHA512 b883702ed44bd8469255bbc43191bbf91da64ff0048d4cc3c7cc0c5103e01fe49f9017ad1723d041ab080dfa46b68f4bab0b9abd850b74b1803d5bcebb04c36a DIST golly-4.0-src.tar.gz 5579026 BLAKE2B fc6c9d4db80e92635ac466250ca65c5cbe496c668f2fbd583226a2ecd686ac022aa4d47f453628284bceeb16554b91340b442216eab8412506243e30085a3a32 SHA512 3a39e170ceddfa4f8c261a81f7b45039e9cc2aef901915d83d3227231514bf66e254d307802cb0afddd7458722b8cbf2ce527cb9ee84a2710b52bf5bdb15484d DIST golly-4.1-src.tar.gz 14877727 BLAKE2B d9cac1250901a39d6a360b527c6f4872fc78d0426ea255b9f9129136b938a6655ff59f8c5b0204fd44f4ac0ae76e307c763ddb24a1d8a00bd4e548e4ac2277c3 SHA512 bc050a216a36091f0df42e61a19c34353c6306dc1ae86c194693c85a4489b118435da238b25017bde4b3d31a79e12a6988f7b7da5ae90cfcc9ca0795e66d4a99 +DIST golly-4.2-src.tar.gz 15348982 BLAKE2B 21ebed4c282a77a3f61aafa98936c0bb39b39a7c97505e96fc43ac720bd2eea4cf20996ca28c801f79a46577a0cf99ff60614ce134081605d14ca5972c841d50 SHA512 b9f5cfdfe9b96590411695805dd8b875329c81027fef98dff3f16b832018be2ad3a06583bb64e12fb305268feba2347ef63c4586ff0e645721a8085f04ab382a EBUILD golly-4.0.ebuild 1390 BLAKE2B 496a39f47a65d993dca3fa57cd7f222ceb6809b350098fa013671e45fe81732c10b449bce2c1bd74791cab87681c1ec8e2c30bd7d1d7181849e6144afd6e904a SHA512 90ea77d4e1e502aaaa7daac1eabd1bc389716036e84bbbfcb57531318e08c461c89583e94eea8767cb491122223606bc6f9ed78a22c3d38335ae1da6c9f453b9 EBUILD golly-4.1-r1.ebuild 1411 BLAKE2B f5100628ebec553b0bb7c87f90d002216be68a758101c7336e378910f357494be97a73a67b0a027fc83efe2bfc0f3065dc1a26dfba935746a32f0b77f61b9057 SHA512 b90e1f02ed3d59e107ee412adc88ad3603c9083943314cf6cd60d01625cb85ad207acfc4153f2cfffc74a1e6621d4f124df4c6d2d62801a8822211a1c422756b -MISC metadata.xml 510 BLAKE2B e5c5d938e4500bde38e48ec132ac3fad49f700b49f43515f1595fbdf8e9f57075489869bc12e538bf1e886626d8cced9c8503e57b370e239bb178119b27a7f27 SHA512 b208332dc47ca3b8a52e6d28e1972cc9ffb662e2340f13dd239d7837802c0517c9608cb1b99e619c9b1fab3549fe39f183cdeeb3f4279540ea7548b220a409d0 +EBUILD golly-4.2.ebuild 1483 BLAKE2B 79fda1208f2faf64a68528c7a242fe876da664a11a3ac3b457fd1d3637643bdbce9f80e86e12b9fe9e002fc0422b637d0b6583eb07ac6fbd975c88b249508839 SHA512 cca01bf0da37c8a318f2fd756bba85666acec06398923b5fa436945ab3155eb9726d7c118679ddebb568e06707875207e6cef828d3797cdd90da5c31f922699f +MISC metadata.xml 571 BLAKE2B 64399eaf28ab52d39c1338758ca1abc2f67f195e4320b01d411d00fc3e434065d25cbab6c886dddfcd18611cef4d057c0b74c22c73e432ce1c3efb22e523164a SHA512 7ddf9bbb0cb55f5beb5377b2f0a7823e125195d0019f45dfd26c0868fe57c69913d11946de5060416856ac68bca863fd06a1a1128704a8fa53fd494df4b106e5 diff --git a/app-misc/golly/golly-4.2.ebuild b/app-misc/golly/golly-4.2.ebuild new file mode 100644 index 000000000000..2cdfc69578d6 --- /dev/null +++ b/app-misc/golly/golly-4.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +WX_GTK_VER=3.2-gtk3 +PYTHON_COMPAT=( python3_{9..11} ) + +inherit desktop python-single-r1 toolchain-funcs wxwidgets xdg + +DESCRIPTION="simulator for Conway's Game of Life and other cellular automata" +HOMEPAGE="http://golly.sourceforge.net/ + https://sourceforge.net/projects/golly/" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" +S="${WORKDIR}/${P}-src" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + sys-libs/zlib + virtual/opengl + x11-libs/wxGTK:${WX_GTK_VER}[X,curl,opengl,sdl,tiff] + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-4.0-CFLAGS.patch ) + +pkg_setup() { + python-single-r1_pkg_setup + setup-wxwidgets +} + +src_compile() { + local -a mymakeopts=( + ENABLE_SOUND=yes + GOLLYDIR="${EPREFIX}/usr/share/${PN}" + PYTHON=${EPYTHON} + WX_CONFIG=${WX_CONFIG} + AR="$(tc-getAR)" + CC="$(tc-getCC)" + CXX="$(tc-getCXX)" + CXXC="$(tc-getCXX)" + RANLIB="$(tc-getRANLIB)" + ) + emake -C gui-wx -f makefile-gtk "${mymakeopts[@]}" +} + +src_install() { + # Has no 'make install', let's install files manually. + exeinto /usr/bin + doexe golly bgolly + + insinto /usr/share/${PN} + doins -r Help Patterns Scripts Rules docs + + newicon --size 32 gui-wx/icons/appicon.xpm ${PN}.xpm + make_desktop_entry ${PN} "Golly" ${PN} "Science" +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/app-misc/golly/metadata.xml b/app-misc/golly/metadata.xml index 344716a3cf52..cd901ab7ee5a 100644 --- a/app-misc/golly/metadata.xml +++ b/app-misc/golly/metadata.xml @@ -7,10 +7,11 @@ <name>Maciej Barć</name> </maintainer> <longdescription> - Golly is an open source, cross-platform application for exploring - Conway's Game of Life and many other types of cellular automata. + Golly is an open source, cross-platform application for exploring Conway's + Game of Life and many other types of cellular automata. </longdescription> <upstream> + <doc>https://golly.sourceforge.net/Help/index.html</doc> <remote-id type="sourceforge">golly</remote-id> </upstream> </pkgmetadata> |