summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2016-09-26 04:12:25 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2016-09-26 04:12:25 +0300
commitb8b4c048f1022b5854b9fa4042579f770234d93d (patch)
tree69968ba32caff9fe9e1163ef918a2ee2118a4e49
parent96241869582e98f9a1dd8918c3dc59e377ea751c (diff)
springlobby-scm
-rw-r--r--[-rwxr-xr-x]games-util/springlobby/springlobby-scm.ebuild (renamed from games-util/springlobby/springlobby-0.226.ebuild)37
1 files changed, 14 insertions, 23 deletions
diff --git a/games-util/springlobby/springlobby-0.226.ebuild b/games-util/springlobby/springlobby-scm.ebuild
index c4b8f77..137dbcc 100755..100644
--- a/games-util/springlobby/springlobby-0.226.ebuild
+++ b/games-util/springlobby/springlobby-scm.ebuild
@@ -2,24 +2,25 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=3
-inherit cmake-utils eutils flag-o-matic games
+EAPI="5"
+EGIT_REPO_URI="git://github.com/springlobby/springlobby.git"
+EGIT_BRANCH="master"
-DESCRIPTION="lobby client for spring rts engine"
+inherit git-r3 cmake-utils eutils flag-o-matic games
+
+DESCRIPTION="lobby client for spring rts engine - git version"
HOMEPAGE="http://springlobby.info"
-SRC_URI="http://www.springlobby.info/tarballs/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS=""
RESTRICT="nomirror"
IUSE="+sound debug libnotify gstreamer"
-
RDEPEND="
- >=dev-libs/boost-1.35
- =x11-libs/wxGTK-2.9*
+ dev-libs/boost
+ x11-libs/wxGTK:3.0
net-misc/curl
libnotify? ( x11-libs/libnotify )
sound? (
@@ -35,30 +36,20 @@ RDEPEND="
DEPEND="${RDEPEND}
>=dev-util/cmake-2.6.0
"
-
src_unpack() {
- unpack ${A}
- cd ${S}
-# epatch "${FILESDIR}/${P}-wx-config.patch"
+ git-r3_src_unpack
}
+BUILD_DIR="${WORKDIR}/${P}_build"
src_configure() {
- local mycmakeargs=($mycmakeargs)
if ! use sound ; then
- mycmakeargs+=(
- -DOPTION_SOUND=OFF
- )
+ mycmakeargs="${mycmakeargs} -DOPTION_SOUND=OFF"
fi
if use gstreamer ; then
- mycmakeargs+=(
- -DGSTREAMER=ON
- )
+ mycmakeargs="${mycmakeargs} -DGSTREAMER=ON"
fi
- mycmakeargs+=(
- -DAUX_VERSION="(Gentoo,$ARCH)"
- -DCMAKE_INSTALL_PREFIX="/usr/games/"
- )
+ mycmakeargs="${mycmakeargs} -DAUX_VERSION=(Gentoo,$ARCH) -DCMAKE_INSTALL_PREFIX=/usr/games/"
cmake-utils_src_configure
}