public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/devilutionx/
Date: Mon,  2 Sep 2019 11:05:51 +0000 (UTC)	[thread overview]
Message-ID: <1567422205.3d49f7183d215e1eaf6328198b94b3585b136958.polynomial-c@gentoo> (raw)

commit:     3d49f7183d215e1eaf6328198b94b3585b136958
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  2 11:02:30 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Sep  2 11:03:25 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d49f718

games-engines/devilutionx: Initial commit

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 games-engines/devilutionx/devilutionx-9999.ebuild | 60 +++++++++++++++++++++++
 games-engines/devilutionx/metadata.xml            | 11 +++++
 2 files changed, 71 insertions(+)

diff --git a/games-engines/devilutionx/devilutionx-9999.ebuild b/games-engines/devilutionx/devilutionx-9999.ebuild
new file mode 100644
index 00000000000..3070232b106
--- /dev/null
+++ b/games-engines/devilutionx/devilutionx-9999.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils 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"
+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_prepare() {
+	# https://github.com/diasurgical/devilutionX/issues/225
+	eapply -R "${FILESDIR}"/${PN}-facebookincubator_find_libsodium.patch
+
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DBINARY_RELEASE=ON
+		-DDEBUG="$(usex debug)"
+	)
+	cmake-utils_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)."
+}

diff --git a/games-engines/devilutionx/metadata.xml b/games-engines/devilutionx/metadata.xml
new file mode 100644
index 00000000000..81aca5b1e55
--- /dev/null
+++ b/games-engines/devilutionx/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="person">
+    <email>polynomial-c@gentoo.org</email>
+    <name>Lars Wendler</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">diasurgical/devilutionX</remote-id>
+  </upstream>
+</pkgmetadata>


             reply	other threads:[~2019-09-02 11:05 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-02 11:05 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-01-01 11:59 [gentoo-commits] repo/gentoo:master commit in: games-engines/devilutionx/ Lars Wendler
2020-01-01 11:59 Lars Wendler
2020-01-02 11:49 Lars Wendler
2020-01-02 11:49 Lars Wendler
2020-01-02 11:49 Lars Wendler
2020-03-09  9:20 Lars Wendler
2020-03-23 15:22 Lars Wendler
2020-10-10 15:58 Lars Wendler
2020-10-10 15:58 Lars Wendler
2020-10-10 15:58 Lars Wendler
2020-10-11  7:24 Lars Wendler
2020-10-12 13:23 Lars Wendler
2020-10-12 13:23 Lars Wendler
2021-01-17 23:20 Lars Wendler
2021-02-22 13:00 Lars Wendler
2021-02-25 15:25 Lars Wendler
2021-03-31 15:47 Lars Wendler
2021-04-04  7:22 Sam James
2021-04-06  9:25 Lars Wendler
2021-04-06  9:25 Lars Wendler
2021-04-06  9:25 Lars Wendler
2021-04-06 10:25 Lars Wendler
2021-04-13  6:33 Lars Wendler
2021-09-17 19:56 Sam James
2021-09-17 19:56 Sam James
2022-06-29  8:08 Ionen Wolkens
2022-06-30  2:02 Ionen Wolkens
2022-06-30  2:02 Ionen Wolkens
2022-06-30  2:47 Ionen Wolkens
2022-07-03  4:22 Ionen Wolkens
2022-07-03  4:43 Ionen Wolkens
2022-07-25 23:20 Ionen Wolkens
2023-06-14 13:55 Ionen Wolkens
2023-07-14 21:32 Ionen Wolkens
2023-08-11  9:42 Ulrich Müller
2023-09-24  7:02 Ionen Wolkens
2023-10-10 20:20 Ionen Wolkens
2024-02-05  9:15 Ionen Wolkens
2024-02-22  6:16 Ionen Wolkens
2024-09-03 12:31 Ionen Wolkens
2024-11-04 16:15 Ionen Wolkens
2024-12-17 19:52 Ionen Wolkens
2024-12-17 19:52 Ionen Wolkens
2025-02-22  3:07 Ionen Wolkens
2025-02-26  8:47 Ionen Wolkens
2025-03-14  8:18 Ionen Wolkens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1567422205.3d49f7183d215e1eaf6328198b94b3585b136958.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox