aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorAlexander Neumann <30894796+Neumann-A@users.noreply.github.com>2021-05-11 09:35:04 +0200
committerGitHub <noreply@github.com>2021-05-11 00:35:04 -0700
commitce0c57a334cb313099f4cf56ffac5490f0da519d (patch)
tree6d39e6452319945ced90d97dbc2e782e0823c86f /ports
parent42edfd6e40fa4fabdeacc52448c6094b7d2f6e0c (diff)
downloadvcpkg-ce0c57a334cb313099f4cf56ffac5490f0da519d.tar.gz
vcpkg-ce0c57a334cb313099f4cf56ffac5490f0da519d.zip
[allgero5] vcpkg_fixup_pkgconfig (#17775)
* vcpkg_fixup_pkgconfig for allgero5 * version stuff
Diffstat (limited to 'ports')
-rw-r--r--ports/allegro5/CONTROL5
-rw-r--r--ports/allegro5/portfile.cmake1
-rw-r--r--ports/allegro5/vcpkg.json22
3 files changed, 23 insertions, 5 deletions
diff --git a/ports/allegro5/CONTROL b/ports/allegro5/CONTROL
deleted file mode 100644
index 1672e4f64..000000000
--- a/ports/allegro5/CONTROL
+++ /dev/null
@@ -1,5 +0,0 @@
-Source: allegro5
-Version: 5.2.6.0
-Homepage: https://github.com/liballeg/allegro5
-Description: Allegro is a cross-platform library mainly aimed at video game and multimedia programming. It handles common, low-level tasks such as creating windows, accepting user input, loading data, drawing images, playing sounds, etc. and generally abstracting away the underlying platform. However, Allegro is not a game engine: you are free to design and structure your program as you like.
-Build-Depends: opengl, zlib, freetype, libogg, libvorbis, libflac, openal-soft, libpng, bzip2, physfs, libtheora, opus, opusfile
diff --git a/ports/allegro5/portfile.cmake b/ports/allegro5/portfile.cmake
index 868bcb1fc..7748a4831 100644
--- a/ports/allegro5/portfile.cmake
+++ b/ports/allegro5/portfile.cmake
@@ -63,6 +63,7 @@ vcpkg_configure_cmake(
)
vcpkg_install_cmake()
+vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(GLOB PDB_GLOB ${CURRENT_BUILDTREES_DIR}-dbg/lib/*.pdb)
diff --git a/ports/allegro5/vcpkg.json b/ports/allegro5/vcpkg.json
new file mode 100644
index 000000000..fe3541d84
--- /dev/null
+++ b/ports/allegro5/vcpkg.json
@@ -0,0 +1,22 @@
+{
+ "name": "allegro5",
+ "version": "5.2.6.0",
+ "port-version": 1,
+ "description": "Allegro is a cross-platform library mainly aimed at video game and multimedia programming. It handles common, low-level tasks such as creating windows, accepting user input, loading data, drawing images, playing sounds, etc. and generally abstracting away the underlying platform. However, Allegro is not a game engine: you are free to design and structure your program as you like.",
+ "homepage": "https://github.com/liballeg/allegro5",
+ "dependencies": [
+ "bzip2",
+ "freetype",
+ "libflac",
+ "libogg",
+ "libpng",
+ "libtheora",
+ "libvorbis",
+ "openal-soft",
+ "opengl",
+ "opus",
+ "opusfile",
+ "physfs",
+ "zlib"
+ ]
+}