diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-05-01 14:06:47 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-05-01 21:32:59 +0200 |
commit | 019feb57d3657d0b19335f8d4488da5d7c62486d (patch) | |
tree | 5d226e3697e50f620c222a6fea3aa4918bde8822 /games-puzzle/gweled | |
parent | games-puzzle/gtkballs: Drop old (diff) | |
download | gentoo-019feb57d3657d0b19335f8d4488da5d7c62486d.tar.gz gentoo-019feb57d3657d0b19335f8d4488da5d7c62486d.tar.bz2 gentoo-019feb57d3657d0b19335f8d4488da5d7c62486d.zip |
games-puzzle/gweled: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-puzzle/gweled')
-rw-r--r-- | games-puzzle/gweled/files/gweled-0.9.1-gentoo.patch | 4 | ||||
-rw-r--r-- | games-puzzle/gweled/gweled-0.9.1-r2.ebuild | 37 |
2 files changed, 39 insertions, 2 deletions
diff --git a/games-puzzle/gweled/files/gweled-0.9.1-gentoo.patch b/games-puzzle/gweled/files/gweled-0.9.1-gentoo.patch index 81a8cece8870..fa5857492da3 100644 --- a/games-puzzle/gweled/files/gweled-0.9.1-gentoo.patch +++ b/games-puzzle/gweled/files/gweled-0.9.1-gentoo.patch @@ -1,5 +1,5 @@ ---- configure.in.old 2014-06-03 09:21:52.868225743 +0200 -+++ configure.in 2014-06-03 09:22:06.604614448 +0200 +--- a/configure.in.old 2014-06-03 09:21:52.868225743 +0200 ++++ b/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]) diff --git a/games-puzzle/gweled/gweled-0.9.1-r2.ebuild b/games-puzzle/gweled/gweled-0.9.1-r2.ebuild new file mode 100644 index 000000000000..0f88623656e1 --- /dev/null +++ b/games-puzzle/gweled/gweled-0.9.1-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools flag-o-matic + +DESCRIPTION="Bejeweled clone game" +HOMEPAGE="http://www.gweled.org/" +SRC_URI="https://launchpad.net/gweled/trunk/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + x11-libs/gtk+:2 + media-libs/libmikmod + gnome-base/librsvg:2 +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + default + eapply "${FILESDIR}"/${P}-gentoo.patch + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + filter-flags -fomit-frame-pointer + append-ldflags -Wl,--export-dynamic + + econf --disable-setgid +} |