pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/handbrake



Module Name:    pkgsrc
Committed By:   dbj
Date:           Sun Jul  3 21:38:49 UTC 2022

Modified Files:
        pkgsrc/multimedia/handbrake: Makefile PLIST
Added Files:
        pkgsrc/multimedia/handbrake: PLIST.gtk3 options.mk

Log Message:
multimedia/handbrake: add option for gtk3 gui, defaults to enabled


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 pkgsrc/multimedia/handbrake/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/multimedia/handbrake/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/multimedia/handbrake/PLIST.gtk3 \
    pkgsrc/multimedia/handbrake/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/handbrake/Makefile
diff -u pkgsrc/multimedia/handbrake/Makefile:1.77 pkgsrc/multimedia/handbrake/Makefile:1.78
--- pkgsrc/multimedia/handbrake/Makefile:1.77   Tue Jun 28 11:34:56 2022
+++ pkgsrc/multimedia/handbrake/Makefile        Sun Jul  3 21:38:48 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2022/06/28 11:34:56 wiz Exp $
+# $NetBSD: Makefile,v 1.78 2022/07/03 21:38:48 dbj Exp $
 #
 
 DISTNAME=      HandBrake-1.3.3-source
@@ -79,7 +79,8 @@ post-extract:
        cp ${DISTDIR}/${DIST_SUBDIR}/${MESON_DISTFILE} ${WRKSRC}/download/
        (cd ${WRKSRC}/contrib; tar zxf ${WRKSRC}/download/${MESON_DISTFILE})
 
-.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "options.mk"
+
 .include "../../audio/lame/buildlink3.mk"
 .include "../../audio/libopus/buildlink3.mk"
 .include "../../audio/libsamplerate/buildlink3.mk"
@@ -92,7 +93,5 @@ post-extract:
 .include "../../multimedia/libvpx/buildlink3.mk"
 .include "../../multimedia/x264-devel/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
-.include "../../x11/gtk3/buildlink3.mk"
 .include "../../textproc/jansson/buildlink3.mk"
-.include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/multimedia/handbrake/PLIST
diff -u pkgsrc/multimedia/handbrake/PLIST:1.5 pkgsrc/multimedia/handbrake/PLIST:1.6
--- pkgsrc/multimedia/handbrake/PLIST:1.5       Tue Jan 12 12:00:43 2021
+++ pkgsrc/multimedia/handbrake/PLIST   Sun Jul  3 21:38:48 2022
@@ -1,31 +1,2 @@
-@comment $NetBSD: PLIST,v 1.5 2021/01/12 12:00:43 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.6 2022/07/03 21:38:48 dbj Exp $
 bin/HandBrakeCLI
-bin/ghb
-share/applications/fr.handbrake.ghb.desktop
-share/icons/hicolor/scalable/apps/fr.handbrake.ghb.svg
-share/icons/hicolor/scalable/apps/hb-icon.svg
-share/locale/af/LC_MESSAGES/ghb.mo
-share/locale/cs/LC_MESSAGES/ghb.mo
-share/locale/da/LC_MESSAGES/ghb.mo
-share/locale/de/LC_MESSAGES/ghb.mo
-share/locale/es/LC_MESSAGES/ghb.mo
-share/locale/eu/LC_MESSAGES/ghb.mo
-share/locale/fr/LC_MESSAGES/ghb.mo
-share/locale/hr/LC_MESSAGES/ghb.mo
-share/locale/it/LC_MESSAGES/ghb.mo
-share/locale/ja/LC_MESSAGES/ghb.mo
-share/locale/ko/LC_MESSAGES/ghb.mo
-share/locale/nl/LC_MESSAGES/ghb.mo
-share/locale/no/LC_MESSAGES/ghb.mo
-share/locale/pl/LC_MESSAGES/ghb.mo
-share/locale/pt/LC_MESSAGES/ghb.mo
-share/locale/pt_BR/LC_MESSAGES/ghb.mo
-share/locale/ro/LC_MESSAGES/ghb.mo
-share/locale/ru/LC_MESSAGES/ghb.mo
-share/locale/sk/LC_MESSAGES/ghb.mo
-share/locale/sv/LC_MESSAGES/ghb.mo
-share/locale/th/LC_MESSAGES/ghb.mo
-share/locale/tr/LC_MESSAGES/ghb.mo
-share/locale/uk_UA/LC_MESSAGES/ghb.mo
-share/locale/zh_CN/LC_MESSAGES/ghb.mo
-share/metainfo/fr.handbrake.ghb.metainfo.xml

