From ce0c57a334cb313099f4cf56ffac5490f0da519d Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Tue, 11 May 2021 09:35:04 +0200 Subject: [allgero5] vcpkg_fixup_pkgconfig (#17775) * vcpkg_fixup_pkgconfig for allgero5 * version stuff --- ports/allegro5/CONTROL | 5 ----- ports/allegro5/portfile.cmake | 1 + ports/allegro5/vcpkg.json | 22 ++++++++++++++++++++++ versions/a-/allegro5.json | 5 +++++ versions/baseline.json | 2 +- 5 files changed, 29 insertions(+), 6 deletions(-) delete mode 100644 ports/allegro5/CONTROL create mode 100644 ports/allegro5/vcpkg.json 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" + ] +} diff --git a/versions/a-/allegro5.json b/versions/a-/allegro5.json index 5b737ffce..8b467274f 100644 --- a/versions/a-/allegro5.json +++ b/versions/a-/allegro5.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "b851d9d0babf00bdd273eec402aea26e826cb517", + "version": "5.2.6.0", + "port-version": 1 + }, { "git-tree": "ffd182fe5ba2979356a59dee5cb050e22ef500e9", "version-string": "5.2.6.0", diff --git a/versions/baseline.json b/versions/baseline.json index ab52f4ce9..ff9393edc 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -54,7 +54,7 @@ }, "allegro5": { "baseline": "5.2.6.0", - "port-version": 0 + "port-version": 1 }, "ampl-asl": { "baseline": "2020-11-11", -- cgit v1.2.3