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 8EEEA138334 for ; Wed, 1 Jan 2020 11:59:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CEF4FE09B5; Wed, 1 Jan 2020 11:59:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 866D1E09B5 for ; Wed, 1 Jan 2020 11:59:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 5C91E34DE11 for ; Wed, 1 Jan 2020 11:59:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4236B17 for ; Wed, 1 Jan 2020 11:59:55 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1577879991.ff87f1648fae8dc64120e8558166d172a0ded747.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/devilutionx/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-engines/devilutionx/Manifest games-engines/devilutionx/devilutionx-1.0.0.ebuild X-VCS-Directories: games-engines/devilutionx/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: ff87f1648fae8dc64120e8558166d172a0ded747 X-VCS-Branch: master Date: Wed, 1 Jan 2020 11:59:55 +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: 4f6d9673-e144-4994-bea4-35b4080a8545 X-Archives-Hash: c36fabbd8d236a6b8e81f8255a9c4d1e commit: ff87f1648fae8dc64120e8558166d172a0ded747 Author: Lars Wendler gentoo org> AuthorDate: Wed Jan 1 11:59:10 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed Jan 1 11:59:51 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff87f164 games-engines/devilutionx: Bump to version 1.0.0 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Lars Wendler gentoo.org> games-engines/devilutionx/Manifest | 1 + games-engines/devilutionx/devilutionx-1.0.0.ebuild | 60 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/games-engines/devilutionx/Manifest b/games-engines/devilutionx/Manifest new file mode 100644 index 00000000000..dac3464a12f --- /dev/null +++ b/games-engines/devilutionx/Manifest @@ -0,0 +1 @@ +DIST devilutionx-1.0.0.tar.gz 1798349 BLAKE2B f2e49e92d8607974dce25ab4de589f01d5603cec4f96e10e55dbdd55b0352ce46d397c91290812dcd8faaa5794c3ab5b23b922098cab9e44dcaf6d049164f6ae SHA512 65eed32e03051880e2e859984911a76c6aae1853cb57491a04090026d6df9cdadf839a0dbb5433691ed1c83cfa7403c72fede38890d494ffd4eff6bef9030c37 diff --git a/games-engines/devilutionx/devilutionx-1.0.0.ebuild b/games-engines/devilutionx/devilutionx-1.0.0.ebuild new file mode 100644 index 00000000000..6d3bda7a2fb --- /dev/null +++ b/games-engines/devilutionx/devilutionx-1.0.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Sometimes build with ninja fails. +# Please check occasionally if we can revert back to ninja. +# Latest known issue: +# https://github.com/diasurgical/devilutionX/issues/490 +CMAKE_MAKEFILE_GENERATOR="emake" + +inherit cmake desktop + +DESCRIPTION="Diablo engine for modern operating systems" +HOMEPAGE="https://github.com/diasurgical/devilutionX" +if [[ "${PV}" == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/diasurgical/devilutionX.git" +else + SRC_URI="https://github.com/diasurgical/devilutionX/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/devilutionX-${PV}" +fi + +LICENSE="public-domain" +SLOT="0" + +IUSE="debug" + +RDEPEND=" + dev-libs/libsodium + media-libs/libsdl2[haptic] + media-libs/sdl2-mixer + media-libs/sdl2-ttf +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + -DBINARY_RELEASE=ON + -DDEBUG="$(usex debug)" + ) + cmake_src_configure +} + +src_install() { + dobin "${BUILD_DIR}/${PN}" + make_desktop_entry ${PN} "Diablo devolved" +} + +pkg_postinst() { + einfo "In order to play the game you need to install the file" + einfo " diabdat.mpq" + einfo "from the original game CD into the following directory:" + einfo " \${HOME}/.local/share/diasurgical/devilution/" + einfo "and make sure it's writeable (chmod u+w)." +}