diff options
author | Marek Szuba <marecki@gentoo.org> | 2020-07-27 20:35:02 +0200 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2020-07-27 20:37:06 +0200 |
commit | 4abb3e1488e73d15d8980b9a07e72f4c6bd8beb7 (patch) | |
tree | 2c247009da59dddff176d5680ebc83a2ddb5ec0e /app-text/xiphos | |
parent | x11-misc/xdg-utils: stable 1.1.3_p20200220 for hppa, bug #733598 (diff) | |
download | gentoo-4abb3e1488e73d15d8980b9a07e72f4c6bd8beb7.tar.gz gentoo-4abb3e1488e73d15d8980b9a07e72f4c6bd8beb7.tar.bz2 gentoo-4abb3e1488e73d15d8980b9a07e72f4c6bd8beb7.zip |
app-text/xiphos: bump to 4.2.1
The first Python-free release - upstream has switched from Waf to CMake.
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-text/xiphos')
-rw-r--r-- | app-text/xiphos/Manifest | 1 | ||||
-rw-r--r-- | app-text/xiphos/files/xiphos-4.2.1-appdata_metainfo.patch | 11 | ||||
-rw-r--r-- | app-text/xiphos/xiphos-4.2.1.ebuild | 63 |
3 files changed, 75 insertions, 0 deletions
diff --git a/app-text/xiphos/Manifest b/app-text/xiphos/Manifest index 3bb3026e0888..6ee6ace69253 100644 --- a/app-text/xiphos/Manifest +++ b/app-text/xiphos/Manifest @@ -1,2 +1,3 @@ DIST xiphos-4.0.6a-20170820.tar.gz 30584893 BLAKE2B a3b76543c8d1c0d03fcc2f567751df49230ef1d35019bec98ef726edb6a519424d0c773d4ff6f7eb3ad714f56af6dac19fc1ac2dc29560b03e3ec3ea9a46ccfd SHA512 a0577521c6b9033b74b3b0a0fd7a88222de00dc2e9db100d66e1bb60bc117173badd26c47d2e896ffa167c52a263c9bf9046d650a9b4ae497bec6164bfb0a29b DIST xiphos-4.1.0.tar.gz 30623199 BLAKE2B 3f4e804b346b5f3225458bf3653d033c95fb4cb8148b5e1c7d7ba875637877df1489d43b22e6d47ed1d477545d564da57d864f54e4a4e30c61e4b4c94b3f2066 SHA512 f2da65a0cf10cda5ca471a09d351be8e2e5601857b4cb363ba45865e4595bebbc9b8cfa47660a1106b1521b4059d341c7e8c04c0c712387b913bdf994d1c6400 +DIST xiphos-4.2.1.tar.gz 28373966 BLAKE2B 33f4cb8884add292047d4c9a594ee467f6a294c0732af54802ffa556c5d97978f398fc1b5da52d5620413305d4efe9ea1a3e680dc4db1dde962d5c9028c360cf SHA512 4ce92b86e1915fa4d0ffa867a3542ff697195dd176dff1c5d00193a9556ecfc60623049bf45837a2f60317c392b3c4365742a7490ac8304a6f1b9491e3318077 diff --git a/app-text/xiphos/files/xiphos-4.2.1-appdata_metainfo.patch b/app-text/xiphos/files/xiphos-4.2.1-appdata_metainfo.patch new file mode 100644 index 000000000000..fddfd2eca957 --- /dev/null +++ b/app-text/xiphos/files/xiphos-4.2.1-appdata_metainfo.patch @@ -0,0 +1,11 @@ +--- a/desktop/CMakeLists.txt ++++ b/desktop/CMakeLists.txt +@@ -96,7 +96,7 @@ + ) + # install file + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.appdata.xml +- DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/appdata ++ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/metainfo + COMPONENT data + ) + diff --git a/app-text/xiphos/xiphos-4.2.1.ebuild b/app-text/xiphos/xiphos-4.2.1.ebuild new file mode 100644 index 000000000000..7a03b2cb28bb --- /dev/null +++ b/app-text/xiphos/xiphos-4.2.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake xdg-utils + +DESCRIPTION="A Gtk+-based Bible-study frontend for SWORD" +HOMEPAGE="https://xiphos.org/" +SRC_URI="https://github.com/crosswire/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-2 FDL-1.1 LGPL-2 MIT MPL-1.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="dbus debug" + +COMMON="sys-apps/util-linux + dev-libs/libxml2 + dev-libs/libxslt + dbus? ( dev-libs/dbus-glib )" +RDEPEND="${COMMON} + >=app-text/sword-1.8.1 + dev-libs/glib:2 + dev-libs/icu + gnome-extra/gtkhtml:4.0 + >=net-libs/biblesync-1.2.0 + net-libs/webkit-gtk:4 + sys-libs/zlib[minizip] + x11-libs/gtk+:3" +DEPEND="${RDEPEND}" +BDEPEND="${COMMON} + app-arch/zip + app-text/yelp-tools + dev-libs/appstream-glib + dev-util/desktop-file-utils + dev-util/glib-utils + dev-util/itstool + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-4.2.1-appdata_metainfo.patch +) + +src_configure() { + # TODO: stop using gtkhtml, it is deprecated (Bug #667914). However, as + # of 4.2.1 it is still required because the WebKit-based editor + # does not support webkit-gtk:4. + local mycmakeargs=( + -DDBUS=$(usex dbus) + -DDEBUG=$(usex debug) + -DGTKHTML=on + -DPOSTINST=off + ) + cmake_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} |