diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-strategy/dunelegacy |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-strategy/dunelegacy')
-rw-r--r-- | games-strategy/dunelegacy/Manifest | 7 | ||||
-rw-r--r-- | games-strategy/dunelegacy/dunelegacy-0.96.3.ebuild | 57 | ||||
-rw-r--r-- | games-strategy/dunelegacy/files/dunelegacy-0.96.3-build.patch | 60 | ||||
-rw-r--r-- | games-strategy/dunelegacy/metadata.xml | 25 |
4 files changed, 149 insertions, 0 deletions
diff --git a/games-strategy/dunelegacy/Manifest b/games-strategy/dunelegacy/Manifest new file mode 100644 index 000000000000..be330389f05d --- /dev/null +++ b/games-strategy/dunelegacy/Manifest @@ -0,0 +1,7 @@ +AUX dunelegacy-0.96.3-build.patch 1942 SHA256 3e95bdfbe3ec02b782dbc002f3ce22ff21536f124fb58faa470dccaea1f64230 SHA512 fa3ffaa26ba1d85bc65d646347ef9c725bfb4f8b7e78c3ca13429356def201bb255d31c6ec684ca99dd0928bf9a3b83af547a7cb865ba1c2475ce03401fa91bb WHIRLPOOL 48d8b5b62098f43088482b9e0d7285fe35431382e8ac8105a103622de8a4ca81f6c07bb8c75da02af2571da5d79140eecb68d9159b8adbbe9ca3762260cd4951 +DIST dunelegacy-0.96.3-no-autoreconf.patch.xz 8908 SHA256 fae291f43c01bcf6af437602738b506631a1f0aea2b680912ffb5e1280507975 SHA512 fc17c771a19611057b2990b76eda0eea08e011dcac455bdf7e26bba1f2e2aa6cec120f2dcbce488a2318553f9e58b4a2b5ea24c7e1e27ada9ec5740f2b66ca4c WHIRLPOOL 707abf066efbaafd95063aca23d1cdfdd6c5b01f16b5d0952b8cb4f765d08dcd0316c8876522c7bfdd476801dd1b0eab7aa0069ae0cd5bbe78118de50810d40c +DIST dunelegacy-0.96.3-src.tar.bz2 1652302 SHA256 677159c174d9f9e8eb20e5e5cec997decf8e5a7091dc1583dc23fe340c5f6222 SHA512 c84281b44bdac4eec360d90e2f23aa75468cf08c6edd6a5002c539e609312fd39e3284518ef5498201f2b0433d11cf2478cd13a2159af7c6bbef326e680fa241 WHIRLPOOL a90330135e74ee2875c18f8696aee9598cee07e185d6f7759f180d9934e5e063e0a5b449644e2744d8e480e9be35bb93277d71d0a021f3dccb0541540ef84439 +EBUILD dunelegacy-0.96.3.ebuild 1390 SHA256 85d634fb662e2d1b1399f872186b9d5553e937f04f00d294e2fca4d73252a775 SHA512 85114065f846036893f651361da3277a90f1a3a5989f3fa631c0b4b83a90237b485ccee6b72eac3453ed8112d5027c50d14192f8a650ecb1adc8c3cd242d446e WHIRLPOOL 36736afff565dce1c773abdd3c1bf9ce3ecb468a02a2ce39b30a635a36fd3b6b2d41d42c38217b796146ce9f795ea2f941f774d519791835c73d64517a0a04f5 +MISC ChangeLog 2616 SHA256 8b0e17a0320a7dc74f97cf7dbfefffb93dfb6f42ff6cb743316e469b30940209 SHA512 32d20d71a200e3252f16ca8c907178566a1fb0bdde3c74d73a89725e99682fc4c69977c5da107830935781cc7541c40cd0e28af6ccb0c62ccd2c7bd423d84c07 WHIRLPOOL 7437f5672a831508a1c0ca874267f86b412fbba1818dbc121b0586f1b2a6cdd9a43f8c319274ac59c5868b3d744ed2d16184712ce8ba082d5d68ecb2f5a58a75 +MISC ChangeLog-2015 2182 SHA256 078988f2c83c681a22d8ae7ec391a9d80a5ba8826bc318a467d440d47407ceaf SHA512 28e181c6e5755fee70f25b713c5b545582edf45cd39488beb1832c1eb6a6bc9256080b06515011f96626eed34306508ec9f263d2a4cf704cac13ff7c1b02bdfd WHIRLPOOL cd3a4835b25c38b0fc643836756201cf919fe739f76c7ba6195d0891a31d564fc5003e8ad5bc2823ea024bd2cbae158fc78e1d41cb98c6ea00308417fedd0c05 +MISC metadata.xml 1103 SHA256 c193643f33cf499c953608732ac76e221e14afdb0820f8948cd9216139fbe87c SHA512 de8920f2cb074e969cb3b8310bf2fb111c52c90a2675833fdefc895cafac79091cee0696b52a40065cd81289d80796cb0b0e40bd8db0e349ba92ec180091edcb WHIRLPOOL 3921a324432a2d40a596be656ee552e3da17ddc3edd6dfb3a5afe50103ff095992d294ea0a4a7361e2b487a0d2d433caab6d10800d1de3de9b68386818a9eeae diff --git a/games-strategy/dunelegacy/dunelegacy-0.96.3.ebuild b/games-strategy/dunelegacy/dunelegacy-0.96.3.ebuild new file mode 100644 index 000000000000..53ca22069a6f --- /dev/null +++ b/games-strategy/dunelegacy/dunelegacy-0.96.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# do not use autotools related stuff in stable ebuilds +# unless you like random breakage: 469796, 469798, 424041 + +EAPI=5 +inherit eutils gnome2-utils games # STABLE ARCH +#inherit autotools eutils gnome2-utils games # UNSTABLE ARCH + +DESCRIPTION="Updated clone of Westood Studios' Dune2" +HOMEPAGE="http://dunelegacy.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2" +SRC_URI="${SRC_URI} https://dev.gentoo.org/~hasufell/distfiles/${P}-no-autoreconf.patch.xz" # STABLE ARCH + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="+alsa pulseaudio" + +RDEPEND="media-libs/libsdl[X,alsa?,sound,pulseaudio?,video] + media-libs/sdl-mixer[midi,mp3,vorbis]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +# exits on start without libsdl[alsa] or libsdl[pulseaudio] +REQUIRED_USE="|| ( alsa pulseaudio )" + +src_prepare() { + epatch "${DISTDIR}"/${P}-no-autoreconf.patch.xz # STABLE ARCH +# epatch "${FILESDIR}"/${P}-build.patch # UNSTABLE ARCH +# eautoreconf # UNSTABLE ARCH +} + +src_install() { + default + + doicon -s scalable ${PN}.svg + doicon -s 48 ${PN}.png + make_desktop_entry ${PN} "Dune Legacy" + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-strategy/dunelegacy/files/dunelegacy-0.96.3-build.patch b/games-strategy/dunelegacy/files/dunelegacy-0.96.3-build.patch new file mode 100644 index 000000000000..93dd907738bc --- /dev/null +++ b/games-strategy/dunelegacy/files/dunelegacy-0.96.3-build.patch @@ -0,0 +1,60 @@ +Author: hasufell <hasufell@gentoo.org> +Date: Thu Aug 9 18:57:40 2012 +0200 + + respect flags + use pkg-config + use LDADD instead of LDFLAGS for libs + +--- configure.ac ++++ configure.ac +@@ -16,14 +16,6 @@ + + AC_SUBST(dunelegacydatadir) + +-dnl Some flags for gcc +-CXXFLAGS="-O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG" +-dnl Additional flags: -Wconversion -Wno-sign-conversion +- +-dnl Some flags for clang +-dnl CXXFLAGS="-O3 -pipe -pedantic -Weverything -Wno-sign-conversion -Wno-conversion -Wno-shadow -Wno-missing-noreturn -Wno-padded -Wno-packed -Wno-weak-vtables -Wno-c++11-narrowing -Wno-cast-align -Wno-unreachable-code -Wno-missing-prototypes -Wno-float-equal -Wno-global-constructors -Wno-exit-time-destructors -Wno-format-nonliteral -Wno-unused-macros -Wextra -Wno-unused-parameter" +- +- + dnl test for -ffp-contract=off (gcc >= 4.6) and use -mno-fused-madd instead + oldCFLAGS="$CFLAGS" + CFLAGS="-ffp-contract=off" +@@ -33,34 +25,14 @@ + ) + CFLAGS="$oldCFLAGS" + +-case "$target_cpu" in +-i*86) CXXFLAGS="$CXXFLAGS -mfpmath=sse -msse";; +-esac +- +-AC_ARG_ENABLE([debug], +- [AS_HELP_STRING([--enable-debug], +- [compile with debug information @<:@default=disabled@:>@])], +- [], +- []) +- +-if test "$enable_debug" = "yes" ; then +- CXXFLAGS="$CXXFLAGS -g" +-fi + + dnl Check for SDL library + SDL_VERSION=1.2.0 +-AM_PATH_SDL($SDL_VERSION, : , AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])) ++PKG_CHECK_MODULES([SDL], [sdl >= $SDL_VERSION SDL_mixer]) + CFLAGS="$CFLAGS $SDL_CFLAGS" + CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" + LIBS="$LIBS $SDL_LIBS" + +-dnl Check for SDL_mixer library. +-AC_CHECK_LIB(SDL_mixer, +- Mix_OpenAudio, +- LIBS="$LIBS -lSDL_mixer", +- AC_MSG_ERROR([*** SDL_mixer library not found!]) +-) +- + dnl enet defines + AC_CHECK_FUNC(gethostbyaddr_r, [AC_DEFINE(HAS_GETHOSTBYADDR_R)]) + AC_CHECK_FUNC(gethostbyname_r, [AC_DEFINE(HAS_GETHOSTBYNAME_R)]) diff --git a/games-strategy/dunelegacy/metadata.xml b/games-strategy/dunelegacy/metadata.xml new file mode 100644 index 000000000000..4dc56b2c71f1 --- /dev/null +++ b/games-strategy/dunelegacy/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <bugs-to>https://sourceforge.net/apps/mediawiki/dunelegacy/index.php?title=Development/Reporting_Bugs</bugs-to> + <remote-id type="sourceforge">dunelegacy</remote-id> + </upstream> + <longdescription lang="en"> + Dune Legacy is an effort by a handful of developers to revitalize + the first-ever real-time strategy game. The original game was the + basis for the hugely successful Command and Conquer series, and the + gameplay has been replicated an extended to a wide variety of + storylines and series. + + Lead one of three interplanetary houses, Atreides, Harkonnen or + Ordos, in an attempt to harvest the largest amount of spice from + the sand dunes. Exchange your spice stockpiles for credits through + refinement and build an army capable of thwarting attempts of the + other houses to stop your harvesting! + </longdescription> +</pkgmetadata> |