/[gentoo-x86]/media-sound/schismtracker/schismtracker-20120105.ebuild
Gentoo

Contents of /media-sound/schismtracker/schismtracker-20120105.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Jun 8 11:56:57 2012 UTC (7 years, 7 months ago) by phajdan.jr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
x86 stable wrt bug #419131

(Portage version: 2.1.10.49/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/schismtracker/schismtracker-20120105.ebuild,v 1.3 2012/06/02 10:41:11 ago Exp $
4
5 EAPI=4
6 inherit eutils
7
8 DESCRIPTION="a free reimplementation of Impulse Tracker, a program used to create high quality music"
9 HOMEPAGE="http://eval.sovietrussia.org//wiki/Schism_Tracker"
10 SRC_URI="http://${PN}.org/dl/${P}.tar.bz2"
11
12 LICENSE="GPL-2 LGPL-2 public-domain"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE=""
16
17 RDEPEND="media-libs/alsa-lib
18 >=media-libs/libsdl-1.2[X]
19 x11-libs/libX11
20 x11-libs/libXext
21 x11-libs/libXv
22 x11-libs/libXxf86misc"
23 DEPEND="${RDEPEND}
24 virtual/os-headers
25 x11-proto/kbproto
26 x11-proto/xf86miscproto
27 x11-proto/xproto"
28
29 DOCS="AUTHORS NEWS README TODO"
30
31 src_prepare() {
32 default
33
34 # workaround for temporary files (missing directory). Fixes:
35 # sh ./scripts/build-font.sh . font/default-lower.fnt font/default-upper-alt.fnt font/default-upper-itf.fnt font/half-width.fnt >auto/default-font.c
36 # /bin/sh: auto/default-font.c: No such file or directory
37 mkdir auto
38
39 # sys-devel/binutils[multitarget] provides ${CHOST}-windres
40 # wine provides /usr/bin/windres
41 # and schismtracker fails to use it properly:
42 # sys/win32/schismres.rc:2:20: fatal error: winver.h: No such file or directory
43 [[ ${CHOST} = *mingw32* ]] || export WINDRES= ac_cv_prog_WINDRES= ac_cv_prog_ac_ct_WINDRES=
44 }
45
46 src_install() {
47 default
48
49 domenu sys/fd.org/*.desktop
50 doicon icons/schism{,-itf}-icon-128.png
51 }

  ViewVC Help
Powered by ViewVC 1.1.20