summaryrefslogtreecommitdiff
path: root/app-text/xiphos
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /app-text/xiphos
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'app-text/xiphos')
-rw-r--r--app-text/xiphos/Manifest7
-rw-r--r--app-text/xiphos/files/xiphos-4.2.1-appdata_metainfo.patch11
-rw-r--r--app-text/xiphos/metadata.xml5
-rw-r--r--app-text/xiphos/xiphos-4.1.0-r2.ebuild91
-rw-r--r--app-text/xiphos/xiphos-4.2.1.ebuild63
5 files changed, 81 insertions, 96 deletions
diff --git a/app-text/xiphos/Manifest b/app-text/xiphos/Manifest
index 4a6d2eebb3aa..9e1b0097d603 100644
--- a/app-text/xiphos/Manifest
+++ b/app-text/xiphos/Manifest
@@ -1,5 +1,6 @@
+AUX xiphos-4.2.1-appdata_metainfo.patch 312 BLAKE2B 9d08588d0cce33f56b45a882246528afcf36fd9b24bbf7fadeec270a24d230bec5a0ef2436b7a70358aff9946e19ed3bd60304bb786f4920f389ce2389bb146f SHA512 59d9ea167ccdbdbc7b90eedbe58e12fe9b11043b48442143d6bff67f2853d717597e7023c7898936a63e6e9def599b6309330e31a394dfb4c807ae95fdc63d52
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
EBUILD xiphos-4.0.6a-r2.ebuild 2053 BLAKE2B b9bd97ee6e3da5a10b98db3eaf45e6d5a746e852e4b7762e9fafca1213c471794035170fb9b43563144e7666709e749aa8748701435331e399d647441ca12ec6 SHA512 1a9b16294c1013f4b35da37c3bd3c6169e3e067f95f8d9505ab1042294df1c5d4877eb9353018f1ff71843e915c676127157b4c4a8d27ac77a4ee42f64c629d5
-EBUILD xiphos-4.1.0-r2.ebuild 2006 BLAKE2B 2c54a0561b481fffd95e5a88257b19033725c970c21e45fcb579ef1cded0506d5b08bbbdb91486cfff6709798b541f9978cc164c7458a7267c9417e55335c0b4 SHA512 a8fec9304f9136dcc9be657bbde58871ce4f2433a94919a769dba56dc1992278cc3906c5817812343504a47cfedbc514b9a0b5f3519fa3be5cd4ce8d58c35964
-MISC metadata.xml 300 BLAKE2B 84a7c7a8de67cb50a6c042a07d91b56067bec4e449c2a888d77f9c17ae23f5cf82f59d32237dd649af9b34bcd13df34f0fe19997ac57f7b468db4f50b281829c SHA512 0e8ea5d19ca48a68c4266c8cefb5c29d43d56c2ba61f271460ac35d5d8be18486c84ade898e2a8b647648afa24a19ee04ee60f2fca5a0fe358920deec2418340
+EBUILD xiphos-4.2.1.ebuild 1335 BLAKE2B 22174bc8c2942e832255746e6151bfa0807574bdaa1f53858344c38958b8e2958195e2620570745c6aecabd6a8d6dd3539e76b54b06f35c29f97af180d5eddae SHA512 14019cd40634b2891de9aa894e932db91055ce9c26d5a514392ee50f43a75e27470a399101a0e11c9fa246425976b8991c7c3398c1675823468c4539e20e83a3
+MISC metadata.xml 325 BLAKE2B 1fcf098a010153588db7bd29c726c965e4d0505841c47be0b7a75f07b4e785d7c42a3321d67079a66782ab5edf4f39611a9f4ac2578d552f93462632c872bfeb SHA512 0b9f3bfac06d3847983a5117be9d101d01ddb02511b5fc832451de6cec703ac46f5a18d10e330af1d79147338b077b957d4d1263b8113dc3e0bded92267714a6
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/metadata.xml b/app-text/xiphos/metadata.xml
index 139d2b70ed62..5f7e93359df2 100644
--- a/app-text/xiphos/metadata.xml
+++ b/app-text/xiphos/metadata.xml
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>theology@gentoo.org</email>
+ <maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
</maintainer>
<upstream>
<remote-id type="sourceforge">gnomesword</remote-id>
diff --git a/app-text/xiphos/xiphos-4.1.0-r2.ebuild b/app-text/xiphos/xiphos-4.1.0-r2.ebuild
deleted file mode 100644
index 49bfe5394fce..000000000000
--- a/app-text/xiphos/xiphos-4.1.0-r2.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 )
-inherit flag-o-matic gnome2-utils python-single-r1 toolchain-funcs
-
-DESCRIPTION="A bible study frontend for Sword (formerly known as GnomeSword)"
-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"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
- >=app-text/sword-1.8.0
- dev-libs/glib:2
- gnome-extra/gtkhtml:4.0
- >=gnome-extra/libgsf-1.14
- net-libs/webkit-gtk:4
- x11-libs/gtk+:3
- $(python_gen_cond_dep '
- dev-libs/libxml2:2[${PYTHON_MULTI_USEDEP}]
- gnome-base/gconf[${PYTHON_MULTI_USEDEP}]
- ')
- dbus? ( dev-libs/dbus-glib )
-"
-DEPEND="${RDEPEND}
- app-text/docbook2X
- app-text/rarian
- dev-util/glib-utils
- dev-util/intltool
- >=net-libs/biblesync-1.1.2-r1[-static]
- virtual/pkgconfig
- sys-devel/gettext
- app-text/gnome-doc-utils
- dev-libs/libxslt
-"
-
-pkg_setup() {
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- sed -i \
- -e '/FLAGS_DEBUG/s:-g:-Wall:' \
- -e '/FLAGS_RELEASE/s:-O2:-Wall:' \
- wscript || die
- default
-}
-
-src_configure() {
- append-cppflags -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1
-
- tc-export AR CC CPP CXX RANLIB
-
- CCFLAGS="${CFLAGS}" \
- LINKFLAGS="${LDFLAGS}" \
- SGML2MAN="$(type -P docbook2man.pl)" \
- ./waf -v \
- --prefix=/usr \
- --gtk=3 \
- --enable-webkit2 \
- --debug-level=$(use debug && echo debug || echo release) \
- $(use dbus || echo --disable-dbus) \
- configure || die
-}
-
-src_compile() {
- ./waf -v build || die
-}
-
-src_install() {
- ./waf -v --destdir="${D}" install || die
-
- doman ${PN}.1
- dodoc AUTHORS ChangeLog RELEASE-NOTES TODO
-
- dodoc Xiphos.ogg
- docompress -x /usr/share/doc/${PF}/Xiphos.ogg
-
- rm -rf "${ED}"/usr/share/doc/${PN}
-}
-
-pkg_preinst() { gnome2_icon_savelist; }
-pkg_postinst() { gnome2_icon_cache_update; }
-pkg_postrm() { gnome2_icon_cache_update; }
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
+}