ScoopInstaller / Extras

đŸ“¦ The Extras bucket for Scoop.

Home Page:https://scoop.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Request]: vipsdisp

o-l-a-v opened this issue · comments

Prerequisites

  • I have searched all issues/PRs to ensure it has not already been reported or fixed.

Criteria

  • Reasonably well-known and widely used (e.g. if it's a GitHub project, it should have at least 100 stars and/or 50 forks)
  • English interface (or at least English documentation)
  • Latest stable version
  • Full version (i.e. not a trial version)
  • Fairly standard install (e.g. uses a version-specific download URL, no elaborate pre/post install scripts)

Name

vipsdisp

Description

Tiny libvips / gtk+4 image viewer

Homepage

https://github.com/jcupitt/vipsdisp

Download Link(s)

https://github.com/jcupitt/vipsdisp/releases

Some Indication of Popularity/Repute

More than 100 stars on GitHub.

It's on Flathub too:

I started on a manifest but discovered the following that makes authoring it not as straight forward as I thought: Here's the dir hierarchy inside the downloaded zip ( https://github.com/jcupitt/vipsdisp/releases/download/v3.0.4/vipsdisp-3.0.4-w64.zip ):

  • vipsdisp-3.0.4\bin\vipsdisp.exe

Where the first folder/dir name will be dynamic, changing each version. Right now I don't know how to solve that.

Manifest so far:

Click to view
{
    "version": "3.0.4",
    "description": "Tiny libvips / gtk+4 image viewer",
    "homepage": "https://github.com/jcupitt/vipsdisp",
    "license": "MIT",
    "architecture": {
        "64bit": {
            "url": "https://github.com/jcupitt/vipsdisp/releases/download/v3.0.4/vipsdisp-3.0.4-w64.zip",
            "hash": "2c789fe53f8ee56715448c7c2198b0cf7b647932647271ea035ff1a66c405a88"
        }
    },
    "shortcuts": [
        [
            "vipsdisp-3.0.4\\bin\\vipsdisp.exe",
            "vipsdisp"
        ]
    ],
    "checkver": {
        "github": "https://github.com/jcupitt/vipsdisp"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/jcupitt/vipsdisp/releases/download/v$version/vipsdisp-$version-w64.zip"
            }
        }
    }
}

I started on a manifest but discovered the following that makes authoring it not as straight forward as I thought: Here's the dir hierarchy inside the downloaded zip ( https://github.com/jcupitt/vipsdisp/releases/download/v3.0.4/vipsdisp-3.0.4-w64.zip ):

* `vipsdisp-3.0.4\bin\vipsdisp.exe`

Where the first folder/dir name will be dynamic, changing each version. Right now I don't know how to solve that.

Manifest so far:
Click to view

Use extract_dir (along with url and hash), both for download section and in autoupdate.
See e.g. nodejs, nginx manifests.
Remove the dynamic path from shortcuts as well.