История изменений
Исправление Lavos, (текущая версия) :
Ага, понятно. Добавил 3 юза для включения/выключения gtk3/iconv/libsdl2:
# $Header: $
EAPI=2
inherit cmake-utils games
DESCRIPTION="INSTEAD quest engine"
HOMEPAGE="http://instead.sf.net/"
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gtk3 +iconv sdl2"
DEPEND="=dev-lang/lua-5.1*
sdl2? ( media-libs/libsdl2
media-libs/sdl2-mixer
media-libs/sdl2-image
media-libs/sdl2-ttf )
!sdl2? ( media-libs/libsdl
media-libs/sdl-mixer
media-libs/sdl-image
media-libs/sdl-ttf )
gtk3? ( x11-libs/gtk+:3 )
!gtk3? ( x11-libs/gtk+:2 )
iconv? ( virtual/libiconv )"
RDEPEND="${DEPEND}"
src_configure() {
mycmakeargs=(
-DCMAKE_INSTALL_PREFIX=""
-DBINDIR=${GAMES_BINDIR}
-DDATADIR=${GAMES_DATADIR}/${PN}
-DSHAREDIR=${GAMES_DATADIR}/${PN}
-DDOCDIR=${GAMES_DATADIR}/doc/${PN}
-DICONDIR=/usr/share/pixmaps
-DMANDIR=/usr/share/man
-DDESKTOPDIR=/usr/share/applications
$(cmake-utils_use_with gtk3 GTK3)
$(cmake-utils_use_with !gtk3 GTK2)
$(cmake-utils_use_with sdl2 SDL2)
$(cmake-utils_use_with iconv ICONV)
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
src_install() {
cmake-utils_src_install
}
Исходная версия Lavos, :
Ага, понятно. Добавил 3 юза для включения/выключения gtk3/iconv/libsdl2:
# $Header: $
EAPI=2
inherit cmake-utils games
DESCRIPTION="INSTEAD quest engine"
HOMEPAGE="http://instead.sf.net/"
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gtk3 +iconv sdl2"
DEPEND="=dev-lang/lua-5.1*
sdl2? ( media-libs/libsdl2
media-libs/sdl2-mixer
media-libs/sdl2-image
media-libs/sdl2-ttf )
!sdl2? ( media-libs/libsdl
media-libs/sdl-mixer
media-libs/sdl-image
media-libs/sdl-ttf )
gtk3? ( x11-libs/gtk+:3 )
!gtk3? ( x11-libs/gtk+:2 )
iconv? ( virtual/libiconv )"
RDEPEND="${DEPEND}"
src_configure() {
mycmakeargs=(
-DCMAKE_INSTALL_PREFIX=""
-DBINDIR=${GAMES_BINDIR}
-DDATADIR=${GAMES_DATADIR}/${PN}
-DSHAREDIR=${GAMES_DATADIR}/${PN}
-DDOCDIR=${GAMES_DATADIR}/doc/${PN}
-DICONDIR=/usr/share/pixmaps
-DMANDIR=/usr/share/man
-DDESKTOPDIR=/usr/share/applications
$(cmake-utils_use_with gtk3 GTK3)
$(cmake-utils_use_with !gtk3 GTK2)
$(cmake-utils_use_with sdl2 SDL2)
$(cmake-utils_use_with iconv ICONV)
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
src_install() {
cmake-utils_src_install
}