Commits

hasufell  committed 0bd81b6

[games-engines/freeablo] initial import

untested, don't have the game files

  • Participants
  • Parent commits d18ec65

Comments (0)

Files changed (2)

File games-engines/freeablo/Manifest

+DIST freeablo-0.1.tar.gz 165031 SHA256 b794a9d13c9800316b3c622bfff50bb158f69e33b288e5b2b2df6305841d1d22 SHA512 613afaa38069022ff79703efeb71850b76f7c9b8a47590cc8f2656268675d940b1e092b943070709074d4f3264eda473f8d7dd255c86d9e71188f9dd0d0b5a89 WHIRLPOOL 7c539e5d790711b13dacd06caf5565c579bdfceadb1e889e5f7f5e242a7c29426b3e46441f0f8e62f8fb06888ab037a6265567620d8b9c57c30bf29418c712b1
+EBUILD freeablo-0.1.ebuild 989 SHA256 c2af68e7aa5c92be7fc3bed93a2fd5d8b8531722d1ec98cb7e12ad44acf9e8bb SHA512 19a6a1ddd9379611ac2ad5dd571dbceebfeb97fb9c1d46f19623cf81f8dcc09afbf8126877081a1300b72f3d64b3ecd121e3cb413bb516aeda69d9c44bfbbcfc WHIRLPOOL a76890cf58927efda2bd506b57b9845ca1cbf7fe4ebd4a16fb16e1c32ce28cd3de43581fde1eb1581cb52b3353c697414311d274f8d4f2cf62f741e3ea27ee43

File games-engines/freeablo/freeablo-0.1.ebuild

+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit cmake-utils games
+
+DESCRIPTION="Modern reimplementation of the Diablo 1 game engine"
+HOMEPAGE="https://github.com/wheybags/freeablo"
+SRC_URI="https://github.com/wheybags/freeablo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="app-arch/bzip2
+	>=dev-games/stormlib-9.00
+	>=dev-libs/boost-1.53.0[threads]
+	media-libs/libsdl2
+	sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	sed -i \
+		-e '/extern\/StormLib\/src/d' \
+		-e '/add_subdirectory (extern)/d' \
+		CMakeLists.txt || die
+
+	sed -i \
+		-e 's/StormLib/storm/' \
+		CMakeLists.txt components/CMakeLists.txt || die
+}
+
+src_configure() {
+	cmake-utils_src_configure
+}
+
+src_compile() {
+	cmake-utils_src_compile
+}
+
+src_install() {
+	dogamesbin "${CMAKE_BUILD_DIR}"/freeablo
+	make_desktop_entry freeablo freeablo
+	dodoc readme.md
+	prepgamesdirs
+}