summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2016-01-13 01:34:09 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2016-01-13 01:34:09 -0500
commita1396d44cd994b3bd50139f461d1c3a68d1665b3 (patch)
tree8b70813552a0426191c2f2eb6c1d68b94e5f800a /games-strategy/widelands
parentgames-fps/doomsday: add slot dep for sys-libs/ncurses (diff)
downloadgentoo-a1396d44cd994b3bd50139f461d1c3a68d1665b3.tar.gz
gentoo-a1396d44cd994b3bd50139f461d1c3a68d1665b3.tar.bz2
gentoo-a1396d44cd994b3bd50139f461d1c3a68d1665b3.zip
games-strategy/widelands: add slot deps for dev-lang/lua and media-libs/libpng; tidy
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-strategy/widelands')
-rw-r--r--games-strategy/widelands/widelands-0.17.ebuild21
1 files changed, 3 insertions, 18 deletions
diff --git a/games-strategy/widelands/widelands-0.17.ebuild b/games-strategy/widelands/widelands-0.17.ebuild
index 9f32421c6dbb..c27274c02704 100644
--- a/games-strategy/widelands/widelands-0.17.ebuild
+++ b/games-strategy/widelands/widelands-0.17.ebuild
@@ -3,7 +3,7 @@
# $Id$
EAPI=5
-inherit eutils versionator toolchain-funcs flag-o-matic cmake-utils games
+inherit eutils versionator cmake-utils games
MY_PV=build$(get_version_component_range 2)
MY_P=${PN}-${MY_PV}-src
@@ -16,13 +16,13 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
-DEPEND="dev-lang/lua
+DEPEND="dev-lang/lua:0
media-libs/libsdl[video]
media-libs/sdl-image[jpeg,png]
media-libs/sdl-mixer[vorbis]
media-libs/sdl-gfx
media-libs/sdl-net
- media-libs/libpng
+ media-libs/libpng:0
sys-libs/zlib
media-libs/glew
media-libs/sdl-ttf
@@ -43,21 +43,6 @@ src_prepare() {
sed -i -e '74i#define OF(x) x' src/io/filesystem/{un,}zip.h || die
sed -i -e '22i#define OF(x) x' src/io/filesystem/ioapi.h || die
sed -i -e '/Boost_USE_STATIC_LIBS/s:ON:OFF:' CMakeLists.txt || die
-
- # how do I hate boost? Let me count the ways...
- local boost_ver=$(best_version ">=dev-libs/boost-1.37")
-
- boost_ver=${boost_ver/*boost-/}
- boost_ver=${boost_ver%.*}
- boost_ver=${boost_ver/./_}
-
- einfo "Using boost version ${boost_ver}"
- append-cxxflags \
- -I/usr/include/boost-${boost_ver}
- append-ldflags \
- -L/usr/$(get_libdir)/boost-${boost_ver}
- export BOOST_INCLUDEDIR="/usr/include/boost-${boost_ver}"
- export BOOST_LIBRARYDIR="/usr/$(get_libdir)/boost-${boost_ver}"
}
src_configure() {