New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
games-simulation/lincity-ng: bump version to 2.9_beta; EAPI=7 #11235
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST lincity-ng-2.0.tar.bz2 39475719 BLAKE2B 39992e6a2ef78e53eea1b0e347c968f6828089b5267e6d62dac7405ea91b182335431b1718ef9892b649b1437751959deb9fa407dfd899fd1dfca55145d059f2 SHA512 d85cd398145d1591f8640458c076f2a0b55713c39ede28b67d99adc7b76d38f09b58cd2ec84d9acac11bbaa794f6d97f6200f54efcdd4286315e6b3133284c55 | ||
DIST lincity-ng-2.9_beta.tar.gz 115799513 BLAKE2B 038c69172af9a62b35199823ef56200e170a8eafef2849bc6d8797bbc20ffa01656d05b1ba0725d4d33e217602f6695d3bdf2774b90b85c6e257e13e019bebcb SHA512 194b7389d7172b7987eda14cbbf2dd91aa503af36db9cf3bdf07ab6ae5e0068ac00988fec6068d65da6bdf14dee623bba57a58192e2a9659e741a7c9036e6d65 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Copyright 1999-2019 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit multiprocessing | ||
|
||
DESCRIPTION="City simulation game" | ||
HOMEPAGE="https://github.com/lincity-ng/lincity-ng" | ||
SRC_URI="https://github.com/lincity-ng/lincity-ng/archive/lincity-ng-${PV/_/-}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="GPL-2 BitstreamVera CC-BY-SA-2.0" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="" | ||
|
||
RDEPEND="dev-games/physfs | ||
dev-libs/libxml2:2 | ||
media-libs/libsdl[sound,joystick,opengl,video] | ||
media-libs/sdl-gfx | ||
media-libs/sdl-image[png] | ||
media-libs/sdl-mixer[vorbis] | ||
media-libs/sdl-ttf | ||
sys-libs/zlib | ||
virtual/opengl" | ||
DEPEND="${RDEPEND}" | ||
BDEPEND="dev-util/ftjam | ||
virtual/pkgconfig" | ||
|
||
S="${WORKDIR}/${PN}-${P/_/-}" | ||
|
||
src_prepare() { | ||
default | ||
sed -i "/COPYING COPYING-data.txt COPYING-fonts.txt CREDITS /d" \ | ||
Jamfile || die | ||
./autogen.sh || die | ||
} | ||
|
||
src_compile() { | ||
jam -q -dx -j $(makeopts_jobs) || die "jam failed" | ||
} | ||
|
||
src_install() { | ||
jam -sDESTDIR="${D}" \ | ||
-sappdocdir="${EPREFIX}/usr/share/doc/${PF}" \ | ||
-sapplicationsdir="${EPREFIX}/usr/share/applications" \ | ||
-spixmapsdir="${EPREFIX}/usr/share/pixmaps" \ | ||
install \ | ||
|| die "jam install failed" | ||
steils marked this conversation as resolved.
Show resolved
Hide resolved
|
||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't seen exactly what this autogen script does but you should use
eautoreconf
from autotools eclass if that works instead.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried. Unfortunately
eautoreconf
does not work here.autogen.sh
runs aclocal, autoheader, then generatesJamconfig.in
which is needed forconfigure
and then runs autoconf.Generating Jamconfig.in could be done in src_prepare by hand. But should it?