From 3379681504efd6db46bc59094bcd231b777cdc9d Mon Sep 17 00:00:00 2001 From: EnumDev Date: Wed, 10 Sep 2025 13:17:59 +0300 Subject: [PATCH] Update package version to 3.11.2 --- check-version.sh | 9 +++++++++ pkg.info | 7 ++++--- source.sh | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 check-version.sh diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..66f4545 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Github repository +REPO="derf/feh" + +# Get tag name using Github Rest API +TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/tags | jq -r '.[0].name') + +echo "$TAG_NAME" diff --git a/pkg.info b/pkg.info index d5caf33..8b598f8 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,10 @@ name: feh description: Light-weight, configurable and versatile image viewer -version: 3.10.2 +version: 3.11.2 url: https://feh.finalrewind.org/ license: custom architecture: any -depends: ["curl","file","imlib2","libxinerama"] -make_depends: ["libxt"] +depends: ["curl","file","hicolor-icon-theme","imlib2","libexif","libxinerama"] +optional_depends: ["imagemagick"] +make_depends: ["libxt","perl-test-command"] type: source diff --git a/source.sh b/source.sh index 7761352..f3ba7eb 100644 --- a/source.sh +++ b/source.sh @@ -15,7 +15,7 @@ prepare() { # The build function is executed in the source directory # This function is used to compile the source code build() { - make PREFIX=/usr + make PREFIX=/usr exif=1 help=1 inotify=1 magic=1 stat64=1 } # The check function is executed in the source directory