diff options
-rw-r--r-- | meta-oe/recipes-multimedia/mplayer/mplayer-common.bb | 22 | ||||
-rw-r--r-- | meta-oe/recipes-multimedia/mplayer/mplayer-common/mplayer.conf | 15 |
2 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/mplayer/mplayer-common.bb b/meta-oe/recipes-multimedia/mplayer/mplayer-common.bb new file mode 100644 index 000000000..889bb9522 --- /dev/null +++ b/meta-oe/recipes-multimedia/mplayer/mplayer-common.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | # Copyright Matthias Hentges <devel@hentges.net> (c) 2006 | ||
2 | # License: MIT (see COPYING.MIT) | ||
3 | |||
4 | DESCRIPTION = "Preconfigured mplayer preferences" | ||
5 | |||
6 | LICENSE = "MIT" | ||
7 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
8 | |||
9 | PV = "0.0.1" | ||
10 | |||
11 | SRC_URI = "file://mplayer.conf" | ||
12 | |||
13 | # Yes, really /usr/etc!!! | ||
14 | do_install() { | ||
15 | install -d "${D}/usr${sysconfdir}/mplayer" | ||
16 | |||
17 | install -m 0644 ${WORKDIR}/mplayer.conf "${D}/usr${sysconfdir}/mplayer" | ||
18 | } | ||
19 | |||
20 | FILES_${PN} = "/usr${sysconfdir}/mplayer" | ||
21 | |||
22 | inherit allarch | ||
diff --git a/meta-oe/recipes-multimedia/mplayer/mplayer-common/mplayer.conf b/meta-oe/recipes-multimedia/mplayer/mplayer-common/mplayer.conf new file mode 100644 index 000000000..37ad65fa2 --- /dev/null +++ b/meta-oe/recipes-multimedia/mplayer/mplayer-common/mplayer.conf | |||
@@ -0,0 +1,15 @@ | |||
1 | |||
2 | # You probably shouldn't touch these | ||
3 | ac=mad, | ||
4 | ao=alsa, | ||
5 | |||
6 | # Required on SL-Cxxxx for correct rotation in the *VT*, | ||
7 | # breaks rotation in X! | ||
8 | # vf=rotate=1 | ||
9 | |||
10 | # Enable fullscreen display by default | ||
11 | # fs=true | ||
12 | |||
13 | # Drop frames to keep audio and video in sync | ||
14 | framedrop=true | ||
15 | |||