mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
app-text/zathura: Dreop old
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST zathura-0.4.1.tar.xz 148592 BLAKE2B c6fc495ce6413057dc86be95272e8178f32649c68f95052b2db00526b7805b1f6772c628902409af66ba88983171b5456f4cd26c77fcbe32023bf99d1081a55d SHA512 370e7fa12a3a3a2a973870a99f7b2b910c808d6932c1de9093630d7e8bd7d97feb4b7df713e9ac33c7927849b63174a899ce6eaa60db89b1c47d6e13ef181ad6
|
||||
DIST zathura-0.4.3.tar.xz 145796 BLAKE2B fe360d6ea2a11138324784beec8e8ebe0eaa83e4e682785a50265bbd0a77be0dcab4cd523923462398faaf918a4d304de148d64972dc9b6cb96578476e0ae6eb SHA512 427948025c20b2badb00921d03ec83e26806fd90d0d50cdcf0f3bcf645cd7206695faa3b5a7698d3d70b9bd60e8e68c920cf1e7f29855dd11a1a8ce6a7f8160b
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
From cc99b8d3491ce0cd30ba56decc33d811478bab0c Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Ramacher <sebastian@ramacher.at>
|
||||
Date: Tue, 30 Oct 2018 00:39:19 +0100
|
||||
Subject: [PATCH] Search for m instead of libm (fixes #757)
|
||||
|
||||
Thanks to Franz Trischberger for the fix.
|
||||
---
|
||||
meson.build | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index f54f104..afe9ae8 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -36,7 +36,7 @@ dbusinterfacesdir = join_paths(datadir, 'dbus-1', 'interfaces')
|
||||
plugindir = join_paths(get_option('libdir'), 'zathura')
|
||||
|
||||
# required dependencies
|
||||
-libm = cc.find_library('libm', required: false)
|
||||
+libm = cc.find_library('m', required: false)
|
||||
girara = dependency('girara-gtk3', version: '>=0.2.9')
|
||||
glib = dependency('glib-2.0', version: '>=2.50')
|
||||
gio = dependency('gio-unix-2.0', required: host_machine.system() != 'windows')
|
||||
--
|
||||
2.18.0
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit gnome2-utils meson virtualx xdg-utils
|
||||
|
||||
DESCRIPTION="A highly customizable and functional document viewer"
|
||||
HOMEPAGE="http://pwmt.org/projects/zathura/"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
else
|
||||
SRC_URI="https://pwmt.org/projects/zathura/download/${P}.tar.xz"
|
||||
KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
IUSE="+magic seccomp sqlite synctex test"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-find-libm.patch )
|
||||
|
||||
RDEPEND=">=dev-libs/girara-0.3.1
|
||||
>=dev-libs/glib-2.50:2
|
||||
dev-python/sphinx
|
||||
>=sys-devel/gettext-0.19.8
|
||||
x11-libs/cairo
|
||||
>=x11-libs/gtk+-3.22:3
|
||||
magic? ( sys-apps/file )
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
sqlite? ( >=dev-db/sqlite-3.5.9:3 )
|
||||
synctex? ( app-text/texlive-core )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-libs/check )"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Denable-magic=$(usex magic true false)
|
||||
-Denable-seccomp=$(usex seccomp true false)
|
||||
-Denable-sqlite=$(usex sqlite true false)
|
||||
-Denable-synctex=$(usex synctex true false)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx meson_src_test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
Reference in New Issue
Block a user