diff options
Diffstat (limited to 'games-puzzle/gweled')
-rw-r--r-- | games-puzzle/gweled/Manifest | 1 | ||||
-rw-r--r-- | games-puzzle/gweled/files/gweled-0.9.1-gentoo.patch | 11 | ||||
-rw-r--r-- | games-puzzle/gweled/gweled-0.9.1-r1.ebuild | 39 | ||||
-rw-r--r-- | games-puzzle/gweled/metadata.xml | 8 |
4 files changed, 59 insertions, 0 deletions
diff --git a/games-puzzle/gweled/Manifest b/games-puzzle/gweled/Manifest new file mode 100644 index 000000000000..9e2dab59414e --- /dev/null +++ b/games-puzzle/gweled/Manifest @@ -0,0 +1 @@ +DIST gweled-0.9.1.tar.gz 403252 SHA256 f6064989040949659f5a970cf3a9dd280615df7ad67c014ac37e1466ce91055d SHA512 12ac6f0033e9af037febca3ecc86f7531491498a38cdc36d7baf113fecece75da4a5b83f6c6e8f4fc6beebb24d479eac10087baa9effec4966cfcfb6c42df75a WHIRLPOOL 26f42dcea3527b56e67da3092997fba39cb0e18d6c987d7948d97540b8e360782b91785215fa730ce616f39612c8ae76441202f973b0c684267f1d484a9b2ce0 diff --git a/games-puzzle/gweled/files/gweled-0.9.1-gentoo.patch b/games-puzzle/gweled/files/gweled-0.9.1-gentoo.patch new file mode 100644 index 000000000000..81a8cece8870 --- /dev/null +++ b/games-puzzle/gweled/files/gweled-0.9.1-gentoo.patch @@ -0,0 +1,11 @@ +--- configure.in.old 2014-06-03 09:21:52.868225743 +0200 ++++ configure.in 2014-06-03 09:22:06.604614448 +0200 +@@ -66,7 +66,7 @@ + *) AC_MSG_ERROR([bad value ${enableval} for --disable-setgid]) ;; + esac],[setgid=true;enable_setgid=yes]) + +-scoredir='${localstatedir}/games' ++scoredir='${localstatedir}/gweled' + scores_group=games + scores_user=games + diff --git a/games-puzzle/gweled/gweled-0.9.1-r1.ebuild b/games-puzzle/gweled/gweled-0.9.1-r1.ebuild new file mode 100644 index 000000000000..d94bb58c7618 --- /dev/null +++ b/games-puzzle/gweled/gweled-0.9.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit flag-o-matic autotools games + +DESCRIPTION="Bejeweled clone game" +HOMEPAGE="http://www.gweled.org/" +SRC_URI="http://launchpad.net/gweled/trunk/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + media-libs/libmikmod + gnome-base/librsvg:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + eautoreconf +} + +src_configure() { + filter-flags -fomit-frame-pointer + append-ldflags -Wl,--export-dynamic + egamesconf \ + --disable-setgid +} + +src_install() { + default + gamesowners -R "${D}/var/games/gweled" + prepgamesdirs +} diff --git a/games-puzzle/gweled/metadata.xml b/games-puzzle/gweled/metadata.xml new file mode 100644 index 000000000000..ca4a9ecfd3d7 --- /dev/null +++ b/games-puzzle/gweled/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <upstream> + <remote-id type="launchpad">gweled</remote-id> + </upstream> +</pkgmetadata> |