pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
anvil: finish package
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Wed Nov 20 20:27:19 2024 +0100
Changeset: 56d805755438d7ef25c39110f4901a614e14a271
Modified Files:
anvil/Makefile
anvil/distinfo
anvil/patches/patch-go.sum
Log Message:
anvil: finish package
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=56d805755438d7ef25c39110f4901a614e14a271
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
anvil/Makefile | 12 ++++++++++--
anvil/distinfo | 2 +-
anvil/patches/patch-go.sum | 2 +-
3 files changed, 12 insertions(+), 4 deletions(-)
diffs:
diff --git a/anvil/Makefile b/anvil/Makefile
index e3fa922211..c758b7ad71 100644
--- a/anvil/Makefile
+++ b/anvil/Makefile
@@ -15,16 +15,17 @@ USE_TOOLS+= zip
GO_VERSION_REQD+= 123
GO_MODULES_FILES= ${WRKSRC}/anvil/src/anvil/go.mod
+GO_LDFLAGS+= -r ${X11BASE}/lib
PATCH_DIST_STRIP= -p1
WRKSRC= ${WRKDIR}/${DISTNAME}/anvil/src/anvil
+INSTALLATION_DIRS+= bin
+
post-extract:
${CP} ${WRKSRC}/fs_linux.go ${WRKSRC}/fs_netbsd.go
-MAKE_ENV+= CGO_LDFLAGS=${CGO_LDFLAGS:Q}
-
pre-build:
cd ${WRKDIR}/.goproxy/gioui.org/\@v/ && \
unzip v0.6.0.zip && \
@@ -41,6 +42,13 @@ pre-build:
patch ${PATCH_DIST_ARGS} < ${PKGDIR}/kev-patches/patch-internal_gl_gl__unix.go && \
cd .. && zip -r v0.6.0.zip gioui.org\@v0.6.0
+do-build:
+ cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} \
+ GOPATH=${WRKDIR}/.gopath ${GO} ${GOFLAGS} build ${GO_BUILD_TAGS} -ldflags=${GO_LDFLAGS:Q} -o anvil
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/anvil ${DESTDIR}${PREFIX}/bin
+
.include "go-modules.mk"
.include "../../devel/wayland/buildlink3.mk"
diff --git a/anvil/distinfo b/anvil/distinfo
index 58958d9b40..161b16bbe2 100644
--- a/anvil/distinfo
+++ b/anvil/distinfo
@@ -336,4 +336,4 @@ Size (gopkg.in_yaml.v3_@v_v3.0.1.mod) = 95 bytes
BLAKE2s (gopkg.in_yaml.v3_@v_v3.0.1.zip) = 2e80fa896e65b1ae160400012c71aeac70e22a31cac82ec4921c85a93d65774c
SHA512 (gopkg.in_yaml.v3_@v_v3.0.1.zip) = d57b0d42c71ad6503415e42979b51b0dc7f6344072c728ab2e3d4bab88da7b7d775e7f261868909f990f6b44aed6c533966c97bbe333a0acd65fc8bac9d1d4ff
Size (gopkg.in_yaml.v3_@v_v3.0.1.zip) = 104623 bytes
-SHA1 (patch-go.sum) = be9d89ad41024782c0313d9c206da159e4f64795
+SHA1 (patch-go.sum) = d5d60bcff3ef6ec47c2a10e9ec2a1a7a43c706ed
diff --git a/anvil/patches/patch-go.sum b/anvil/patches/patch-go.sum
index 020f12f8b1..1173ff00e8 100644
--- a/anvil/patches/patch-go.sum
+++ b/anvil/patches/patch-go.sum
@@ -6,7 +6,7 @@ $NetBSD$
eliasnaur.com/font v0.0.0-20230308162249-dd43949cb42d h1:ARo7NCVvN2NdhLlJE9xAbKweuI9L6UgfTbYb0YwPacY=
eliasnaur.com/font v0.0.0-20230308162249-dd43949cb42d/go.mod h1:OYVuxibdk9OSLX8vAqydtRPP87PyTFcT9uH3MlEGBQA=
-gioui.org v0.6.0 h1:ZSXO/AbpFZJ2L9NU69uFQfDI3BKIH+YEJElrn0B+aZI=
-+gioui.org v0.6.0 h1:6jLQqWcJz/9gKooxsUsbd0N4Xz5N2JYGOw3wSg5iqKc=
++gioui.org v0.6.0 h1:v5lS0CQKAY7DJ5hXfcTclWgFt8zJHVEt9FRPaNRfyDM=
gioui.org v0.6.0/go.mod h1:eUvGo6FAzA7jUqeSu5a+M1W03yc9r1nanIBS8A5+Nng=
gioui.org/cpu v0.0.0-20210808092351-bfe733dd3334/go.mod h1:A8M0Cn5o+vY5LTMlnRoK3O5kG+rH0kWfJjeKd9QpBmQ=
gioui.org/cpu v0.0.0-20210817075930-8d6a761490d2 h1:AGDDxsJE1RpcXTAxPG2B4jrwVUJGFDjINIPi1jtO6pc=
Home |
Main Index |
Thread Index |
Old Index