aboutsummaryrefslogtreecommitdiff
path: root/ports/pixel
diff options
context:
space:
mode:
authoreao197 <eao197@gmail.com>2018-11-12 16:19:10 +0300
committereao197 <eao197@gmail.com>2018-11-12 16:19:10 +0300
commit2d0ce681b068da0b05c3a4a99573dd00a9415eba (patch)
tree85f9572b8edaa611199d6e281af278e56d0094bf /ports/pixel
parent8c13a782a044edc67f655b5dcb0227e737136e74 (diff)
parent8dc8d0e0c97550a95b764287adbad90b7df7d11d (diff)
downloadvcpkg-2d0ce681b068da0b05c3a4a99573dd00a9415eba.tar.gz
vcpkg-2d0ce681b068da0b05c3a4a99573dd00a9415eba.zip
Merge https://github.com/Microsoft/vcpkg
Diffstat (limited to 'ports/pixel')
-rw-r--r--ports/pixel/CONTROL4
-rw-r--r--ports/pixel/portfile.cmake21
2 files changed, 25 insertions, 0 deletions
diff --git a/ports/pixel/CONTROL b/ports/pixel/CONTROL
new file mode 100644
index 000000000..50b1bd0a8
--- /dev/null
+++ b/ports/pixel/CONTROL
@@ -0,0 +1,4 @@
+Source: pixel
+Version: 0.3
+Description: Simple 2D Graphics based on standard and portable OpenGL.
+Build-Depends: glew, opengl, sdl2
diff --git a/ports/pixel/portfile.cmake b/ports/pixel/portfile.cmake
new file mode 100644
index 000000000..4e2e9d7ac
--- /dev/null
+++ b/ports/pixel/portfile.cmake
@@ -0,0 +1,21 @@
+include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO dascandy/pixel
+ REF v0.3
+ SHA512 d7d622679195d0eb30c8ed411333711369b108e2171d1e4b0a93c7ae3bd1fb36a25fbe1f5771c858615c07ee139412e5353b8cb5489cb409dd94829253c18a7b
+ HEAD_REF master
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+)
+
+vcpkg_install_cmake()
+
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
+
+vcpkg_copy_pdbs()