File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ ENV PATH="$VCPKG_ROOT:$PATH"
2626ARG TRIPLET
2727COPY vcpkg.json vcpkg-configuration.json ./
2828COPY vcpkg-triplets ./vcpkg-triplets
29+ COPY vcpkg-ports ./vcpkg-ports
2930RUN --mount=type=cache,target=/build/vcpkg/downloads \
3031 --mount=type=cache,target=/build/vcpkg/buildtrees \
3132 vcpkg install --triplet "$TRIPLET"
Original file line number Diff line number Diff line change 22 "overlay-triplets" : [
33 " ./vcpkg-triplets"
44 ],
5+ "overlay-ports" : [
6+ " ./vcpkg-ports"
7+ ],
58 "default-registry" : {
69 "kind" : " git" ,
710 "baseline" : " c59b04f668d20c7dd83f478835e8266a3cc51270" ,
Original file line number Diff line number Diff line change 1+ vcpkg_from_github (
2+ OUT_SOURCE_PATH SOURCE_PATH
3+ REPO avahi/avahi
4+ REF "v${VERSION} "
5+ SHA512 27bba9a551152dfc7e721f326042e7bfce55d227044a6cbaee04d6fb0e3f59c36e159c2b7a4dd42d1c955cdf37cc1c303e91991c08928bbded91d796e9a22abe
6+ HEAD_REF master
7+ )
8+
9+ vcpkg_configure_make (
10+ SOURCE_PATH "${SOURCE_PATH} "
11+ AUTOCONFIG
12+ COPY_SOURCE
13+ OPTIONS
14+ --with-distro=none
15+ --disable-python
16+ --disable-manpages
17+ --disable-libevent
18+ --disable-gtk
19+ --disable-gtk3
20+ --disable-mono
21+ --disable-monodoc
22+ --disable-qt4
23+ --disable-qt5
24+ --disable-glib
25+ --disable-gobject
26+ --disable-libdaemon
27+ --disable-gdbm
28+ )
29+
30+ vcpkg_install_make ()
31+ vcpkg_fixup_pkgconfig ()
32+
33+ vcpkg_install_copyright (FILE_LIST "${SOURCE_PATH} /LICENSE" )
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " avahi" ,
3+ "version" : " 0.8" ,
4+ "description" : " Service Discovery for Linux using mDNS/DNS-SD" ,
5+ "homepage" : " www.avahi.org" ,
6+ "license" : " LGPL-2.1-or-later" ,
7+ "supports" : " linux" ,
8+ "dependencies" : [
9+ {
10+ "name" : " dbus" ,
11+ "default-features" : false
12+ }
13+ ]
14+ }
Original file line number Diff line number Diff line change @@ -3,3 +3,7 @@ set(VCPKG_LIBRARY_LINKAGE dynamic)
33
44set (VCPKG_CMAKE_SYSTEM_NAME Linux )
55set (VCPKG_BUILD_TYPE release)
6+
7+ if (PORT STREQUAL "dbus" )
8+ set (VCPKG_CMAKE_CONFIGURE_OPTIONS -DDBUS_SESSION_SOCKET_DIR=/tmp)
9+ endif ()
Original file line number Diff line number Diff line change 11{
22 "dependencies" : [
33 " alsa" ,
4+ " avahi" ,
5+ {
6+ "name" : " dbus" ,
7+ "default-features" : false
8+ },
49 " libvorbis"
510 ]
611}
You can’t perform that action at this time.
0 commit comments