Skip to content

Commit

Permalink
games-arcade/stepmania: remove bundle & add sse2
Browse files Browse the repository at this point in the history
  • Loading branch information
biergaizi committed Apr 11, 2014
1 parent dafa3b6 commit 3784eb7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions games-arcade/stepmania/stepmania-5.9999.ebuild
Expand Up @@ -15,7 +15,7 @@ EGIT_REPO_URI="git://github.com/stepmania/stepmania.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug X gtk +jpeg +mad +vorbis +network +ffmpeg bundled-libs"
IUSE="debug X gtk +jpeg +mad +vorbis +network +ffmpeg sse2 bundled-libs"

DEPEND="gtk? ( x11-libs/gtk+:2 )
media-libs/alsa-lib
Expand All @@ -28,11 +28,11 @@ DEPEND="gtk? ( x11-libs/gtk+:2 )
x11-libs/libXrandr
media-libs/glew
virtual/opengl
!bundled-libs? ( dev-libs/libpcre )"
!bundled-libs? ( dev-libs/libpcre dev-libs/jsoncpp )"

remove_bundled_lib() {
local blib_prefix
blib_prefix="${S}/src"
blib_prefix="${S}/extern"
einfo "Removing bundled library $1 ..."
rm -rf "${blib_prefix}/$1" || die "Failed removing bundled library $1"
}
Expand Down Expand Up @@ -81,7 +81,7 @@ src_configure() {
myconf=""
if ! use bundled-libs; then
einfo "Disabling bundled libraries.."
myconf="${myconf} --with-system-pcre"
myconf="${myconf} --with-system-pcre --with-system-ffmpeg"
fi
egamesconf \
--disable-dependency-tracking \
Expand All @@ -95,6 +95,7 @@ src_configure() {
$(use_with vorbis) \
$(use_with network) \
$(use_with ffmpeg) \
$(use_with sse2) \
${myconf}
}

Expand Down

0 comments on commit 3784eb7

Please sign in to comment.