You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.0 KiB
55 lines
1.0 KiB
5 years ago
|
# Copyright 1999-2020 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
WX_GTK_VER="3.0"
|
||
|
inherit cmake xdg-utils wxwidgets
|
||
|
|
||
|
DESCRIPTION="The official lobby client for SpringRTS community games"
|
||
|
HOMEPAGE="https://springlobby.springrts.com"
|
||
|
SRC_URI="https://springlobby.springrts.com/dl/stable/${P}.tar.bz2"
|
||
|
|
||
|
LICENSE="GPL-2+"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="debug +libnotify +nls +sound"
|
||
|
|
||
|
RDEPEND="
|
||
|
dev-libs/openssl:0=
|
||
|
net-misc/curl
|
||
|
sys-libs/zlib[minizip]
|
||
|
x11-libs/libICE
|
||
|
x11-libs/libSM
|
||
|
x11-libs/libXext
|
||
|
x11-libs/wxGTK:${WX_GTK_VER}[X]
|
||
|
libnotify? ( x11-libs/libnotify )
|
||
|
sound? (
|
||
|
media-libs/alure
|
||
|
media-libs/openal
|
||
|
)
|
||
|
"
|
||
|
|
||
|
DEPEND="${RDEPEND}"
|
||
|
|
||
|
BDEPEND="nls? ( sys-devel/gettext )"
|
||
|
|
||
|
src_configure() {
|
||
|
setup-wxwidgets
|
||
|
local mycmakeargs=(
|
||
|
-DOPTION_NOTIFY=$(usex libnotify)
|
||
|
-DOPTION_SOUND=$(usex sound)
|
||
|
-DOPTION_TRANSLATION_SUPPORT=$(usex nls)
|
||
|
-DAUX_VERSION="(Gentoo,${ARCH})"
|
||
|
)
|
||
|
cmake_src_configure
|
||
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
xdg_icon_cache_update
|
||
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
|
xdg_icon_cache_update
|
||
|
}
|