summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-10-02 22:10:12 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-10-02 22:12:28 +0900
commitf50ec2dfd70a0d9a63effda0f5416f2989862939 (patch)
tree9c285a44981bd2df225eff798e8feb38d3f22d63 /media-libs/libsixel
parentdev-perl/USB-TMC: Version bump 0.009 (diff)
downloadgentoo-f50ec2dfd70a0d9a63effda0f5416f2989862939.tar.gz
gentoo-f50ec2dfd70a0d9a63effda0f5416f2989862939.tar.bz2
gentoo-f50ec2dfd70a0d9a63effda0f5416f2989862939.zip
media-libs/libsixel: drop static library
Closes: https://bugs.gentoo.org/815679 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'media-libs/libsixel')
-rw-r--r--media-libs/libsixel/files/libsixel-static-libs.patch11
-rw-r--r--media-libs/libsixel/libsixel-1.10.3.ebuild5
2 files changed, 15 insertions, 1 deletions
diff --git a/media-libs/libsixel/files/libsixel-static-libs.patch b/media-libs/libsixel/files/libsixel-static-libs.patch
new file mode 100644
index 000000000000..5184debb2b68
--- /dev/null
+++ b/media-libs/libsixel/files/libsixel-static-libs.patch
@@ -0,0 +1,11 @@
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -21,7 +21,7 @@
+ 'writer.c'
+ ]
+
+-libsixel = both_libraries('sixel',
++libsixel = shared_library('sixel',
+ sources,
+ include_directories: [inc, inc_config],
+ dependencies: libsixel_deps,
diff --git a/media-libs/libsixel/libsixel-1.10.3.ebuild b/media-libs/libsixel/libsixel-1.10.3.ebuild
index d9e158874cf4..9dc7dd57b9eb 100644
--- a/media-libs/libsixel/libsixel-1.10.3.ebuild
+++ b/media-libs/libsixel/libsixel-1.10.3.ebuild
@@ -30,7 +30,10 @@ BDEPEND="python? (
dev-python/setuptools[${PYTHON_USEDEP}]
)"
-PATCHES=( "${FILESDIR}"/${PN}-meson.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-meson.patch
+ "${FILESDIR}"/${PN}-static-libs.patch
+)
src_prepare() {
default