--- /dev/null
+DESCRIPTION = "Simple MPlayer frontend with lite Gnome integration"
+AUTHOR = "Kevin DeKorte <kdekorte@gmail.com>"
+HOMEPAGE = "http://code.google.com/p/gnome-mplayer/"
+SECTION = "x11/multimedia"
+LICENSE = "GPL"
+DEPENDS = "gtk+ gconf dbus-glib"
+RDEPENDS = "mplayer"
+
+inherit autotools pkgconfig gconf
+
+SRC_URI += "file://ac-gthread.patch;patch=1 \
+ file://1.patch;patch=1 \
+ file://uchar-for-utf8-check.patch;patch=1 \
+ file://non-utf8-id3-fallback.patch;patch=1"
-DESCRIPTION = "Simple MPlayer frontend with lite Gnome integration"
-HOMEPAGE = "http://dekorte.homeip.net/download/gnome-mplayer/"
-LICENSE = "GPL"
-DEPENDS = "gtk+ gconf dbus-glib"
-RDEPENDS = "mplayer"
-PR = "r3"
+require gnome-mplayer.inc
-inherit autotools pkgconfig gconf
-
-SRC_URI = "http://dekorte.homeip.net/download/${PN}/${P}.tar.gz \
- file://ac-gthread.patch;patch=1 \
- file://1.patch;patch=1 \
- file://uchar-for-utf8-check.patch;patch=1 \
- file://non-utf8-id3-fallback.patch;patch=1"
+PR = "r4"
+SRC_URI += "http://dekorte.homeip.net/download/${PN}/${P}.tar.gz"
-DESCRIPTION = "Simple MPlayer frontend with lite Gnome integration"
-HOMEPAGE = "http://dekorte.homeip.net/download/gnome-mplayer/"
-LICENSE = "GPL"
-DEPENDS = "gtk+ gconf dbus-glib"
-RDEPENDS = "mplayer"
+require gnome-mplayer.inc
+
SRCDATE = "20080101"
PV = "0.5.3+cvs${SRCDATE}"
-PR = "r5"
-
-inherit autotools pkgconfig gconf
+PR = "r6"
S = "${WORKDIR}/${PN}"
-SRC_URI = "cvs://anonymous@dekorte.homeip.net/data/cvs;module=${PN} \
- file://ac-gthread.patch;patch=1 \
- file://1.patch;patch=1 \
- file://uchar-for-utf8-check.patch;patch=1 \
- file://non-utf8-id3-fallback.patch;patch=1"
+SRC_URI += "cvs://anonymous@dekorte.homeip.net/data/cvs;module=${PN}"
do_install_append() {
sed -i "s/OnlyShowIn=GNOME;//" ${D}${datadir}/applications/gnome-mplayer.desktop