mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
games-strategy/7k-ambition: add music
Signed-off-by: Tim Sviridov <Lt.Infiltrator@gmail.com>
This commit is contained in:
@@ -16,12 +16,16 @@ fi
|
||||
|
||||
DESCRIPTION="Seven Kingdoms: Ambition"
|
||||
HOMEPAGE="https://seven-kingdoms-ambition.sourceforge.io/"
|
||||
SRC_URI+=" https://sourceforge.net/projects/seven-kingdoms-ambition/files/${PN}.png/download -> ${PN}.png"
|
||||
SRC_URI+=" https://sourceforge.net/projects/seven-kingdoms-ambition/files/${PN}.png/download -> ${PN}.png
|
||||
music? ( https://www.7kfans.com/downloads/7kaa-music-2.15.tar.bz2 )
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
LICENSE="GPL-2
|
||||
music? ( 7k-music )"
|
||||
SLOT="0"
|
||||
IUSE="+nls +multiplayer +music"
|
||||
RESTRICT="music? ( bindist ) mirror"
|
||||
|
||||
IUSE="+nls +multiplayer"
|
||||
DEPEND="
|
||||
dev-libs/boost:=
|
||||
nls? ( <=sys-devel/gettext-0.22.5-r2 )
|
||||
@@ -34,6 +38,14 @@ DEPEND="
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
@@ -54,6 +66,13 @@ src_compile() {
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use music ; then
|
||||
insinto "usr/share/${PN}/"
|
||||
doins -r "${WORKDIR}/7kaa-music/MUSIC"
|
||||
|
||||
dodoc "${WORKDIR}/7kaa-music/README-Music.txt" "${WORKDIR}/7kaa-music/COPYING-Music.txt"
|
||||
fi
|
||||
|
||||
doicon "${DISTDIR}/${PN}.png"
|
||||
|
||||
make_desktop_entry ${PN} "Seven Kingdoms: Ambition" /usr/share/pixmaps/${PN}.png Game
|
||||
|
||||
@@ -16,12 +16,16 @@ fi
|
||||
|
||||
DESCRIPTION="Seven Kingdoms: Ambition"
|
||||
HOMEPAGE="https://seven-kingdoms-ambition.sourceforge.io/"
|
||||
SRC_URI+=" https://sourceforge.net/projects/seven-kingdoms-ambition/files/${PN}.png/download -> ${PN}.png"
|
||||
SRC_URI+=" https://sourceforge.net/projects/seven-kingdoms-ambition/files/${PN}.png/download -> ${PN}.png
|
||||
music? ( https://www.7kfans.com/downloads/7kaa-music-2.15.tar.bz2 )
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
LICENSE="GPL-2
|
||||
music? ( 7k-music )"
|
||||
SLOT="0"
|
||||
IUSE="+nls +multiplayer +music"
|
||||
RESTRICT="music? ( bindist ) mirror"
|
||||
|
||||
IUSE="+nls +multiplayer"
|
||||
DEPEND="
|
||||
dev-libs/boost:=
|
||||
nls? ( <=sys-devel/gettext-0.22.5-r2 )
|
||||
@@ -34,6 +38,14 @@ DEPEND="
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
@@ -54,6 +66,13 @@ src_compile() {
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use music ; then
|
||||
insinto "usr/share/${PN}/"
|
||||
doins -r "${WORKDIR}/7kaa-music/MUSIC"
|
||||
|
||||
dodoc "${WORKDIR}/7kaa-music/README-Music.txt" "${WORKDIR}/7kaa-music/COPYING-Music.txt"
|
||||
fi
|
||||
|
||||
doicon "${DISTDIR}/${PN}.png"
|
||||
|
||||
make_desktop_entry ${PN} "Seven Kingdoms: Ambition" /usr/share/pixmaps/${PN}.png Game
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST 7k-ambition-3.2.3.tar.gz 63133137 BLAKE2B fa34f9052cf438fcd3ba5b34e144dbc456598aaf92a901067539ec86bbd958471aa339e8938228ce3d022c33a63a8a117474aa2bb15283ea103047a7ff7b49cc SHA512 afc66da988d9faf57e73c5f4b35b928f532e79414dc91fb2a02b8a775ec3a0e608441e0e195925356a0c4e2c70d8b949085252fec5b716dfb940818be28b65ea
|
||||
DIST 7k-ambition.png 203178 BLAKE2B 1feaeab6a4538a278578bdbd195d3b809472008fa8d691d564a27d05da3adcc1125f0eafe42c45dd28c8719c62397dedac2f2bf31276430e0e42be246a98f7be SHA512 33a4ed08facceb626f2dc3ed99c0e05b0e3898d2a800878be55520acbfeb2f4d71dfc9bc927b18aa24fb2bef5678674065a79c08fc8a8b44ecafe28d901b5c28
|
||||
DIST 7kaa-music-2.15.tar.bz2 20050332 BLAKE2B e051ee3071d79316ab5a8d9dbcde5047c551e398da7f4f857c4eaf6f60ec6b66eafb892372e05c4db837238dc2777bdbe9b57079c938b072fda2a250e423f627 SHA512 e2c7ce14dc6e50581dca9769f03167e59e4be19aa559bfc2a7acd277f72c060935f3158edc735711ce971924b105e8df5984c2c40da8d6f484625e5ce94a7f73
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="multiplayer">Enable multiplayer.</flag>
|
||||
<flag name="music">
|
||||
Download and install the music too. It's great. Highly recommended.
|
||||
</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">Infiltrator/7k-ambition</remote-id>
|
||||
|
||||
Reference in New Issue
Block a user