Skip to content

feat(pkgs/p): add protobuf@x.x.x#61

Open
Aimol-l wants to merge 1 commit into
mcpplibs:mainfrom
Aimol-l:add-protobuf-3.19.1
Open

feat(pkgs/p): add protobuf@x.x.x#61
Aimol-l wants to merge 1 commit into
mcpplibs:mainfrom
Aimol-l:add-protobuf-3.19.1

Conversation

@Aimol-l

@Aimol-l Aimol-l commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

添加protobuf包,版本 3.19.1
代码来源是opencv5.0.0的3rdparty/protobuf,而非官方仓库。

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new protobuf package descriptor to the mcpp-index so consumers can fetch protobuf v3.19.1 (noted as modularized from OpenCV’s 3rdparty/protobuf) via the index.

Changes:

  • Introduce the pkgs/p/protobuf.lua package descriptor for protobuf 3.19.1.
  • Provide per-platform xpm entries pointing to the GitHub release tarball and SHA256.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkgs/p/protobuf.lua
name = "protobuf",
description = "Protocol Buffers - Google's data interchange format (modularized from OpenCV 3rdparty)",
licenses = {"BSD-3-Clause"},
repo = "https://github.com/Aimol-l/protobuf-mcpp.git",
Comment thread pkgs/p/protobuf.lua
Comment on lines +11 to +13
maintainers = {"Aimol-l"},

xpm = {
Comment thread pkgs/p/protobuf.lua
@@ -0,0 +1,24 @@
-- AUTO-GENERATED by `mcpp emit xpkg`. Do not edit by hand.
-- Source: mcpp.toml @ v3.19.1
Comment thread pkgs/p/protobuf.lua
-- AUTO-GENERATED by `mcpp emit xpkg`. Do not edit by hand.
-- Source: mcpp.toml @ v3.19.1
package = {
spec = "1",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以增加一下 namespace 指向 aimol 做空间标识

@Sunrisepeak

Copy link
Copy Markdown
Member

以及文件名可以加ns前缀放到 a 下面

  • aimol.protobuf.lua

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants