pkgsrc-WIP-changes archive

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

terminology: ugly workaround to fix random edje_cc hang



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Tue Jun 16 08:41:57 2020 +0200
Changeset:	7d2db1f912edec500f9b075435ef9faf0066261f

Modified Files:
	terminology/Makefile
	terminology/distinfo

Log Message:
terminology: ugly workaround to fix random edje_cc hang

Disable themes compiling, use prebuilded themes
from other source... So the build not hang.

Å

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

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

diffstat:
 terminology/Makefile | 21 +++++++++++++++++++++
 terminology/distinfo |  4 ++++
 2 files changed, 25 insertions(+)

diffs:
diff --git a/terminology/Makefile b/terminology/Makefile
index 93becc5699..486362daf1 100644
--- a/terminology/Makefile
+++ b/terminology/Makefile
@@ -2,8 +2,18 @@
 
 DISTNAME=	terminology-1.7.0
 CATEGORIES=	x11
+PKGREVISION=	1
 MASTER_SITES=	https://download.enlightenment.org/rel/apps/terminology/
 EXTRACT_SUFX=	.tar.xz
+DISTFILES=	${DEFAULT_DISTFILES}
+
+VERSION=		1.7.0
+THEMES_BIN=		v${VERSION}.tar.gz
+DISTFILES+=		${THEMES_BIN}
+SITES.${THEMES_BIN}=	${MASTER_SITE_GITHUB:=kikadf/}terminology-themes/archive/
+THEMES_WRKSRC=		${WRKDIR}/terminology-themes-${VERSION}
+THEMES_DIR=		${DESTDIR}${PREFIX}/share/${PKGBASE}/themes/
+INSTALLATION_DIRS+=	share/${PKGBASE}/themes
 
 MAINTAINER=	kikadf.01%gmail.com@localhost
 HOMEPAGE=	https://www.enlightenment.org/about-terminology
@@ -13,6 +23,17 @@ LICENSE=	2-clause-bsd
 USE_LIBTOOL=	yes
 USE_TOOLS+=	pkg-config intltool
 
+SUBST_CLASSES+=			workaround
+SUBST_STAGE.workaround=		pre-configure
+SUBST_MESSAGE.workaround=	Ugly workaround to fix random edje_cc hang on build: \
+				disable theme compiling, use prebuilded themes.
+SUBST_FILES.workaround=		data/meson.build
+SUBST_SED.workaround=		-e "s,subdir('themes'),\#subdir('themes'),g"
+
+post-install:
+	${INSTALL_DATA} ${THEMES_WRKSRC}/themes/*.edj ${THEMES_DIR}
+	${INSTALL_DATA} ${THEMES_WRKSRC}/themes/nyanology/*.edj ${THEMES_DIR}
+
 .include "../../devel/meson/build.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff --git a/terminology/distinfo b/terminology/distinfo
index e9ebaa0c09..4a854153f4 100644
--- a/terminology/distinfo
+++ b/terminology/distinfo
@@ -4,3 +4,7 @@ SHA1 (terminology-1.7.0.tar.xz) = 5b49478f689373a46b7902b6be66eda6a5034c38
 RMD160 (terminology-1.7.0.tar.xz) = 0be073844ce5c043e04fbd3250a94a4602f1b11d
 SHA512 (terminology-1.7.0.tar.xz) = 9635da6a51344fbbafd333592252c2539daa795600b4a1d5ea5710e294f18ff9f5667706c789a3c91378b493ae631df47faec2bc43b4cc48d0266506ab3f2e78
 Size (terminology-1.7.0.tar.xz) = 4922616 bytes
+SHA1 (v1.7.0.tar.gz) = cab728dceee58e3b11e552e97ad359e09ad98d70
+RMD160 (v1.7.0.tar.gz) = a23d6927e22bdaece311eae1edfe23d297ba9534
+SHA512 (v1.7.0.tar.gz) = 26a2d4b2bc3797367b170397de5d2922a77284a94f6040bb2c6c2cfadeb25db894e204d8344208ac0f56140d3306c3328d187ca269a314fff07b5945d3746257
+Size (v1.7.0.tar.gz) = 22790368 bytes


Home | Main Index | Thread Index | Old Index