View | Details | Raw Unified | Return to bug 270690 | Differences between
and this patch

Collapse All | Expand All

(-)b/deskutils/fet/Makefile (-13 / +12 lines)
Lines 1-10 Link Here
1
PORTNAME=	fet
1
PORTNAME=	fet
2
DISTVERSION=	6.8.7
2
DISTVERSION=	6.9.0
3
CATEGORIES=	deskutils education
3
CATEGORIES=	deskutils education
4
MASTER_SITES=	https://lalescu.ro/liviu/fet/download/ \
4
MASTER_SITES=	https://lalescu.ro/liviu/fet/download/ \
5
		https://lalescu.ro/liviu/fet/download/old/ \
5
		https://lalescu.ro/liviu/fet/download/old/ \
6
		https://timetabling.de/download/ \
6
		https://timetabling.de/download/ \
7
		https://timetabling.de/download/old/
7
		https://timetabling.de/download/old/
8
PKGNAMESUFFIX=	-${FLAVOR}
8
9
9
MAINTAINER=	uzsolt@uzsolt.hu
10
MAINTAINER=	uzsolt@uzsolt.hu
10
COMMENT=	Free timetabling software
11
COMMENT=	Free timetabling software
Lines 13-23 WWW= https://lalescu.ro/liviu/fet/ Link Here
13
LICENSE=	GPLv3+
14
LICENSE=	GPLv3+
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
LICENSE_FILE=	${WRKSRC}/COPYING
15
16
16
USES=		compiler:c++14-lang gl qmake qt:5 tar:bzip2
17
FLAVORS=	qt5 qt6
17
USE_GL=		gl
18
FLAVOR?=	qt6
18
USE_QT=		core printsupport widgets buildtools:build
19
CONFLICTS_INSTALL=	${FLAVORS:@fl@fet-${fl}@}
19
20
20
INSTALL_TARGET=	${WRKSRC}/fet-cl
21
USES=		compiler:c++14-lang gl qmake qt:${FLAVOR:S/qt//} tar:bzip2
22
USE_GL=		gl
23
_USE_QT5=	core gui network printsupport widgets buildtools:build
24
_USE_QT6=	base
25
USE_QT=		${_USE_QT${FLAVOR:S/qt//}}
21
26
22
DESKTOP_ENTRIES=	"FET" \
27
DESKTOP_ENTRIES=	"FET" \
23
			"Free timetable software" \
28
			"Free timetable software" \
Lines 28-48 DESKTOP_ENTRIES= "FET" \ Link Here
28
33
29
PORTEXAMPLES=	*
34
PORTEXAMPLES=	*
30
35
31
OPTIONS_DEFINE=	EXAMPLES NLS ONLYCL
36
OPTIONS_DEFINE=	EXAMPLES NLS
32
OPTIONS_SUB=	yes
37
OPTIONS_SUB=	yes
33
38
34
ONLYCL_DESC=	Build only command line version (without Qt GUI)
35
36
ONLYCL_VARS=		QMAKE_SOURCE_PATH=${WRKSRC}/src/src-cl.pro
37
ONLYCL_VARS_OFF=	INSTALL_TARGET+=${WRKSRC}/fet \
38
			USE_QT+="gui network"
39
40
post-patch:
39
post-patch:
41
	@${REINPLACE_CMD} -e 's|/usr/share/fet|${DATADIR}|g' \
40
	@${REINPLACE_CMD} -e 's|/usr/share/fet|${DATADIR}|g' \
42
		${WRKSRC}/src/interface/fet.cpp
41
		${WRKSRC}/src/interface/fet.cpp
43
42
44
do-install:
43
do-install:
45
	${INSTALL_PROGRAM} ${INSTALL_TARGET} ${STAGEDIR}${PREFIX}/bin
44
	${INSTALL_PROGRAM} ${WRKSRC}/fet ${STAGEDIR}${PREFIX}/bin
46
	${INSTALL_PROGRAM} ${WRKSRC}/fet-cl ${STAGEDIR}${PREFIX}/bin
45
	${INSTALL_PROGRAM} ${WRKSRC}/fet-cl ${STAGEDIR}${PREFIX}/bin
47
	${INSTALL_MAN} ${WRKSRC}/man/fet*.gz ${STAGEDIR}${MANPREFIX}/man/man1
46
	${INSTALL_MAN} ${WRKSRC}/man/fet*.gz ${STAGEDIR}${MANPREFIX}/man/man1
48
47
(-)b/deskutils/fet/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1679062403
1
TIMESTAMP = 1680876722
2
SHA256 (fet-6.8.7.tar.bz2) = 35b8657b2cfc2fea4f039fb9028c0fb2505d2184c7aae23f903b38fc98169471
2
SHA256 (fet-6.9.0.tar.bz2) = daf39231f7c9e4ca99c0540f2e4a78172513044db35266bfc3b0d1a01e2adcd2
3
SIZE (fet-6.8.7.tar.bz2) = 18844884
3
SIZE (fet-6.9.0.tar.bz2) = 18857314
(-)b/deskutils/fet/pkg-plist (-1 / +1 lines)
Lines 1-4 Link Here
1
%%NO_ONLYCL%%bin/fet
1
bin/fet
2
bin/fet-cl
2
bin/fet-cl
3
man/man1/fet-cl.1.gz
3
man/man1/fet-cl.1.gz
4
man/man1/fet.1.gz
4
man/man1/fet.1.gz

Return to bug 270690