diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2018-11-11 02:13:27 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2018-11-11 02:13:27 +0300 |
commit | a062a2ebd781860c6c9acae130eed0aef017dee1 (patch) | |
tree | 3a0688051334136b7ff118b535114a8beacebc63 /app-text/zathura | |
parent | sys-auth/elogind: amd64 stable wrt bug #670866 (diff) | |
download | gentoo-a062a2ebd781860c6c9acae130eed0aef017dee1.tar.gz gentoo-a062a2ebd781860c6c9acae130eed0aef017dee1.tar.bz2 gentoo-a062a2ebd781860c6c9acae130eed0aef017dee1.zip |
app-text/zathura: update live ebuild
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-text/zathura')
-rw-r--r-- | app-text/zathura/zathura-9999.ebuild | 71 |
1 files changed, 33 insertions, 38 deletions
diff --git a/app-text/zathura/zathura-9999.ebuild b/app-text/zathura/zathura-9999.ebuild index 89006688f4d4..1b9071f73e74 100644 --- a/app-text/zathura/zathura-9999.ebuild +++ b/app-text/zathura/zathura-9999.ebuild @@ -1,69 +1,64 @@ # Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 -inherit eutils multilib toolchain-funcs virtualx xdg-utils +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/zathura.git" + 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" - SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz" fi -DESCRIPTION="A highly customizable and functional document viewer" -HOMEPAGE="http://pwmt.org/projects/zathura/" - LICENSE="ZLIB" SLOT="0" -IUSE="+magic sqlite synctex test" +IUSE="+magic seccomp sqlite synctex test" + +RDEPEND="dev-libs/appstream + >=dev-libs/girara-0.3.1 + >=dev-libs/glib-2.50:2 + dev-util/desktop-file-utils + dev-python/sphinx + 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 )" -RDEPEND=">=dev-libs/girara-0.2.7:= - >=dev-libs/glib-2.32:2= - x11-libs/cairo:= - >=x11-libs/gtk+-3.6:3 - magic? ( sys-apps/file:= ) - sqlite? ( dev-db/sqlite:3= ) - synctex? ( >=app-text/texlive-core-2015 )" DEPEND="${RDEPEND} - sys-devel/gettext - virtual/pkgconfig test? ( dev-libs/check )" -src_configure() { - myzathuraconf=( - WITH_MAGIC=$(usex magic 1 0) - WITH_SQLITE=$(usex sqlite 1 0) - WITH_SYNCTEX=$(usex synctex 1 0) - PREFIX="${EPREFIX}"/usr - LIBDIR='${PREFIX}'/$(get_libdir) - CC="$(tc-getCC)" - SFLAGS='' - VERBOSE=1 - DESTDIR="${D}" - ) -} +BDEPEND="virtual/pkgconfig" -src_compile() { - emake "${myzathuraconf[@]}" +src_configure() { + local emesonargs=( + --libdir=/usr/$(get_libdir) + -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() { - Xemake "${myzathuraconf[@]}" test -} - -src_install() { - emake "${myzathuraconf[@]}" install - dodoc AUTHORS + virtx meson_src_test } pkg_postinst() { + gnome2_icon_cache_update xdg_desktop_database_update } pkg_postrm() { + gnome2_icon_cache_update xdg_desktop_database_update } |