mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
wayland/swayimg: update to 5.2.
adds luajit dependency, config changed to lua see https://github.com/artemsen/swayimg/releases/tag/v5.0 https://github.com/artemsen/swayimg/releases/tag/v5.1 and https://github.com/artemsen/swayimg/releases/tag/v5.2
This commit is contained in:
@@ -5,7 +5,7 @@ COMMENT = image display utility for Wayland
|
||||
|
||||
GH_ACCOUNT = artemsen
|
||||
GH_PROJECT = swayimg
|
||||
GH_TAGNAME = v4.7
|
||||
GH_TAGNAME = v5.2
|
||||
|
||||
CATEGORIES = wayland
|
||||
|
||||
@@ -17,22 +17,22 @@ COMPILER_LANGS = c
|
||||
|
||||
MODULES = devel/meson
|
||||
|
||||
WANTLIB = OpenEXRCore-3_4 avif cairo epoll-shim exif fontconfig freetype
|
||||
WANTLIB += gif gobject-2.0 heif jpeg json-c jxl png raw rsvg-2 sixel tiff
|
||||
WANTLIB += wayland-client webp webpdemux xkbcommon
|
||||
WANTLIB += lib/inotify/inotify drm pthread c m
|
||||
WANTLIB += ${COMPILER_LIBCXX} Imath-3_2 OpenEXR-3_4 avif c cairo
|
||||
WANTLIB += drm epoll-shim exiv2 fontconfig freetype gif gobject-2.0
|
||||
WANTLIB += heif jpeg jxl jxl_threads luajit-5.1 m png raw rsvg-2
|
||||
WANTLIB += sixel tiff wayland-client webp webpdemux xkbcommon
|
||||
WANTLIB += lib/inotify/inotify
|
||||
|
||||
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -pthread"
|
||||
|
||||
LIB_DEPENDS = devel/epoll-shim \
|
||||
devel/json-c \
|
||||
devel/libinotify \
|
||||
graphics/cairo \
|
||||
graphics/exiv2 \
|
||||
graphics/giflib \
|
||||
graphics/jpeg \
|
||||
graphics/libavif \
|
||||
graphics/libexif \
|
||||
graphics/libjxl \
|
||||
graphics/libraw \
|
||||
graphics/libsixel \
|
||||
@@ -40,6 +40,7 @@ LIB_DEPENDS = devel/epoll-shim \
|
||||
graphics/openexr \
|
||||
graphics/png \
|
||||
graphics/tiff \
|
||||
lang/luajit \
|
||||
multimedia/libheif \
|
||||
wayland/wayland \
|
||||
x11/gnome/librsvg \
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (swayimg-4.7.tar.gz) = NClSqjD2LxY9/LNkSNfyqGCr+XK7JGkNLkmyi28rp8w=
|
||||
SIZE (swayimg-4.7.tar.gz) = 793940
|
||||
SHA256 (swayimg-5.2.tar.gz) = FMYXHhjwe/mqF8OKk/nGNPpbnyQCKUw4rP9vtS0qXfM=
|
||||
SIZE (swayimg-5.2.tar.gz) = 985902
|
||||
|
||||
@@ -1,32 +1,13 @@
|
||||
OpenBSD doesnt have librt
|
||||
|
||||
make sure rpath is set in the resulting binary for libinotify.so
|
||||
|
||||
Index: meson.build
|
||||
--- meson.build.orig
|
||||
+++ meson.build
|
||||
@@ -40,7 +40,7 @@ xkb = dependency('xkbcommon')
|
||||
fontconfig = dependency('fontconfig')
|
||||
freetype = dependency('freetype2')
|
||||
threads = dependency('threads')
|
||||
-rt = cc.find_library('rt')
|
||||
+# rt = cc.find_library('rt')
|
||||
m = cc.find_library('m')
|
||||
|
||||
# wayland support
|
||||
@@ -333,7 +333,7 @@ executable(
|
||||
dependencies: [
|
||||
# runtime
|
||||
m,
|
||||
- rt,
|
||||
+ # rt,
|
||||
threads,
|
||||
wlcln,
|
||||
epoll,
|
||||
@@ -359,5 +359,6 @@ executable(
|
||||
webp,
|
||||
webp_demux,
|
||||
],
|
||||
+ install_rpath : '/usr/local/lib/inotify',
|
||||
@@ -382,6 +382,7 @@ executable(
|
||||
sources + 'src/main.cpp',
|
||||
dependencies: dependencies,
|
||||
include_directories: 'src/external',
|
||||
+ install_rpath: '${LOCALBASE}/lib/inotify',
|
||||
install: true,
|
||||
)
|
||||
|
||||
|
||||
@@ -1,13 +1,20 @@
|
||||
@bin bin/swayimg
|
||||
@man man/man1/swayimg.1
|
||||
@man man/man5/swayimgrc.5
|
||||
share/applications/swayimg.desktop
|
||||
share/bash-completion/completions/swayimg
|
||||
share/doc/swayimg/
|
||||
share/doc/swayimg/CONFIG.md
|
||||
share/doc/swayimg/README.md
|
||||
share/doc/swayimg/USAGE.md
|
||||
share/icons/hicolor/128x128/apps/swayimg.png
|
||||
share/icons/hicolor/256x256/apps/swayimg.png
|
||||
share/icons/hicolor/64x64/apps/swayimg.png
|
||||
share/licenses/
|
||||
share/licenses/swayimg/
|
||||
share/licenses/swayimg/LICENSE
|
||||
share/swayimg/
|
||||
share/swayimg/swayimgrc
|
||||
share/swayimg/example.lua
|
||||
share/swayimg/swayimg.lua
|
||||
share/zsh/site-functions/_swayimg
|
||||
@tag update-desktop-database
|
||||
@tag gtk-update-icon-cache %D/share/icons/hicolor
|
||||
|
||||
Reference in New Issue
Block a user