pkgsrc-WIP-changes archive

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

electron32: fix descr, clean Makefile



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Fri Jan 17 10:10:09 2025 +0100
Changeset:	3604a32d0b1509dd546c7d0333fd47de3f1c9830

Modified Files:
	electron32/DESCR
	electron32/Makefile

Log Message:
electron32: fix descr, clean Makefile

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3604a32d0b1509dd546c7d0333fd47de3f1c9830

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

diffstat:
 electron32/DESCR    |  8 +++++---
 electron32/Makefile | 19 +++----------------
 2 files changed, 8 insertions(+), 19 deletions(-)

diffs:
diff --git a/electron32/DESCR b/electron32/DESCR
index 2a86084420..e528f88331 100644
--- a/electron32/DESCR
+++ b/electron32/DESCR
@@ -1,3 +1,5 @@
-Chromium is an open-source browser project that aims to build a
-safer, faster, and more stable way for all Internet users to
-experience the web.
+Electron is a framework for building desktop applications
+using JavaScript, HTML, and CSS. By embedding Chromium and
+Node.js into its binary, Electron allows you to maintain
+one JavaScript codebase and create cross-platform apps that
+work on the supported operating systems.
diff --git a/electron32/Makefile b/electron32/Makefile
index 1f9665fb7c..50d00f10e4 100644
--- a/electron32/Makefile
+++ b/electron32/Makefile
@@ -39,7 +39,7 @@ EXTRACT_ONLY=			${CHROMIUM_DISTFILE}
 EXTRACT_ONLY+=			${DISTFILES:C/${CHROMIUM_DISTFILE}\.[0-9]//}
 
 MAINTAINER=			kikadf.01%gmail.com@localhost
-HOMEPAGE=			https://electronjs.org
+HOMEPAGE=			https://electronjs.org/
 COMMENT=			Build cross-platform desktop apps with JavaScript, HTML, and CSS
 LICENSE=			modified-bsd AND gnu-lgpl-v3 AND mpl-2.0 AND mit
 
@@ -104,7 +104,7 @@ SUBST_FILES.path+=	base/base_paths_posix.cc
 SUBST_FILES.path+=	base/process/process_handle_openbsd.cc
 SUBST_FILES.path+=	build/rust/rust_bindgen.gni
 SUBST_FILES.path+=	chrome/common/chrome_paths.cc
-SUBST_FILES.path+=	chromium.sh
+SUBST_FILES.path+=	chrome/browser/file_system_access/chrome_file_system_access_permission_context.h
 SUBST_FILES.path+=	components/policy/core/common/policy_paths.cc
 SUBST_FILES.path+=	sandbox/policy/openbsd/sandbox_openbsd.cc
 SUBST_FILES.path+=	services/device/hid/hid_service_freebsd.cc
@@ -114,21 +114,8 @@ SUBST_FILES.path+=	ui/qt/qt.gni
 SUBST_FILES.path+=	v8/tools/run-paxctl.py
 SUBST_VARS.path+=	PREFIX PKG_SYSCONFBASE VARBASE QTDIR X11BASE PYTHONBIN
 
-SUBST_CLASSES+=		man
-SUBST_STAGE.man=	pre-configure
-SUBST_MESSAGE.man=	Fixing manpage
-SUBST_FILES.man+=	chrome/app/resources/manpage.1.in
-SUBST_SED.man+=		-e 's,@@PACKAGE@@,chromium,g'
-SUBST_SED.man+=		-e 's,@@MENUNAME@@,Chromium Web Browser,g'
-
 .include "options.mk"
 
-#SUBST_CLASSES+=		pulse
-#SUBST_STAGE.pulse=	pre-configure
-#SUBST_MESSAGE.pulse=	Set BUILT_WITH_PULSE to ${WITH_PA} in chromium wrapper
-#SUBST_FILES.pulse+=	chromium.sh
-#SUBST_SED.pulse+=	-e 's,@PULSE@,${WITH_PA},g'
-
 MAKE_ENV+=	BUILDTYPE=${BUILDTYPE}
 MAKE_ENV+=	GPERF=${PREFIX}/bin/gperf
 TARGET=		electron electron:node_headers
@@ -246,7 +233,7 @@ PKG_CC=			clang
 PKG_CXX=		clang++
 
 post-fetch:
-	@if [ ! -f ${DISTDIR}/chromium-${CHROMIUM_VERSION}${EXTRACT_SUFX_C} ]; then \
+	if [ ! -f ${DISTDIR}/chromium-${CHROMIUM_VERSION}${EXTRACT_SUFX_C} ]; then \
 		${CAT} ${DISTDIR}/chromium-${CHROMIUM_VERSION}${EXTRACT_SUFX_C}.? > \
 			${DISTDIR}/chromium-${CHROMIUM_VERSION}${EXTRACT_SUFX_C}; \
 	fi


Home | Main Index | Thread Index | Old Index