From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 00468138359 for ; Sun, 23 Aug 2020 20:53:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CBEEEE07F2; Sun, 23 Aug 2020 20:53:23 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B213BE07F2 for ; Sun, 23 Aug 2020 20:53:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 741EB335DED for ; Sun, 23 Aug 2020 20:53:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2AEB2EC for ; Sun, 23 Aug 2020 20:53:20 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1598215837.c947c0af699d8206b1a9a0d904de690ac13100a0.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-simulation/corsix-th/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-simulation/corsix-th/Manifest games-simulation/corsix-th/corsix-th-0.64.ebuild X-VCS-Directories: games-simulation/corsix-th/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c947c0af699d8206b1a9a0d904de690ac13100a0 X-VCS-Branch: master Date: Sun, 23 Aug 2020 20:53:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 471c0ec2-81d5-42be-9428-a3ec342c6bb4 X-Archives-Hash: 54e3a5423c33a625dd7d0b93faf194a5 commit: c947c0af699d8206b1a9a0d904de690ac13100a0 Author: Sam James gentoo org> AuthorDate: Sun Aug 23 20:41:15 2020 +0000 Commit: Sam James gentoo org> CommitDate: Sun Aug 23 20:50:37 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c947c0af games-simulation/corsix-th: bump to 0.64 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James gentoo.org> games-simulation/corsix-th/Manifest | 1 + games-simulation/corsix-th/corsix-th-0.64.ebuild | 67 ++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/games-simulation/corsix-th/Manifest b/games-simulation/corsix-th/Manifest index 6ae73ede0f5..ae594593e6f 100644 --- a/games-simulation/corsix-th/Manifest +++ b/games-simulation/corsix-th/Manifest @@ -1 +1,2 @@ DIST corsix-th-0.63.tar.gz 4040119 BLAKE2B a700264c21377d53fb031c57428e5a50bbef426f32a3cd8bc4f83174a7f12b76d72050885ae257a6017a03f2f9611106cf9226c606ef726c1220b997eacbc5f1 SHA512 73a170bbf3da0e11ffe30fcbafb80f9e3852ce992dd6ecae2a2da332b9d4927a98efb0208e2056918a4100db54d1bdc564454cadae370cfab87625ca3f9889fd +DIST corsix-th-0.64.tar.gz 4062048 BLAKE2B 2b807a5c712a19cac80bae613065dd8c9e1219573a3c288c1433b6fa857c3a93632e9c51ba126a70626b4044d469ca1ebc815257f291fa9f86ea94491aae35fe SHA512 c02d07ae4fb9a1ce008f32c4b9ea12a949316feddca4e2a29e860e0d88efdfa0440d372b00b9d3eda5e5c3ca739085510ebe8650790d06a7e91255b7d0990e6c diff --git a/games-simulation/corsix-th/corsix-th-0.64.ebuild b/games-simulation/corsix-th/corsix-th-0.64.ebuild new file mode 100644 index 00000000000..78a3d26cfd7 --- /dev/null +++ b/games-simulation/corsix-th/corsix-th-0.64.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake xdg + +MY_PN="CorsixTH" +MY_PV="$(ver_rs 2 -)" + +DESCRIPTION="Open source clone of Theme Hospital" +HOMEPAGE="http://corsixth.com" +SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc +midi +sound +truetype +videos" + +RDEPEND=" + >=dev-lang/lua-5.1:0 + >=dev-lua/luafilesystem-1.5 + >=dev-lua/lpeg-0.9 + >=dev-lua/luasocket-3.0_rc1-r4 + media-libs/libsdl2[opengl,video] + sound? ( media-libs/sdl2-mixer[midi?] ) + truetype? ( >=media-libs/freetype-2.5.3:2 ) + videos? ( >=media-video/ffmpeg-2.2.3:0= ) +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + virtual/pkgconfig + doc? ( + app-doc/doxygen[dot] + >=dev-lang/lua-5.1:0 + ) +" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +src_prepare() { + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWITH_AUDIO=$(usex sound) + -DWITH_FREETYPE2=$(usex truetype) + -DWITH_MOVIES=$(usex videos) + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + use doc && cmake_src_compile doc +} + +src_install() { + cmake_src_install + dodoc {changelog,CONTRIBUTING}.txt + + docinto html + use doc && dodoc -r "${BUILD_DIR}"/doc/* +}