Package Details: vcpkg-git 2023.06.20.r43.g288e8bebf4-1

Git Clone URL: https://aur.archlinux.org/vcpkg-git.git (read-only, click to copy)
Package Base: vcpkg-git
Description: C++ library manager for Windows, Linux, and MacOS
Upstream URL: https://github.com/microsoft/vcpkg
Licenses: MIT
Conflicts: vcpkg
Provides: vcpkg
Submitter: ohmyarch
Maintainer: kyechou
Last Packager: kyechou
Votes: 10
Popularity: 0.000150
First Submitted: 2018-04-25 01:42 (UTC)
Last Updated: 2023-06-25 08:00 (UTC)

Required by (4)

Sources (3)

Pinned Comments

kyechou commented on 2021-10-08 20:01 (UTC)

Hi @ericfont, thanks for the suggestions. I just updated the package so that the vcpkg root is at /opt/vcpkg and both /opt/vcpkg and /var/cache/vcpkg are configured to be owned by the group vcpkg (with GID 499). The fixed-GID method seems to be the best we can get under this particular scenario. [ref: https://bbs.archlinux.org/viewtopic.php?id=241480] But I do also think that using vcpkg without a package manager makes more sense if the host machine is shared with other users.

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

ericfont commented on 2021-10-06 15:46 (UTC)

Unfortunately installing this package as root made it problematic for me to run vcpkg's example manifest tutorial (https://github.com/microsoft/vcpkg/blob/master/docs/users/manifests.md) as a regular user (https://github.com/ericfont/fibo-vcpkg-example/issues/1), which led me to use sudo priviliges when running the cmake command, which is not good practice. I brought this up in vcpkg help desk (https://github.com/microsoft/vcpkg/discussions/20541) but a couple vcpkg contributors/maintainers said:

"I don't think it is a good idea to run sudo vcpkg at all, unless you are on a throw-away system."

"It is discouraged to install vcpkg via a package manager. Use git clone to install it, then you also don't have this problem."

I also suggested I wonder if it maybe makes sense to have the /usr/share/vcpkg folder be under a new group ("vcpkg" maybe) permission rather than under sudo permissions, that way regular users could install vcpkg packages without escalating to sudo privileges. Or maybe it is best to not have an AUR package for vcpkg as that second contributor said.

kyechou commented on 2021-08-18 19:59 (UTC)

Hi @poldi1405, thanks! I've added some missing dependencies based on inspecting their scripts. Please let me know if there's any other issue.

mpldr commented on 2021-08-18 07:26 (UTC)

vcpkg seems to have an implicit dependency on zip... at least every package I tried installing so far required it.

JPenuchot commented on 2020-05-04 22:10 (UTC)

Hey, adding -disableMetrics to the bootstrap.sh call would be nice

bartus commented on 2020-02-28 16:59 (UTC)

Can we use mkdir -p build in prepare() (aurutils/vercmp is failing without -p switch.)

FranklinYu commented on 2019-11-29 01:24 (UTC) (edited on 2019-11-29 01:27 (UTC) by FranklinYu)

~~For maintainers of future vcpkg package: According to GitHub release page current versions have formats like 2019.09 and 2019.10. This looks like year and month. Since the version doesn't convey compatibility information I would prefer 20190900 and 20191000, in case in future it change to 2019.09.02 (year, month, day) or even 2019.09.02.90807 (append build number). Microsoft did these things previously.~~

Scratch everything above; we can use epoch in such case.

yochananmarqos commented on 2019-09-24 20:55 (UTC)

Tags are available:

pkgver() {
  cd vcpkg
  printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
2019.08.r167.3532a7cf3

ohmyarch commented on 2019-06-13 09:22 (UTC)

@rasphino Done.

rasphino commented on 2019-05-30 08:05 (UTC)

Hello dear vcpkg-git maintainer, I found the package generated by this AUR cannot run appropriately. I made this script and push it to archlinuxcn repo. I think my script is usable, so I wonder @ohmyarch would you mind adding me as a co-maintainer?