clanbomber-2.1.1.ebuild 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit autotools eutils games
  5. DESCRIPTION="Bomberman-like multiplayer game"
  6. HOMEPAGE="https://savannah.nongnu.org/projects/clanbomber/"
  7. SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.lzma"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="amd64 ~ppc x86"
  11. IUSE=""
  12. RDEPEND="media-libs/libsdl[sound,joystick,video]
  13. media-libs/sdl-image[png]
  14. media-libs/sdl-mixer
  15. media-libs/sdl-ttf
  16. media-libs/sdl-gfx
  17. dev-libs/boost
  18. media-fonts/dejavu"
  19. DEPEND="${RDEPEND}
  20. virtual/pkgconfig"
  21. DOCS=( AUTHORS ChangeLog ChangeLog.hg IDEAS NEWS QUOTES README TODO )
  22. src_prepare() {
  23. sed -i -e 's/menuentry//' src/Makefile.am || die
  24. epatch \
  25. "${FILESDIR}"/${P}-automake112.patch \
  26. "${FILESDIR}"/${P}-boost150.patch
  27. eautoreconf
  28. }
  29. src_install() {
  30. default
  31. newicon src/pics/cup2.png ${PN}.png
  32. make_desktop_entry ${PN}2 ClanBomber2
  33. rm -f "${D}${GAMES_DATADIR}"/${PN}/fonts/DejaVuSans-Bold.ttf
  34. dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \
  35. "${GAMES_DATADIR}"/${PN}/fonts/DejaVuSans-Bold.ttf
  36. prepgamesdirs
  37. }