Import gnome-mplayer-1.0.2 as multimedia/gnome-mplayer.

GNOME MPlayer is a GTK GUI for MPlayer based on the Gnome HIG.  However, the
code is not dependent on any Gnome library
This commit is contained in:
obache 2011-04-10 08:43:32 +00:00
parent c3b4cde292
commit d555c488de
6 changed files with 189 additions and 0 deletions

View file

@ -0,0 +1,2 @@
GNOME MPlayer is a GTK GUI for MPlayer based on the Gnome HIG. However, the
code is not dependent on any Gnome library

View file

@ -0,0 +1,35 @@
# $NetBSD: Makefile,v 1.1.1.1 2011/04/10 08:43:32 obache Exp $
#
DISTNAME= gnome-mplayer-1.0.2
CATEGORIES= multimedia
MASTER_SITES= http://gnome-mplayer.googlecode.com/files/
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://code.google.com/p/gnome-mplayer/
COMMENT= GNOME Frontend for MPlayer
LICENSE= gnu-gpl-v2
DEPENDS+= mplayer-[0-9]*:../../multimedia/mplayer
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= pkg-config msgfmt
GCONF_SCHEMAS+= gnome-mplayer.schemas
.include "options.mk"
.include "../../devel/GConf/schemas.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXScrnSaver/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,58 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/04/10 08:43:32 obache Exp $
bin/gnome-mplayer
${PLIST.nautilus}lib/nautilus/extensions-2.0/libgnome-mplayer-properties-page.so
man/man1/gnome-mplayer.1
share/applications/gnome-mplayer.desktop
share/doc/gnome-mplayer/AUTHORS
share/doc/gnome-mplayer/COPYING
share/doc/gnome-mplayer/ChangeLog
share/doc/gnome-mplayer/INSTALL
share/doc/gnome-mplayer/NEWS
share/doc/gnome-mplayer/README
share/doc/gnome-mplayer/dbus.txt
share/doc/gnome-mplayer/keyboard_shortcuts.txt
share/doc/gnome-mplayer/plugin-interaction.txt
share/gconf/schemas/gnome-mplayer.schemas
share/gnome-control-center/default-apps/gnome-mplayer.xml
share/icons/hicolor/16x16/apps/gnome-mplayer.png
share/icons/hicolor/22x22/apps/gnome-mplayer.png
share/icons/hicolor/24x24/apps/gnome-mplayer.png
share/icons/hicolor/32x32/apps/gnome-mplayer.png
share/icons/hicolor/48x48/apps/gnome-mplayer.png
share/icons/hicolor/scalable/apps/gnome-mplayer.svg
share/locale/ar/LC_MESSAGES/gnome-mplayer.mo
share/locale/bg/LC_MESSAGES/gnome-mplayer.mo
share/locale/ca/LC_MESSAGES/gnome-mplayer.mo
share/locale/cs/LC_MESSAGES/gnome-mplayer.mo
share/locale/da/LC_MESSAGES/gnome-mplayer.mo
share/locale/de/LC_MESSAGES/gnome-mplayer.mo
share/locale/el/LC_MESSAGES/gnome-mplayer.mo
share/locale/en_GB/LC_MESSAGES/gnome-mplayer.mo
share/locale/es/LC_MESSAGES/gnome-mplayer.mo
share/locale/et/LC_MESSAGES/gnome-mplayer.mo
share/locale/eu/LC_MESSAGES/gnome-mplayer.mo
share/locale/fi/LC_MESSAGES/gnome-mplayer.mo
share/locale/fo/LC_MESSAGES/gnome-mplayer.mo
share/locale/fr/LC_MESSAGES/gnome-mplayer.mo
share/locale/fy/LC_MESSAGES/gnome-mplayer.mo
share/locale/gl/LC_MESSAGES/gnome-mplayer.mo
share/locale/he/LC_MESSAGES/gnome-mplayer.mo
share/locale/hu/LC_MESSAGES/gnome-mplayer.mo
share/locale/it/LC_MESSAGES/gnome-mplayer.mo
share/locale/ja/LC_MESSAGES/gnome-mplayer.mo
share/locale/ko/LC_MESSAGES/gnome-mplayer.mo
share/locale/lt/LC_MESSAGES/gnome-mplayer.mo
share/locale/nl/LC_MESSAGES/gnome-mplayer.mo
share/locale/pl/LC_MESSAGES/gnome-mplayer.mo
share/locale/pt/LC_MESSAGES/gnome-mplayer.mo
share/locale/pt_BR/LC_MESSAGES/gnome-mplayer.mo
share/locale/ro/LC_MESSAGES/gnome-mplayer.mo
share/locale/ru/LC_MESSAGES/gnome-mplayer.mo
share/locale/sr/LC_MESSAGES/gnome-mplayer.mo
share/locale/sr@latin/LC_MESSAGES/gnome-mplayer.mo
share/locale/sv/LC_MESSAGES/gnome-mplayer.mo
share/locale/tr/LC_MESSAGES/gnome-mplayer.mo
share/locale/uk/LC_MESSAGES/gnome-mplayer.mo
share/locale/zh_CN/LC_MESSAGES/gnome-mplayer.mo
share/locale/zh_HK/LC_MESSAGES/gnome-mplayer.mo
share/locale/zh_TW/LC_MESSAGES/gnome-mplayer.mo

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1.1.1 2011/04/10 08:43:32 obache Exp $
SHA1 (gnome-mplayer-1.0.2.tar.gz) = b2b0edf10f5d8796f6c291725539cc997151b92b
RMD160 (gnome-mplayer-1.0.2.tar.gz) = ac12058012b2f9d53bc3f6397829bebc2cd7d46f
Size (gnome-mplayer-1.0.2.tar.gz) = 948288 bytes
SHA1 (patch-Makefile.in) = 5851a997e450e6228f252528040ff9e887d9e29f

