diff --git a/ports/gdk-pixbuf/portfile.cmake b/ports/gdk-pixbuf/portfile.cmake index e73aba6b82..313e39a0b6 100644 --- a/ports/gdk-pixbuf/portfile.cmake +++ b/ports/gdk-pixbuf/portfile.cmake @@ -37,6 +37,12 @@ else() list(APPEND OPTIONS -Djpeg=disabled) endif() +if("others" IN_LIST FEATURES) + list(APPEND OPTIONS -Dothers=enabled) +else() + list(APPEND OPTIONS -Dothers=disabled) +endif() + if(CMAKE_HOST_WIN32 AND VCPKG_TARGET_ARCHITECTURE STREQUAL "x86") set(GIR_TOOL_DIR ${CURRENT_INSTALLED_DIR}) else() diff --git a/ports/gdk-pixbuf/vcpkg.json b/ports/gdk-pixbuf/vcpkg.json index f66ccab28e..424ae57be9 100644 --- a/ports/gdk-pixbuf/vcpkg.json +++ b/ports/gdk-pixbuf/vcpkg.json @@ -1,6 +1,7 @@ { "name": "gdk-pixbuf", "version": "2.42.12", + "port-version": 1, "description": "Image loading library.", "homepage": "https://gitlab.gnome.org/GNOME/gdk-pixbuf", "license": "LGPL-2.1-or-later", @@ -42,6 +43,9 @@ "libjpeg-turbo" ] }, + "others": { + "description": "Enable other loaders, which are weakly maintained (ani, bmp, icns, ico, pnm, qtif, tga, xbm, xpm)" + }, "png": { "description": "Enable PNG loader (requires libpng)", "dependencies": [ diff --git a/versions/baseline.json b/versions/baseline.json index b109b9d717..bbfdf79792 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2990,7 +2990,7 @@ }, "gdk-pixbuf": { "baseline": "2.42.12", - "port-version": 0 + "port-version": 1 }, "gemmlowp": { "baseline": "2021-09-28", diff --git a/versions/g-/gdk-pixbuf.json b/versions/g-/gdk-pixbuf.json index b72ee84482..fb3f3d3f76 100644 --- a/versions/g-/gdk-pixbuf.json +++ b/versions/g-/gdk-pixbuf.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "a3dd13dfa169e843726c8ac404a85d60aebdb981", + "version": "2.42.12", + "port-version": 1 + }, { "git-tree": "bbf12c7f576f4ecae98d0b4d8cdc0f5fc07f24fb", "version": "2.42.12",