Added files:

Index: pkgsrc/multimedia/handbrake/PLIST.gtk3
diff -u /dev/null pkgsrc/multimedia/handbrake/PLIST.gtk3:1.1
--- /dev/null   Sun Jul  3 21:38:49 2022
+++ pkgsrc/multimedia/handbrake/PLIST.gtk3      Sun Jul  3 21:38:48 2022
@@ -0,0 +1,30 @@
+@comment $NetBSD: PLIST.gtk3,v 1.1 2022/07/03 21:38:48 dbj Exp $
+bin/ghb
+share/applications/fr.handbrake.ghb.desktop
+share/icons/hicolor/scalable/apps/fr.handbrake.ghb.svg
+share/icons/hicolor/scalable/apps/hb-icon.svg
+share/locale/af/LC_MESSAGES/ghb.mo
+share/locale/cs/LC_MESSAGES/ghb.mo
+share/locale/da/LC_MESSAGES/ghb.mo
+share/locale/de/LC_MESSAGES/ghb.mo
+share/locale/es/LC_MESSAGES/ghb.mo
+share/locale/eu/LC_MESSAGES/ghb.mo
+share/locale/fr/LC_MESSAGES/ghb.mo
+share/locale/hr/LC_MESSAGES/ghb.mo
+share/locale/it/LC_MESSAGES/ghb.mo
+share/locale/ja/LC_MESSAGES/ghb.mo
+share/locale/ko/LC_MESSAGES/ghb.mo
+share/locale/nl/LC_MESSAGES/ghb.mo
+share/locale/no/LC_MESSAGES/ghb.mo
+share/locale/pl/LC_MESSAGES/ghb.mo
+share/locale/pt/LC_MESSAGES/ghb.mo
+share/locale/pt_BR/LC_MESSAGES/ghb.mo
+share/locale/ro/LC_MESSAGES/ghb.mo
+share/locale/ru/LC_MESSAGES/ghb.mo
+share/locale/sk/LC_MESSAGES/ghb.mo
+share/locale/sv/LC_MESSAGES/ghb.mo
+share/locale/th/LC_MESSAGES/ghb.mo
+share/locale/tr/LC_MESSAGES/ghb.mo
+share/locale/uk_UA/LC_MESSAGES/ghb.mo
+share/locale/zh_CN/LC_MESSAGES/ghb.mo
+share/metainfo/fr.handbrake.ghb.metainfo.xml
Index: pkgsrc/multimedia/handbrake/options.mk
diff -u /dev/null pkgsrc/multimedia/handbrake/options.mk:1.1
--- /dev/null   Sun Jul  3 21:38:49 2022
+++ pkgsrc/multimedia/handbrake/options.mk      Sun Jul  3 21:38:48 2022
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2022/07/03 21:38:48 dbj Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.handbrake
+PKG_SUPPORTED_OPTIONS= gtk3
+
+PKG_SUGGESTED_OPTIONS= gtk3
+
+.include "../../mk/bsd.options.mk"
+
+.if empty(PKG_OPTIONS:Mgtk3)
+CONFIGURE_ARGS+=       --disable-gtk
+.else
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+PLIST_SRC+=    ${PKGDIR}/PLIST.gtk3
+.endif



Home | Main Index | Thread Index | Old Index