aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Wakazono <pastalian46@gmail.com>2024-07-06 00:58:20 +0900
committerTakuya Wakazono <pastalian46@gmail.com>2024-07-07 18:01:17 +0900
commitc0f534bab3cefbdf2531f7b1472757817895a207 (patch)
treec502f076279e0039d6bd0e4d7c386c84d4f23963 /media-gfx
parentmedia-gfx/swayimg: add 2.2 (diff)
downloadguru-c0f534bab3cefbdf2531f7b1472757817895a207.tar.gz
guru-c0f534bab3cefbdf2531f7b1472757817895a207.tar.bz2
guru-c0f534bab3cefbdf2531f7b1472757817895a207.zip
media-gfx/swayimg: drop 2.1
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/swayimg/Manifest1
-rw-r--r--media-gfx/swayimg/files/swayimg-2.1-fix-automagic.patch25
-rw-r--r--media-gfx/swayimg/swayimg-2.1.ebuild61
3 files changed, 0 insertions, 87 deletions
diff --git a/media-gfx/swayimg/Manifest b/media-gfx/swayimg/Manifest
index f01fc0b3f..1f427d4d7 100644
--- a/media-gfx/swayimg/Manifest
+++ b/media-gfx/swayimg/Manifest
@@ -1,2 +1 @@
-DIST swayimg-2.1.tar.gz 407561 BLAKE2B 80e7acd457440af6bb6ed8fda35858d48dc063e8056f9273530609075f53f1b3166427d6bdb977cc82805bc09db14a2e4596b6ec25352177e5bab36b24ccb165 SHA512 970ea7f8896df28d14ed126c88ec70b3af88dba2977bc351184b66a1094fd1528b81150b8d09afbfac5463c59e20ce32d69872d6726f8129724f344f34892c05
DIST swayimg-2.2.tar.gz 313340 BLAKE2B 51c7bb01df02469a9b089cf9b83bcade78247e0c8d60031ce5a540a184f87b00fd7cce2732d0d99f256f1023a6d3ed4a79eb2e5dcc6f9e1097ee209048616491 SHA512 d7923c8bcb09c4a271dec41374df02e936d847f268d5e8e7dc9e50ebb639fc52592bc5a602e8df702bd536320c90e3277c699ebfa63d33327706c4350466e681
diff --git a/media-gfx/swayimg/files/swayimg-2.1-fix-automagic.patch b/media-gfx/swayimg/files/swayimg-2.1-fix-automagic.patch
deleted file mode 100644
index 373445622..000000000
--- a/media-gfx/swayimg/files/swayimg-2.1-fix-automagic.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Fix a issue that libjxl is automagicaly linked.
-https://github.com/artemsen/swayimg/commit/f8ea442c462b519de1ee6d9c4aa44d7b36b3d74f
---- a/meson.build 2024-03-12 17:00:50.239606131 +0900
-+++ b/meson.build 2024-03-12 17:03:23.185959883 +0900
-@@ -47,6 +47,7 @@
- heif = dependency('libheif', required: get_option('heif'))
- avif = dependency('libavif', required: get_option('avif'))
- jpeg = dependency('libjpeg', required: get_option('jpeg'))
-+jxl = dependency('libjxl', required: get_option('jxl'))
- png = dependency('libpng', required: get_option('png'))
- rsvg = dependency('librsvg-2.0', version: '>=2.46', required: get_option('svg'))
- tiff = dependency('libtiff-4', required: get_option('tiff'))
-@@ -55,12 +56,6 @@
- # optional dependencies: other features
- exif = dependency('libexif', required: get_option('exif'))
- bash = dependency('bash-completion', required: get_option('bash'))
--# Arch specific: https://bugs.archlinux.org/task/73931
--jxl_feature = get_option('jxl')
--jxl = dependency('libjxl', required: false)
--if not jxl.found() and (jxl_feature.auto() or jxl_feature.enabled())
-- jxl = cc.find_library('libjxl', required: jxl_feature)
--endif
- # non-Linux (BSD specific)
- epoll = dependency('epoll-shim', required: false)
- inotify = dependency('libinotify', required: false)
diff --git a/media-gfx/swayimg/swayimg-2.1.ebuild b/media-gfx/swayimg/swayimg-2.1.ebuild
deleted file mode 100644
index 3adef8f47..000000000
--- a/media-gfx/swayimg/swayimg-2.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson xdg
-
-DESCRIPTION="A lightweight image viewer for Wayland display servers"
-HOMEPAGE="https://github.com/artemsen/swayimg"
-SRC_URI="https://github.com/artemsen/swayimg/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="avif +exif exr +gif heif +jpeg jpegxl +png svg tiff webp bash-completion"
-
-RDEPEND="
- dev-libs/json-c:=
- dev-libs/wayland
- media-libs/fontconfig
- media-libs/freetype
- x11-libs/libxkbcommon
- avif? ( media-libs/libavif:= )
- bash-completion? ( app-shells/bash-completion )
- exif? ( media-libs/libexif )
- exr? ( media-libs/openexr:= )
- gif? ( media-libs/giflib:= )
- heif? ( media-libs/libheif:= )
- jpeg? ( media-libs/libjpeg-turbo:= )
- jpegxl? ( media-libs/libjxl:= )
- png? ( media-libs/libpng:= )
- svg? ( gnome-base/librsvg:2 )
- tiff? ( media-libs/tiff:= )
- webp? ( media-libs/libwebp:= )"
-DEPEND="${RDEPEND}
- dev-libs/wayland-protocols"
-BDEPEND="dev-util/wayland-scanner"
-
-PATCHES=( "${FILESDIR}/${P}-fix-automagic.patch" )
-
-src_configure() {
- local emesonargs=(
- $(meson_feature avif)
- $(meson_feature exif)
- $(meson_feature exr)
- $(meson_feature gif)
- $(meson_feature heif)
- $(meson_feature jpeg)
- $(meson_feature jpegxl jxl)
- $(meson_feature png)
- $(meson_feature svg)
- $(meson_feature tiff)
- $(meson_feature webp)
- $(meson_feature bash-completion bash)
- -Dversion=${PV}
- -Ddesktop=true
- -Dman=true
- -Dzsh=enabled
- )
- meson_src_configure
-}