File tree Expand file tree Collapse file tree 5 files changed +26
-88
lines changed Expand file tree Collapse file tree 5 files changed +26
-88
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- set (LIB_NAME gmime )
2
- set (LIB_VERSION 3.2.6 )
3
-
4
- set (LIB_FILENAME ${LIB_NAME} -${LIB_VERSION}.tar.xz )
5
-
6
1
vcpkg_download_distfile (ARCHIVE
7
- URLS "https://download.gnome.org/sources/gmime/3.2/${LIB_FILENAME} "
8
- FILENAME "${LIB_FILENAME} "
2
+ URLS "https://download.gnome.org/sources/gmime/3.2/gmime- ${VERSION} .tar.xz "
3
+ FILENAME "gmime- ${VERSION} .tar.xz "
9
4
SHA512 a60d3f9f1aa8490865c22cd9539544e9c9f3ceb4037b9749cf9e5c279f97aa88fc4cd077bf2aff314ba0db2a1b7bbe76f9b1ca5a17fffcbd6315ecebc5414a3d
10
5
)
11
6
12
7
vcpkg_extract_source_archive (
13
8
SOURCE_PATH
14
9
ARCHIVE "${ARCHIVE} "
15
- SOURCE_BASE "${LIB_VERSION} "
16
10
)
17
11
18
- file (COPY "${CMAKE_CURRENT_LIST_DIR} /CMakeLists.txt" DESTINATION "${SOURCE_PATH} " )
12
+ set (ENV{ACLOCAL} "aclocal -I \" ${CURRENT_INSTALLED_DIR} /share/aclocal/\" " )
13
+ set (ENV{GTKDOCIZE} true )
19
14
20
- # We can use file supplied with original sources
21
- configure_file ("${SOURCE_PATH} /build/vs2017/unistd.h" "${SOURCE_PATH} " COPYONLY )
22
- configure_file ("${SOURCE_PATH} /build/vs2017/config.h" "${SOURCE_PATH} " COPYONLY )
23
- configure_file ("${SOURCE_PATH} /build/vs2017/gmime.def" "${SOURCE_PATH} " COPYONLY )
24
- vcpkg_find_acquire_program (PKGCONFIG )
25
- vcpkg_cmake_configure (
15
+ vcpkg_configure_make (
26
16
SOURCE_PATH "${SOURCE_PATH} "
17
+ AUTOCONFIG
27
18
OPTIONS
28
- "-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG} "
19
+ --disable-crypto
20
+ --disable-glibtest
21
+ --disable-introspection
22
+ --disable-vala
29
23
)
30
-
31
- vcpkg_cmake_install ()
24
+ vcpkg_install_make ()
25
+ vcpkg_copy_pdbs ()
26
+ vcpkg_fixup_pkgconfig ()
32
27
33
28
file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug/include" )
34
29
35
- # License and man
36
- file (INSTALL "${SOURCE_PATH} /COPYING" DESTINATION "${CURRENT_PACKAGES_DIR} /share/${LIB_NAME} " RENAME copyright )
37
-
38
- vcpkg_copy_pdbs ()
30
+ vcpkg_install_copyright (FILE_LIST "${SOURCE_PATH} /COPYING" )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " gmime" ,
3
3
"version" : " 3.2.6" ,
4
- "port-version" : 6 ,
4
+ "port-version" : 7 ,
5
5
"description" : " GMime is a C/C++ library which may be used for the creation and parsing of messages using the Multipurpose Internet Mail Extension (MIME)." ,
6
- "homepage" : " https://developer.gnome.org/gmime/ " ,
6
+ "homepage" : " https://github.com/jstedfast/gmime " ,
7
7
"license" : " LGPL-2.1-or-later" ,
8
- "supports" : " windows & !xbox" ,
8
+ "supports" : " !xbox" ,
9
9
"dependencies" : [
10
10
" glib" ,
11
- " libiconv" ,
12
- " libidn2" ,
13
11
{
14
- "name" : " vcpkg-cmake " ,
15
- "host " : true
12
+ "name" : " libiconv " ,
13
+ "platform " : " !windows "
16
14
},
15
+ " libidn2" ,
17
16
" zlib"
18
17
]
19
18
}
Original file line number Diff line number Diff line change 3194
3194
},
3195
3195
"gmime" : {
3196
3196
"baseline" : " 3.2.6" ,
3197
- "port-version" : 6
3197
+ "port-version" : 7
3198
3198
},
3199
3199
"gmmlib" : {
3200
3200
"baseline" : " 22.5.2" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"versions" : [
3
+ {
4
+ "git-tree" : " 5b1f053f75ec146c2f4cd22afbe62f5d4673bc20" ,
5
+ "version" : " 3.2.6" ,
6
+ "port-version" : 7
7
+ },
3
8
{
4
9
"git-tree" : " 93e8b6f02474e1edb7e99db85020d864ee071ce0" ,
5
10
"version" : " 3.2.6" ,
You can’t perform that action at this time.
0 commit comments