gnome-mplayer: Remove optional dependency on GNOME 2 nautilus. This replaces the 'gnome' option with a 'libnotify' option. Bump PKGREVISIONdiff -r1.72 -r1.73 pkgsrc/multimedia/gnome-mplayer/Makefile
(nia)
@@ -1,33 +1,34 @@ | @@ -1,33 +1,34 @@ | |||
1 | # $NetBSD: Makefile,v 1.72 2020/01/12 20:20:35 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.73 2020/01/17 14:16:26 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= gnome-mplayer-1.0.9 | 3 | DISTNAME= gnome-mplayer-1.0.9 | |
4 | PKGREVISION= 30 | 4 | PKGREVISION= 31 | |
5 | CATEGORIES= multimedia | 5 | CATEGORIES= multimedia | |
6 | MASTER_SITES= http://gnome-mplayer.googlecode.com/svn/packages/ | 6 | MASTER_SITES= http://gnome-mplayer.googlecode.com/svn/packages/ | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://code.google.com/archive/p/gnome-mplayer/ | 9 | HOMEPAGE= https://code.google.com/archive/p/gnome-mplayer/ | |
10 | COMMENT= GNOME Frontend for MPlayer | 10 | COMMENT= GNOME Frontend for MPlayer | |
11 | LICENSE= gnu-gpl-v2 | 11 | LICENSE= gnu-gpl-v2 | |
12 | 12 | |||
13 | DEPENDS+= mplayer-[0-9]*:../../multimedia/mplayer | 13 | DEPENDS+= mplayer-[0-9]*:../../multimedia/mplayer | |
14 | 14 | |||
15 | GNU_CONFIGURE= yes | 15 | GNU_CONFIGURE= yes | |
16 | USE_LIBTOOL= yes | 16 | USE_LIBTOOL= yes | |
17 | USE_PKGLOCALEDIR= yes | 17 | USE_PKGLOCALEDIR= yes | |
18 | USE_TOOLS+= gmake pkg-config msgfmt | 18 | USE_TOOLS+= gmake pkg-config msgfmt | |
19 | 19 | |||
20 | CONFIGURE_ARGS+= --disable-gtk3 | 20 | CONFIGURE_ARGS+= --disable-gtk3 | |
21 | CONFIGURE_ARGS+= --disable-nautilus | |||
21 | 22 | |||
22 | GCONF_SCHEMAS+= gnome-mplayer.schemas | 23 | GCONF_SCHEMAS+= gnome-mplayer.schemas | |
23 | 24 | |||
24 | .include "options.mk" | 25 | .include "options.mk" | |
25 | 26 | |||
26 | .include "../../devel/GConf/schemas.mk" | 27 | .include "../../devel/GConf/schemas.mk" | |
27 | .include "../../devel/glib2/buildlink3.mk" | 28 | .include "../../devel/glib2/buildlink3.mk" | |
28 | .include "../../devel/gmtk/buildlink3.mk" | 29 | .include "../../devel/gmtk/buildlink3.mk" | |
29 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | 30 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |
30 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | 31 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | |
31 | BUILDLINK_API_DEPENDS.dbus+= dbus>=0.95 | 32 | BUILDLINK_API_DEPENDS.dbus+= dbus>=0.95 | |
32 | .include "../../sysutils/dbus/buildlink3.mk" | 33 | .include "../../sysutils/dbus/buildlink3.mk" | |
33 | BUILDLINK_API_DEPENDS.dbus-glib+= dbus-glib>=0.70 | 34 | BUILDLINK_API_DEPENDS.dbus-glib+= dbus-glib>=0.70 |
@@ -1,16 +1,15 @@ | @@ -1,16 +1,15 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2012/04/13 13:04:20 obache Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2020/01/17 14:16:26 nia Exp $ | |
2 | bin/gnome-mplayer | 2 | bin/gnome-mplayer | |
3 | ${PLIST.nautilus}lib/nautilus/extensions-2.0/libgnome-mplayer-properties-page.so | |||
4 | man/man1/gnome-mplayer.1 | 3 | man/man1/gnome-mplayer.1 | |
5 | share/applications/gnome-mplayer.desktop | 4 | share/applications/gnome-mplayer.desktop | |
6 | share/doc/gnome-mplayer/AUTHORS | 5 | share/doc/gnome-mplayer/AUTHORS | |
7 | share/doc/gnome-mplayer/COPYING | 6 | share/doc/gnome-mplayer/COPYING | |
8 | share/doc/gnome-mplayer/ChangeLog | 7 | share/doc/gnome-mplayer/ChangeLog | |
9 | share/doc/gnome-mplayer/INSTALL | 8 | share/doc/gnome-mplayer/INSTALL | |
10 | share/doc/gnome-mplayer/NEWS | 9 | share/doc/gnome-mplayer/NEWS | |
11 | share/doc/gnome-mplayer/README | 10 | share/doc/gnome-mplayer/README | |
12 | share/doc/gnome-mplayer/dbus.txt | 11 | share/doc/gnome-mplayer/dbus.txt | |
13 | share/doc/gnome-mplayer/keyboard_shortcuts.txt | 12 | share/doc/gnome-mplayer/keyboard_shortcuts.txt | |
14 | share/doc/gnome-mplayer/plugin-interaction.txt | 13 | share/doc/gnome-mplayer/plugin-interaction.txt | |
15 | share/gconf/schemas/gnome-mplayer.schemas | 14 | share/gconf/schemas/gnome-mplayer.schemas | |
16 | share/gnome-control-center/default-apps/gnome-mplayer.xml | 15 | share/gnome-control-center/default-apps/gnome-mplayer.xml |
@@ -1,34 +1,30 @@ | @@ -1,34 +1,30 @@ | |||
1 | # $NetBSD: options.mk,v 1.6 2013/10/16 10:39:05 obache Exp $ | 1 | # $NetBSD: options.mk,v 1.7 2020/01/17 14:16:26 nia Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.gnome-mplayer | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.gnome-mplayer | |
4 | PKG_SUPPORTED_OPTIONS= gnome musicbrainz libgpod | 4 | PKG_SUPPORTED_OPTIONS= libnotify musicbrainz libgpod | |
5 | PKG_SUGGESTED_OPTIONS= gnome | 5 | PKG_SUGGESTED_OPTIONS= libnotify | |
6 | 6 | |||
7 | .include "../../mk/bsd.options.mk" | 7 | PKG_OPTIONS_LEGACY_OPTS+= gnome:libnotify | |
8 | 8 | |||
9 | PLIST_VARS+= nautilus | 9 | .include "../../mk/bsd.options.mk" | |
10 | 10 | |||
11 | # | 11 | # | |
12 | # Compile the nautilus plugin | 12 | # Add support for libnotify | |
13 | # | 13 | # | |
14 | .if !empty(PKG_OPTIONS:Mgnome) | 14 | .if !empty(PKG_OPTIONS:Mlibnotify) | |
15 | .include "../../sysutils/libnotify/buildlink3.mk" | 15 | .include "../../sysutils/libnotify/buildlink3.mk" | |
16 | .include "../../sysutils/nautilus/buildlink3.mk" | |||
17 | CONFIGURE_ARGS+= --enable-nautilus | |||
18 | CONFIGURE_ARGS+= --with-libnotify | 16 | CONFIGURE_ARGS+= --with-libnotify | |
19 | PLIST.nautilus= yes | |||
20 | .else | 17 | .else | |
21 | CONFIGURE_ARGS+= --disable-nautilus | |||
22 | CONFIGURE_ARGS+= --with-libnotify=no | 18 | CONFIGURE_ARGS+= --with-libnotify=no | |
23 | .endif | 19 | .endif | |
24 | 20 | |||
25 | # | 21 | # | |
26 | # Add support for libmusicbrainz3 | 22 | # Add support for libmusicbrainz3 | |
27 | # | 23 | # | |
28 | .if !empty(PKG_OPTIONS:Mmusicbrainz) | 24 | .if !empty(PKG_OPTIONS:Mmusicbrainz) | |
29 | .include "../../audio/libmusicbrainz/buildlink3.mk" | 25 | .include "../../audio/libmusicbrainz/buildlink3.mk" | |
30 | .include "../../www/curl/buildlink3.mk" | 26 | .include "../../www/curl/buildlink3.mk" | |
31 | CONFIGURE_ARGS+= --with-libmusicbrainz3 | 27 | CONFIGURE_ARGS+= --with-libmusicbrainz3 | |
32 | .else | 28 | .else | |
33 | CONFIGURE_ARGS+= --with-libmusicbrainz3=no | 29 | CONFIGURE_ARGS+= --with-libmusicbrainz3=no | |
34 | .endif | 30 | .endif |