View file

@ -0,0 +1,71 @@
# $NetBSD: options.mk,v 1.1.1.1 2011/04/10 08:43:32 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gnome-mplayer
PKG_SUPPORTED_OPTIONS= alsa gnome musicbrainz pulseaudio libgpod
PKG_SUGGESTED_OPTIONS= gnome musicbrainz pulseaudio
.include "../../mk/bsd.options.mk"
PLIST_VARS+= nautilus
#
# PulseAudio device and volume support
#
.if !empty(PKG_OPTIONS:Mpulseaudio)
.include "../../audio/pulseaudio/buildlink3.mk"
CONFIGURE_ARGS+= --with-pulseaudio=yes
.else
CONFIGURE_ARGS+= --with-pulseaudio=no
.endif
#
# Compile the nautilus plugin
# Use gnome-power-manager below 2.26 inhibit methods
# Send notifications of new media
#
.if !empty(PKG_OPTIONS:Mgnome)
DEPENDS+= gnome-power-manager-[0-9]*:../../sysutils/gnome-power-manager
.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../sysutils/nautilus/buildlink3.mk"
CONFIGURE_ARGS+= --enable-nautilus
CONFIGURE_ARGS+= --with-gpm-old-method
CONFIGURE_ARGS+= --with-gpm-new-method=no
CONFIGURE_ARGS+= --with-libnotify
PLIST.nautilus= yes
.else
CONFIGURE_ARGS+= --disable-nautilus
CONFIGURE_ARGS+= --with-gpm-old-method=no
CONFIGURE_ARGS+= --with-gpm-new-method=no
CONFIGURE_ARGS+= --with-libnotify=no
.endif
#
# Add support for libmusicbrainz3
#
.if !empty(PKG_OPTIONS:Mmusicbrainz)
.include "../../audio/libmusicbrainz/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
CONFIGURE_ARGS+= --with-libmusicbrainz3
.else
CONFIGURE_ARGS+= --with-libmusicbrainz3=no
.endif
#
# Read volume from alsa devices
#
.if !empty(PKG_OPTIONS:Malsa)
.include "../../audio/alsa-lib/buildlink3.mk"
CONFIGURE_ARGS+= --with-alsa
.else
CONFIGURE_ARGS+= --with-alsa=no
.endif
#
# Add support for libgpod
#
.if !empty(PKG_OPTIONS:Mlibgpod)
.include "../../audio/libgpod/buildlink3.mk"
CONFIGURE_ARGS+= --with-libgpod
.else
CONFIGURE_ARGS+= --with-libgpod=no
.endif

View file

@ -0,0 +1,17 @@
$NetBSD: patch-Makefile.in,v 1.1.1.1 2011/04/10 08:43:32 obache Exp $
Always install schema files (but not install-schemas).
--- Makefile.in.orig 2011-03-02 15:14:38.000000000 +0000
+++ Makefile.in
@@ -317,8 +317,8 @@ gnome_mplayerdoc_DATA = \
DOCS/tech/dbus.txt \
DOCS/tech/plugin-interaction.txt
-@GCONF_SCHEMAS_INSTALL_TRUE@schemadir = @GCONF_SCHEMA_FILE_DIR@
-@GCONF_SCHEMAS_INSTALL_TRUE@schema_DATA = gnome-mplayer.schemas
+schemadir = @GCONF_SCHEMA_FILE_DIR@
+schema_DATA = gnome-mplayer.schemas
desktopdir = ${prefix}/share/applications
desktop_DATA = gnome-mplayer.desktop
prefappdir = ${prefix}/share/gnome-control-center/default-apps