aboutsummaryrefslogtreecommitdiff
path: root/ports/pixel
diff options
context:
space:
mode:
authorJayesh Badwaik <jayeshbadwaik@users.noreply.github.com>2018-11-08 08:48:23 +0100
committerRobert Schumacher <roschuma@microsoft.com>2018-11-07 23:48:23 -0800
commit5459adf5decc9e64b7f0cf3b1ab57e2f2a636a87 (patch)
tree27e469d96f93f4e989a416720e99df470e9036e9 /ports/pixel
parent52b2759a75ddff09c088ee6fc7d0eba81a132991 (diff)
downloadvcpkg-5459adf5decc9e64b7f0cf3b1ab57e2f2a636a87.tar.gz
vcpkg-5459adf5decc9e64b7f0cf3b1ab57e2f2a636a87.zip
[pixel] added support for dascandy/pixel (#4637)
* + added support for dascandy/pixel * [pixel] Cleanup comments * [SDL2] Add SDL2::SDL2{,-static} wrapper * [pixel] update to v0.2 - fixes linking problem against SDL2 * [pixel] Bump control version
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..a6445bea3
--- /dev/null
+++ b/ports/pixel/CONTROL
@@ -0,0 +1,4 @@
+Source: pixel
+Version: 0.2
+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..a00dc88f6
--- /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.2
+ SHA512 53485d298e34f8fda6c14dc07687e21281e4ef9d0567a654e5ded0589e1ac8e6bd84adbef922f0a12806f508c887299a6fc99c2415313029b8f7a6efc1cc3f59
+ 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()