1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Warcraft II data for wargus (needs DOS CD)"
9 HOMEPAGE="http://wargus.sourceforge.net/"
12 LICENSE="all-rights-reserved"
14 KEYWORDS="~amd64 ~x86"
17 # wargus is needed for wartool (bug #578340)
20 media-sound/cdparanoia
21 media-sound/timidity++
22 media-video/ffmpeg2theora"
29 export CDROM_NAME="WARCRAFT2"
30 cdrom_get_cds data/rezdat.war
34 # cdparanoia needs write acces to the cdrom device
35 # this fixes sandbox violation wrt #418051
36 local save_sandbox_write=${SANDBOX_WRITE}
38 "${EPREFIX}"/usr/bin/wartool -v -r "${CDROM_ROOT}"/data "${S}"/ || die
39 SANDBOX_WRITE=${save_sandbox_write}
43 insinto /usr/share/stratagus/wargus