git: 37c464210639 - main - multimedia/ogmrip: remove GTK2 option

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 08 Jun 2022 20:34:48 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=37c46421063926feaded1190a868c2cae4bb2a79

commit 37c46421063926feaded1190a868c2cae4bb2a79
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-06-08 20:30:27 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-06-08 20:34:43 +0000

    multimedia/ogmrip: remove GTK2 option
    
    Remove gtk2 option which drags in gconf2 and other deprecated gnome2
    libraries
---
 multimedia/ogmrip/Makefile  | 13 ++++--------
 multimedia/ogmrip/pkg-plist | 49 ---------------------------------------------
 2 files changed, 4 insertions(+), 58 deletions(-)

diff --git a/multimedia/ogmrip/Makefile b/multimedia/ogmrip/Makefile
index e21ad9112ee6..e3c5097a83e6 100644
--- a/multimedia/ogmrip/Makefile
+++ b/multimedia/ogmrip/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	ogmrip
 PORTVERSION=	1.0.1
-PORTREVISION=	13
+PORTREVISION=	14
 CATEGORIES=	multimedia
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}
 
@@ -27,24 +27,19 @@ RUN_DEPENDS=	lame:audio/lame \
 USES=		desktop-file-utils gmake gnome libtool localbase:ldflags \
 		pathfix pkgconfig
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-gtk-support --disable-dbus-support \
+		--disable-libnotify-support
 USE_GNOME=	glib20 intlhack libxml2
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=	GTK2 ENCHANT MATROSKA NLS THEORA FAAC SRT DEBUG
-OPTIONS_DEFAULT=GTK2
+OPTIONS_DEFINE=	ENCHANT MATROSKA NLS THEORA FAAC SRT DEBUG
 OPTIONS_SUB=	yes
 ENCHANT_DESC=	Enable spell checking for text subtitles
 MATROSKA_DESC=	Enable Matroska container support
 THEORA_DESC=	Enable Ogg Theora video codec support
 SRT_DESC=	Enable SRT text subtitles support
 
-GTK2_CONFIGURE_ENABLE=	gtk-support dbus-support libnotify-support
-GTK2_LIB_DEPENDS=	libdbus-glib-1.so:devel/dbus-glib \
-			libnotify.so:devel/libnotify
-GTK2_USE=		GNOME=gconf2,libglade2
-GTK2_VARS=		GCONF_SCHEMAS=ogmrip.schemas
-
 ENCHANT_CONFIGURE_ENABLE=enchant-support
 ENCHANT_LIB_DEPENDS=	libenchant.so:textproc/enchant
 
diff --git a/multimedia/ogmrip/pkg-plist b/multimedia/ogmrip/pkg-plist
index 6e9b1dd24155..aefec29fbff3 100644
--- a/multimedia/ogmrip/pkg-plist
+++ b/multimedia/ogmrip/pkg-plist
@@ -1,30 +1,20 @@
 bin/avibox
 bin/dvdcpy
-%%GTK2%%bin/ogmrip
 %%SRT%%bin/subp2pgm
 %%SRT%%bin/subp2png
 %%SRT%%bin/subp2tiff
 %%SRT%%bin/subptools
 %%THEORA%%bin/theoraenc
 include/ogmdvd/ogmdvd-audio.h
-%%GTK2%%include/ogmdvd/ogmdvd-cell-renderer-language.h
-%%GTK2%%include/ogmdvd/ogmdvd-chapter-list.h
 include/ogmdvd/ogmdvd-disc.h
-%%GTK2%%include/ogmdvd/ogmdvd-drive-chooser-dialog.h
-%%GTK2%%include/ogmdvd/ogmdvd-drive-chooser-widget.h
-%%GTK2%%include/ogmdvd/ogmdvd-drive-chooser.h
 include/ogmdvd/ogmdvd-drive.h
 include/ogmdvd/ogmdvd-enums.h
-%%GTK2%%include/ogmdvd/ogmdvd-gtk.h
 include/ogmdvd/ogmdvd-labels.h
-%%GTK2%%include/ogmdvd/ogmdvd-marshal.h
 include/ogmdvd/ogmdvd-monitor.h
 include/ogmdvd/ogmdvd-parser.h
 include/ogmdvd/ogmdvd-reader.h
 include/ogmdvd/ogmdvd-stream.h
 include/ogmdvd/ogmdvd-subp.h
-%%GTK2%%include/ogmdvd/ogmdvd-title-chooser-widget.h
-%%GTK2%%include/ogmdvd/ogmdvd-title-chooser.h
 include/ogmdvd/ogmdvd-title.h
 include/ogmdvd/ogmdvd-types.h
 include/ogmdvd/ogmdvd.h
@@ -39,9 +29,7 @@ include/ogmjob/ogmjob-queue.h
 include/ogmjob/ogmjob-spawn.h
 include/ogmjob/ogmjob.h
 include/ogmrip/ogmrip-audio-codec.h
-%%GTK2%%include/ogmrip/ogmrip-chapter-list.h
 include/ogmrip/ogmrip-chapters.h
-%%GTK2%%include/ogmrip/ogmrip-chooser-list.h
 include/ogmrip/ogmrip-codec.h
 include/ogmrip/ogmrip-container.h
 include/ogmrip/ogmrip-dvdcpy.h
