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_ACCOUNT = artemsen
|
||||||
GH_PROJECT = swayimg
|
GH_PROJECT = swayimg
|
||||||
GH_TAGNAME = v4.7
|
GH_TAGNAME = v5.2
|
||||||
|
|
||||||
CATEGORIES = wayland
|
CATEGORIES = wayland
|
||||||
|
|
||||||
@@ -17,22 +17,22 @@ COMPILER_LANGS = c
|
|||||||
|
|
||||||
MODULES = devel/meson
|
MODULES = devel/meson
|
||||||
|
|
||||||
WANTLIB = OpenEXRCore-3_4 avif cairo epoll-shim exif fontconfig freetype
|
WANTLIB += ${COMPILER_LIBCXX} Imath-3_2 OpenEXR-3_4 avif c cairo
|
||||||
WANTLIB += gif gobject-2.0 heif jpeg json-c jxl png raw rsvg-2 sixel tiff
|
WANTLIB += drm epoll-shim exiv2 fontconfig freetype gif gobject-2.0
|
||||||
WANTLIB += wayland-client webp webpdemux xkbcommon
|
WANTLIB += heif jpeg jxl jxl_threads luajit-5.1 m png raw rsvg-2
|
||||||
WANTLIB += lib/inotify/inotify drm pthread c m
|
WANTLIB += sixel tiff wayland-client webp webpdemux xkbcommon
|
||||||
|
WANTLIB += lib/inotify/inotify
|
||||||
|
|
||||||
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
LDFLAGS="-L${LOCALBASE}/lib -pthread"
|
LDFLAGS="-L${LOCALBASE}/lib -pthread"
|
||||||
|
|
||||||
LIB_DEPENDS = devel/epoll-shim \
|
LIB_DEPENDS = devel/epoll-shim \
|
||||||
devel/json-c \
|
|
||||||
devel/libinotify \
|
devel/libinotify \
|
||||||
graphics/cairo \
|
graphics/cairo \
|
||||||
|
graphics/exiv2 \
|
||||||
graphics/giflib \
|
graphics/giflib \
|
||||||
graphics/jpeg \
|
graphics/jpeg \
|
||||||
graphics/libavif \
|
graphics/libavif \
|
||||||
graphics/libexif \
|
|
||||||
graphics/libjxl \
|
graphics/libjxl \
|
||||||
graphics/libraw \
|
graphics/libraw \
|
||||||
graphics/libsixel \
|
graphics/libsixel \
|
||||||
@@ -40,6 +40,7 @@ LIB_DEPENDS = devel/epoll-shim \
|
|||||||
graphics/openexr \
|
graphics/openexr \
|
||||||
graphics/png \
|
graphics/png \
|
||||||
graphics/tiff \
|
graphics/tiff \
|
||||||
|
lang/luajit \
|
||||||
multimedia/libheif \
|
multimedia/libheif \
|
||||||
wayland/wayland \
|
wayland/wayland \
|
||||||
x11/gnome/librsvg \
|
x11/gnome/librsvg \
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
SHA256 (swayimg-4.7.tar.gz) = NClSqjD2LxY9/LNkSNfyqGCr+XK7JGkNLkmyi28rp8w=
|
SHA256 (swayimg-5.2.tar.gz) = FMYXHhjwe/mqF8OKk/nGNPpbnyQCKUw4rP9vtS0qXfM=
|
||||||
SIZE (swayimg-4.7.tar.gz) = 793940
|
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
|
make sure rpath is set in the resulting binary for libinotify.so
|
||||||
|
|
||||||
Index: meson.build
|
Index: meson.build
|
||||||
--- meson.build.orig
|
--- meson.build.orig
|
||||||
+++ meson.build
|
+++ meson.build
|
||||||
@@ -40,7 +40,7 @@ xkb = dependency('xkbcommon')
|
@@ -382,6 +382,7 @@ executable(
|
||||||
fontconfig = dependency('fontconfig')
|
sources + 'src/main.cpp',
|
||||||
freetype = dependency('freetype2')
|
dependencies: dependencies,
|
||||||
threads = dependency('threads')
|
include_directories: 'src/external',
|
||||||
-rt = cc.find_library('rt')
|
+ install_rpath: '${LOCALBASE}/lib/inotify',
|
||||||
+# 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',
|
|
||||||
install: true,
|
install: true,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +1,20 @@
|
|||||||
@bin bin/swayimg
|
@bin bin/swayimg
|
||||||
@man man/man1/swayimg.1
|
@man man/man1/swayimg.1
|
||||||
@man man/man5/swayimgrc.5
|
|
||||||
share/applications/swayimg.desktop
|
share/applications/swayimg.desktop
|
||||||
share/bash-completion/completions/swayimg
|
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/128x128/apps/swayimg.png
|
||||||
share/icons/hicolor/256x256/apps/swayimg.png
|
share/icons/hicolor/256x256/apps/swayimg.png
|
||||||
share/icons/hicolor/64x64/apps/swayimg.png
|
share/icons/hicolor/64x64/apps/swayimg.png
|
||||||
|
share/licenses/
|
||||||
|
share/licenses/swayimg/
|
||||||
|
share/licenses/swayimg/LICENSE
|
||||||
share/swayimg/
|
share/swayimg/
|
||||||
share/swayimg/swayimgrc
|
share/swayimg/example.lua
|
||||||
|
share/swayimg/swayimg.lua
|
||||||
share/zsh/site-functions/_swayimg
|
share/zsh/site-functions/_swayimg
|
||||||
@tag update-desktop-database
|
@tag update-desktop-database
|
||||||
@tag gtk-update-icon-cache %D/share/icons/hicolor
|
@tag gtk-update-icon-cache %D/share/icons/hicolor
|
||||||
|
|||||||
Reference in New Issue
Block a user