head	1.7;
access;
symbols
	pkgsrc-2026Q1:1.7.0.6
	pkgsrc-2026Q1-base:1.7
	pkgsrc-2025Q4:1.7.0.4
	pkgsrc-2025Q4-base:1.7
	pkgsrc-2025Q3:1.7.0.2
	pkgsrc-2025Q3-base:1.7
	pkgsrc-2025Q2:1.6.0.4
	pkgsrc-2025Q2-base:1.6
	pkgsrc-2025Q1:1.6.0.2
	pkgsrc-2025Q1-base:1.6
	pkgsrc-2024Q4:1.5.0.8
	pkgsrc-2024Q4-base:1.5
	pkgsrc-2024Q3:1.5.0.6
	pkgsrc-2024Q3-base:1.5
	pkgsrc-2024Q2:1.5.0.4
	pkgsrc-2024Q2-base:1.5
	pkgsrc-2024Q1:1.5.0.2
	pkgsrc-2024Q1-base:1.5
	pkgsrc-2023Q4:1.4.0.6
	pkgsrc-2023Q4-base:1.4
	pkgsrc-2023Q3:1.4.0.4
	pkgsrc-2023Q3-base:1.4
	pkgsrc-2023Q2:1.4.0.2
	pkgsrc-2023Q2-base:1.4
	pkgsrc-2023Q1:1.3.0.18
	pkgsrc-2023Q1-base:1.3
	pkgsrc-2022Q4:1.3.0.16
	pkgsrc-2022Q4-base:1.3
	pkgsrc-2022Q3:1.3.0.14
	pkgsrc-2022Q3-base:1.3
	pkgsrc-2022Q2:1.3.0.12
	pkgsrc-2022Q2-base:1.3
	pkgsrc-2022Q1:1.3.0.10
	pkgsrc-2022Q1-base:1.3
	pkgsrc-2021Q4:1.3.0.8
	pkgsrc-2021Q4-base:1.3
	pkgsrc-2021Q3:1.3.0.6
	pkgsrc-2021Q3-base:1.3
	pkgsrc-2021Q2:1.3.0.4
	pkgsrc-2021Q2-base:1.3
	pkgsrc-2021Q1:1.3.0.2
	pkgsrc-2021Q1-base:1.3;
locks; strict;
comment	@# @;


1.7
date	2025.08.20.11.35.03;	author wiz;	state Exp;
branches;
next	1.6;
commitid	lgT5N7I1hRAxGs7G;

1.6
date	2025.01.23.23.27.27;	author riastradh;	state Exp;
branches;
next	1.5;
commitid	nbXjxSLm733ClFGF;

1.5
date	2024.02.10.12.14.03;	author ryoon;	state Exp;
branches;
next	1.4;
commitid	x4h6avzWjGK7OSXE;

1.4
date	2023.06.06.12.41.39;	author riastradh;	state Exp;
branches;
next	1.3;
commitid	xhspr6Z8JLQOWSrE;

1.3
date	2021.03.02.13.24.54;	author ryoon;	state Exp;
branches;
next	1.2;
commitid	OUGUcPsDEalLKJJC;

1.2
date	2021.03.02.03.04.23;	author mef;	state Exp;
branches;
next	1.1;
commitid	aTdHOQ5fhwpWjGJC;

1.1
date	2021.02.20.21.17.14;	author ryoon;	state Exp;
branches;
next	;
commitid	Q9jFb11Cu7WMGuIC;


desc
@@


1.7
log
@*: fix build with cmake 4
@
text
@# $NetBSD: Makefile,v 1.6 2025/01/23 23:27:27 riastradh Exp $

DISTNAME=	fcitx5-rime-5.1.4
CATEGORIES=	inputmethod
MASTER_SITES=	https://download.fcitx-im.org/fcitx5/fcitx5-rime/
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	ryoon@@NetBSD.org
HOMEPAGE=	https://github.com/fcitx/fcitx5-rime
COMMENT=	RIME traditional Chinese input method for Fcitx5
LICENSE=	gnu-lgpl-v2.1

DEPENDS+=	rime-luna-pinyin-[0-9]*:../../inputmethod/rime-luna-pinyin

USE_PKGLOCALEDIR=	yes
USE_LANGUAGES=		c c++
USE_TOOLS+=		pkg-config

CMAKE_CONFIGURE_ARGS+=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5

.include "../../devel/cmake/build.mk"

.include "../../devel/extra-cmake-modules/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../inputmethod/fcitx5/buildlink3.mk"
.include "../../inputmethod/librime/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.6
log
@devel/extra-cmake-modules: Use buildlink3.mk, not TOOL_DEPENDS.

This one is borderline: should it be BUILD_DEPENDS or TOOL_DEPENDS?
It doesn't appear to vary depending on the build environment, so it
doesn't meaningfully describe the cross-builder vs the target system.
It is used only at build-time, but it doesn't have any native
executables -- they're just source code cmake scripts.

For now, it is convenient to use a buildlink3.mk file because this
enables us to explicitly expose only files under share/ECM/ -- and
not other random files installed in the prefix -- via buildlink3 to
keep dependent package builds clean.  Eventually we should have the
same mechanism for TOOL_DEPENDS but that day has not yet come.

This change creates a new use of BUILDLINK_DEPMETHOD build for
extra-cmake-modules, which is a priori risky.  Fortunately,
extra-cmake-modules has no libraries, so this is unlikely to cause
trouble.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2024/02/10 12:14:03 ryoon Exp $
d19 2
@


1.5
log
@inputmethod/fcitx5-rime: Update to 5.1.4

Changelog:
Cleanups.
Bugfixes.
Update translations.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2023/06/06 12:41:39 riastradh Exp $
a12 1
TOOL_DEPENDS+=	extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
d20 2
@


1.4
log
@Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2021/03/02 13:24:54 ryoon Exp $
d3 1
a3 1
DISTNAME=	fcitx5-rime-5.0.4
a15 1
USE_CMAKE=		yes
d20 1
@


1.3
log
@fcitx5: Set build time dependency to extra-cmake-modules

* Replace DEPENDS with BUILD_DEPENDS. And remove trailing slash.
* Add new BUILD_DEPENDS to some packages. CMake dectects ECM.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2021/03/02 03:04:23 mef Exp $
d13 1
a13 1
BUILD_DEPENDS+=	extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
@


1.2
log
@(inputmethod/fcitx5-*) +DEPENDS+=  extra-cmake-modules, correct me for better fix
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2021/02/20 21:17:14 ryoon Exp $
d13 1
a14 1
DEPENDS+=	extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules/
@


1.1
log
@inputmethod/fcitx5-rime: import fcitx5-rime-5.0.4

RIME is mainly a Traditional Chinese input method engine.
@
text
@d1 1
a1 1
# $NetBSD$
d14 1
@

