summaryrefslogtreecommitdiff
path: root/recipes/smpeg/smpeg_svn.bb
blob: 394270d71167092c78c533b23aac7410cee27008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
DESCRIPTION = "SMPEG is a general purpose MPEG video/audio \
player for Linux based on the mpeg_play and SPLAY MPEG decoders."
LICENSE = "LGPL"
SECTION = "libs/multimedia"
DEPENDS = "virtual/libsdl"
PROVIDES = "smpeg"
PV = "0.4.5+svnr${SRCPV}"
PE = "2"
SRCREV = "387"

SRC_URI = "svn://svn.icculus.org/smpeg/;module=trunk"

S = "${WORKDIR}/trunk"

inherit autotools binconfig

EXTRA_OECONF = "--disable-gtktest --disable-opengl-player --without-x \
		--without-gtk --disable-gtk-player"

do_configure_prepend () {
	touch NEWS AUTHORS ChangeLog
	# drop all .m4 which are available in staging
	rm -f acinclude/gtk-2.0.m4 \
	      acinclude/libtool.m4 \
	      acinclude/ltdl.m4 \
	      acinclude/ltoptions.m4 \
	      acinclude/ltsugar.m4 \
	      acinclude/ltversion.m4 \
	      acinclude/lt~obsolete.m4 \
	      acinclude/pkg.m4 \
	      acinclude/sdl.m4 \
	      aclocal.m4 \
	      acinclude.m4
}

do_install_prepend() {
    install -d ${STAGING_DATADIR}/aclocal
    install -m 0644 smpeg.m4 ${STAGING_DATADIR}/aclocal/smpeg.m4
}

PACKAGES =+ "plaympeg "
SECTION_plaympeg = "console/multimedia"
FILES_${PN} = "${libdir}"
FILES_plaympeg = "${bindir}/plaympeg"
FILES_${PN}-dev += "${bindir}"