@@ -51,29 +39,19 @@ include/ogmrip/ogmrip-encoding.h
 include/ogmrip/ogmrip-enums.h
 include/ogmrip/ogmrip-file.h
 include/ogmrip/ogmrip-fs.h
-%%GTK2%%include/ogmrip/ogmrip-gconf-settings.h
-%%GTK2%%include/ogmrip/ogmrip-gtk.h
 include/ogmrip/ogmrip-hardsub.h
-%%GTK2%%include/ogmrip/ogmrip-helper.h
 include/ogmrip/ogmrip-keyfile-settings.h
 include/ogmrip/ogmrip-lavc.h
 include/ogmrip/ogmrip-mplayer.h
 include/ogmrip/ogmrip-novideo.h
-%%GTK2%%include/ogmrip/ogmrip-options-plugin.h
 include/ogmrip/ogmrip-options.h
 include/ogmrip/ogmrip-player.h
 include/ogmrip/ogmrip-plugin.h
 include/ogmrip/ogmrip-settings.h
-%%GTK2%%include/ogmrip/ogmrip-source-chooser-widget.h
-%%GTK2%%include/ogmrip/ogmrip-source-chooser.h
 include/ogmrip/ogmrip-subp-codec.h
 include/ogmrip/ogmrip-version.h
 include/ogmrip/ogmrip-video-codec.h
 include/ogmrip/ogmrip.h
-%%GTK2%%lib/libogmdvd-gtk.a
-%%GTK2%%lib/libogmdvd-gtk.so
-%%GTK2%%lib/libogmdvd-gtk.so.1
-%%GTK2%%lib/libogmdvd-gtk.so.1.0.0
 lib/libogmdvd.a
 lib/libogmdvd.so
 lib/libogmdvd.so.1
@@ -82,10 +60,6 @@ lib/libogmjob.a
 lib/libogmjob.so
 lib/libogmjob.so.1
 lib/libogmjob.so.1.0.0
-%%GTK2%%lib/libogmrip-gtk.a
-%%GTK2%%lib/libogmrip-gtk.so
-%%GTK2%%lib/libogmrip-gtk.so.1
-%%GTK2%%lib/libogmrip-gtk.so.1.0.0
 lib/libogmrip-lavc.a
 lib/libogmrip-lavc.so
 lib/libogmrip-lavc.so.1
@@ -118,12 +92,6 @@ lib/ogmrip/container-plugins/libogmrip-mov.so
 @comment lib/ogmrip/container-plugins/libogmrip-mp4.so
 lib/ogmrip/container-plugins/libogmrip-ogg.a
 lib/ogmrip/container-plugins/libogmrip-ogg.so
-%%GTK2%%lib/ogmrip/options-plugins/libogmrip-lavc-options.a
-%%GTK2%%lib/ogmrip/options-plugins/libogmrip-lavc-options.so
-%%GTK2%%lib/ogmrip/options-plugins/libogmrip-x264-options.a
-%%GTK2%%lib/ogmrip/options-plugins/libogmrip-x264-options.so
-%%GTK2%%lib/ogmrip/options-plugins/libogmrip-xvid-options.a
-%%GTK2%%lib/ogmrip/options-plugins/libogmrip-xvid-options.so
 %%SRT%%lib/ogmrip/subp-plugins/libogmrip-srt.a
 %%SRT%%lib/ogmrip/subp-plugins/libogmrip-srt.so
 lib/ogmrip/subp-plugins/libogmrip-vobsub.a
@@ -148,26 +116,9 @@ man/man1/dvdcpy.1.gz
 man/man1/avibox.1.gz
 %%SRT%%man/man1/subp2pgm.1.gz
 %%SRT%%man/man1/subptools.1.gz
-%%GTK2%%share/applications/ogmrip.desktop
 %%NLS%%share/locale/cs/LC_MESSAGES/ogmrip.mo
 %%NLS%%share/locale/de/LC_MESSAGES/ogmrip.mo
 %%NLS%%share/locale/fr/LC_MESSAGES/ogmrip.mo
 %%NLS%%share/locale/nb/LC_MESSAGES/ogmrip.mo
 %%NLS%%share/locale/ru/LC_MESSAGES/ogmrip.mo
 %%NLS%%share/locale/sk/LC_MESSAGES/ogmrip.mo
-%%GTK2%%%%DATADIR%%/ogmrip-crop.glade
-%%GTK2%%%%DATADIR%%/ogmrip-lavc.glade
-%%GTK2%%%%DATADIR%%/ogmrip-main.glade
-%%GTK2%%%%DATADIR%%/ogmrip-options.glade
-%%GTK2%%%%DATADIR%%/ogmrip-pref.glade
-%%GTK2%%%%DATADIR%%/ogmrip-profile-editor.glade
-%%GTK2%%%%DATADIR%%/ogmrip-profiles.glade
-%%GTK2%%%%DATADIR%%/ogmrip-progress.glade
-%%GTK2%%%%DATADIR%%/ogmrip-queue.glade
-%%GTK2%%%%DATADIR%%/ogmrip-spell.glade
-%%GTK2%%%%DATADIR%%/ogmrip-ui.xml
-%%GTK2%%%%DATADIR%%/ogmrip-update.glade
-%%GTK2%%%%DATADIR%%/ogmrip-x264.glade
-%%GTK2%%%%DATADIR%%/ogmrip-xvid.glade
-%%GTK2%%%%DATADIR%%/profiles/profiles.xml
-%%GTK2%%share/pixmaps/ogmrip.png