diff options
Diffstat (limited to 'games-rpg/kqlives')
-rw-r--r-- | games-rpg/kqlives/Manifest | 1 | ||||
-rw-r--r-- | games-rpg/kqlives/kqlives-0.99-r100.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/games-rpg/kqlives/Manifest b/games-rpg/kqlives/Manifest index 9dcf7f2561fa..d3a89d42c7dc 100644 --- a/games-rpg/kqlives/Manifest +++ b/games-rpg/kqlives/Manifest @@ -3,5 +3,6 @@ AUX kqlives-0.99_dumb2.patch 551 BLAKE2B f903482f3256a2fdeb896ffa2641615dd685ccb AUX kqlives-0.99_gcc10.patch 490 BLAKE2B b9fa88b7faf79c39d7d027072759e992e70b55f31a169b0adf97c1116d4e20f920dafa649f0e45e14394505652c8897cc6e14c427a7c05a80ea8d07c398f03de SHA512 75cea1dbbc3f02e8ff724822c2ab8c398aebc9a98e99043642fc1ecfb14e74eac79534cf54e893f0fb2aef578b0028697b658536db2b0dc423664fae6f991bfb AUX kqlives.xpm 1404 BLAKE2B f2aae7268857f5c5e4e9a724a2b3a97a930741bf051bbd59cb6e36e4dabe09c29cc17d5b010c1c1ffb0cfaf9f2440e2350cca88adbea76d7429be176b74b6caf SHA512 32aeaa6e80c906f894773a12fa3bfdd2c52f15b11fe00bd99020d1577441a13573abb02a1fb0f11bb875fc1c61bfdc56285b805a5fd423d9ecc42ceb32eb8e66 DIST kq-0.99.tar.gz 3642143 BLAKE2B 7279d3ab2808caab77c08283cc6aaab84fcef3814c3c259528320d6516fa8937a62d033b899aaaca4b562affed113faab5fac443ed3487565796377092df0f90 SHA512 fa343561679baf2201fb7107153ca07b715c1e56c9a4cb17db0f04759dd859436e8daa6a364d62ad57d138dbb5d8c680e35cafecea1a8f7f217ec190bfdd7918 +EBUILD kqlives-0.99-r100.ebuild 1106 BLAKE2B 952491a15f2eaf1bf0fd316a4ca9eaa5eba936aaa34b66f4d305df8c882712b9eeef27d6118da91fc9aafe19c5607ea6582bc46e65b9ac87538f23dc2cbeabe5 SHA512 ccb55dde7d04731c47cd193995b32f9f5e4a99a8f85bcf8fa6e8db863ac2944fe5d6aefa4b472174c5e4998f4455f84738b6d7dcd20cd552689079d79ddf6e54 EBUILD kqlives-0.99-r2.ebuild 1039 BLAKE2B dad1b1949b94fe87ed286a0b0e6822b4cad4bdf202a67cf24c59f4c0cd82f2e39d576f524406c1cbe89fa96b8c26e2dc55bb168dcc78178003d99759a9aa875f SHA512 24d5fce808bef484563235ebe1430e26c25aa0bc628f92c8f711863aa1c346b0e97251b1fd05cc836d4a9e7486e8c59dfb6000a5649cbd3fa339905ec8b7fce4 MISC metadata.xml 409 BLAKE2B 9429ac5342781ed6109743d9b39da1e2094276c6464b7ad982cdbd5d30d8634400890edbb70abbd8c709b3a8c3def37e09a17d60df37e1ce8caeda41ff3869e7 SHA512 d341ddc4a801b649ae83022f3ea04480f59569b2cf91c106ace77735d1d7902fd10a739f41014c1928aae05f66643826390bdfc7917fbfa7106b3656a286edbc diff --git a/games-rpg/kqlives/kqlives-0.99-r100.ebuild b/games-rpg/kqlives/kqlives-0.99-r100.ebuild new file mode 100644 index 000000000000..30186ea2a594 --- /dev/null +++ b/games-rpg/kqlives/kqlives-0.99-r100.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-1 ) + +inherit autotools desktop lua-single + +MY_P=${P/lives} + +DESCRIPTION="A console-style role playing game" +HOMEPAGE="http://kqlives.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cheats nls" + +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND=" + ${LUA_DEPS} + >=gnome-base/libglade-2.4 + media-libs/allegro:0 + >=media-libs/dumb-2.0.3[allegro] + >=x11-libs/gtk+-2.8:2 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/${MY_P} + +PATCHES=( + "${FILESDIR}/${P}_autoconf.patch" # Fix #597790 + "${FILESDIR}/${P}_dumb2.patch" # >=media-libs/dumb-2.0.3 support + "${FILESDIR}/${P}_gcc10.patch" # Fix #661422 +) + +src_prepare() { + default + mv debian/{kq,${PN}}.6 || die + eautoreconf +} + +src_configure() { + econf \ + $(use_enable cheats) \ + $(use_enable nls) +} + +src_install() { + default + doicon "${FILESDIR}"/${PN}.xpm + make_desktop_entry ${PN} KqLives ${PN} +} |