aboutsummaryrefslogtreecommitdiff
path: root/ports/lodepng
diff options
context:
space:
mode:
authorKyle Benesch <4b796c65+github@gmail.com>2021-03-29 10:11:07 -0700
committerGitHub <noreply@github.com>2021-03-29 10:11:07 -0700
commitcda58bef39757452778a4c81470623a29905a0cb (patch)
tree119a4a8a8291419c5ed081ba25ee90f1583fef6c /ports/lodepng
parentaaa6a031ced87d5b2c04023029bc5746dac52cb4 (diff)
downloadvcpkg-cda58bef39757452778a4c81470623a29905a0cb.tar.gz
vcpkg-cda58bef39757452778a4c81470623a29905a0cb.zip
[libtcod] Add new port. (#16408)
* [libtcod] Add new port. * [lodepng-c] Add port lodepng-c, conflict with lodepng * [libtcode] Fix dependencies * [libtcod] Re-fix dependency utf8proc * update version record * [lodepng-c/lodepng] Add conflict message * add baseline * remove port-version * update port-version * update version record * [libtcod] Update to 1.16.6. Patches applied upstream. Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Diffstat (limited to 'ports/lodepng')
-rw-r--r--ports/lodepng/CONTROL4
-rw-r--r--ports/lodepng/portfile.cmake3
-rw-r--r--ports/lodepng/vcpkg.json7
3 files changed, 10 insertions, 4 deletions
diff --git a/ports/lodepng/CONTROL b/ports/lodepng/CONTROL
deleted file mode 100644
index b9238548f..000000000
--- a/ports/lodepng/CONTROL
+++ /dev/null
@@ -1,4 +0,0 @@
-Source: lodepng
-Version: 2020-03-15
-Homepage: https://github.com/lvandeve/lodepng
-Description: PNG encoder and decoder in C and C++
diff --git a/ports/lodepng/portfile.cmake b/ports/lodepng/portfile.cmake
index 680c04d71..2075d6789 100644
--- a/ports/lodepng/portfile.cmake
+++ b/ports/lodepng/portfile.cmake
@@ -1,3 +1,6 @@
+if (EXISTS ${CURRENT_INSTALLED_DIR}/share/lodepng-c/copyright)
+ message(FATAL_ERROR "${PORT} conflict with lodepng-c, please remove lodepng-c before install ${PORT}.")
+endif()
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
diff --git a/ports/lodepng/vcpkg.json b/ports/lodepng/vcpkg.json
new file mode 100644
index 000000000..7a004463c
--- /dev/null
+++ b/ports/lodepng/vcpkg.json
@@ -0,0 +1,7 @@
+{
+ "name": "lodepng",
+ "version-string": "2020-03-15",
+ "port-version": 1,
+ "description": "PNG encoder and decoder in C++",
+ "homepage": "https://github.com/lvandeve/lodepng"
+}