2023-05-10 01:02:13 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/jhford/screenresolution/archive/v{{version.marketing}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
2023-06-27 00:07:03 +03:00
|
|
|
display-name: screenresolution
|
2023-05-10 01:02:13 +03:00
|
|
|
|
|
|
|
versions:
|
|
|
|
github: jhford/screenresolution/tags
|
|
|
|
|
|
|
|
platforms:
|
|
|
|
- darwin
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
script: |
|
|
|
|
curl $PATCH | patch -p1 || true
|
|
|
|
make
|
|
|
|
make PREFIX="{{prefix}}" install
|
|
|
|
env:
|
|
|
|
# Adds apple silicon support
|
|
|
|
PATCH: https://github.com/jhford/screenresolution/commit/c3c1e5c498cf2e1fbe37f90899a3d440305398bd.patch
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/screenresolution
|
|
|
|
|
|
|
|
test:
|
|
|
|
screenresolution get
|