summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2018-02-10 18:07:41 +0100
committerMike Gilbert <floppym@gentoo.org>2018-02-12 14:16:12 -0500
commit539ec53daa2d620724d49bdb0e5e27d4bc59e2d2 (patch)
tree063233e335698ef39ec6486b5f3a995aee9c2532 /net-irc/kvirc
parentnet-irc/kvirc: Stabilize 5.0_pre20171211100641 on amd64/x86. (diff)
downloadgentoo-539ec53daa2d620724d49bdb0e5e27d4bc59e2d2.tar.gz
gentoo-539ec53daa2d620724d49bdb0e5e27d4bc59e2d2.tar.bz2
gentoo-539ec53daa2d620724d49bdb0e5e27d4bc59e2d2.zip
net-irc/kvirc: Version bump (5.0_pre20180209140255).
Diffstat (limited to 'net-irc/kvirc')
-rw-r--r--net-irc/kvirc/Manifest1
-rw-r--r--net-irc/kvirc/kvirc-5.0_pre20180209140255.ebuild148
2 files changed, 149 insertions, 0 deletions
diff --git a/net-irc/kvirc/Manifest b/net-irc/kvirc/Manifest
index fb595777a123..a0cf00614bac 100644
--- a/net-irc/kvirc/Manifest
+++ b/net-irc/kvirc/Manifest
@@ -1,2 +1,3 @@
DIST kvirc-5.0_pre20171001143427.tar.gz 6035319 BLAKE2B 764b079b2d991f3b80b48eaf4119ac9cbfef3429d97e990fdc9c95a23561d3efc553c876a8eac17465cf14533f3230af24695f834dd985d73f89d45103457eb2 SHA512 ccf9b032737ce24cc98c23f3e1363b7ad874452837805b9a240dfd0d5e067da556dcd6003398f3cb2826f144656540592189e7f88d68608d6fbb2e8294535640
DIST kvirc-5.0_pre20171211100641.tar.gz 6035018 BLAKE2B 0da30cbd0ac7443b994f4f8f4b8b39255219d99a34dd026cc59d119bec11985e261f281928f817ffe0865427a2f59b2a25abbe20d9d4a391086c26c507f83074 SHA512 599ea40faac97ad0604e29fe8f77a92f36a9f52fdee118dead712e1cea8d03d2b2791cb121dcd7efd39d5719e9133ff79e45ea1ffefa5886b0b11709ae41f814
+DIST kvirc-5.0_pre20180209140255.tar.gz 6035048 BLAKE2B 1141fb73b2498f931b8e2b28368cbae8b94d6268e2f5548e38f5a5a6c0776a9ffe4c7c2d5139eda7166c1cae73fb61ebc894cc085ec1ad20edc1f53136a21492 SHA512 c9dc3d257dcb9446c91be07d490fc76418eaaa93bd133dfec5b659949baae68383e04cbfbab9624db8bf6f1908fd93a190a74f95b6d1b929a75739c3032f82e6
diff --git a/net-irc/kvirc/kvirc-5.0_pre20180209140255.ebuild b/net-irc/kvirc/kvirc-5.0_pre20180209140255.ebuild
new file mode 100644
index 000000000000..70bb052ba4a0
--- /dev/null
+++ b/net-irc/kvirc/kvirc-5.0_pre20180209140255.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=(python2_7)
+
+inherit cmake-utils flag-o-matic gnome2-utils multilib python-single-r1 xdg-utils
+
+if [[ "${PV}" == "9999" ]]; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/kvirc/KVIrc"
+ KVIRC_GIT_REVISION=""
+ KVIRC_GIT_SOURCES_DATE=""
+else
+ inherit vcs-snapshot
+
+ KVIRC_GIT_REVISION="bed7de9c146055237f62b6dfcf6d68f04b2049dd"
+ KVIRC_GIT_SOURCES_DATE="${PV#*_pre}"
+ KVIRC_GIT_SOURCES_DATE="${KVIRC_GIT_SOURCES_DATE:0:4}-${KVIRC_GIT_SOURCES_DATE:4:2}-${KVIRC_GIT_SOURCES_DATE:6:2}"
+fi
+
+DESCRIPTION="Advanced IRC Client"
+HOMEPAGE="http://www.kvirc.net/ https://github.com/kvirc/KVIrc"
+if [[ "${PV}" == "9999" ]]; then
+ SRC_URI=""
+else
+ SRC_URI="https://github.com/kvirc/KVIrc/archive/${KVIRC_GIT_REVISION}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="kvirc"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="audiofile +dbus dcc_video debug doc gsm kde +nls oss +perl +phonon profile +python spell +ssl theora webkit"
+REQUIRED_USE="audiofile? ( oss ) python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsql:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ dev-qt/qtxml:5
+ sys-libs/zlib:0=
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ audiofile? ( media-libs/audiofile )
+ dbus? ( dev-qt/qtdbus:5 )
+ dcc_video? ( dev-qt/qtmultimedia:5[widgets] )
+ kde? (
+ kde-frameworks/kcoreaddons:5
+ kde-frameworks/ki18n:5
+ kde-frameworks/knotifications:5
+ kde-frameworks/kservice:5
+ kde-frameworks/kwindowsystem:5
+ kde-frameworks/kxmlgui:5
+ )
+ perl? ( dev-lang/perl:0= )
+ phonon? ( media-libs/phonon[qt5(+)] )
+ python? ( ${PYTHON_DEPS} )
+ spell? ( app-text/enchant:0= )
+ ssl? ( dev-libs/openssl:0= )
+ theora? (
+ media-libs/libogg
+ media-libs/libtheora
+ media-libs/libvorbis
+ )
+ webkit? ( dev-qt/qtwebkit:5 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+ kde? ( kde-frameworks/extra-cmake-modules:5 )
+ nls? ( sys-devel/gettext )"
+RDEPEND="${RDEPEND}
+ gsm? ( media-sound/gsm )"
+
+DOCS=(ChangeLog doc/FAQ)
+
+pkg_setup() {
+ if use python; then
+ python-single-r1_pkg_setup
+ fi
+}
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ if [[ "${PV}" == "9999" ]]; then
+ KVIRC_GIT_REVISION="$(git show -s --format=%H)"
+ KVIRC_GIT_SOURCES_DATE="$(git show -s --format=%cd --date=short)"
+ fi
+ einfo "Setting of revision number to ${KVIRC_GIT_REVISION} ${KVIRC_GIT_SOURCES_DATE}"
+ sed -e "/#define KVI_DEFAULT_FRAME_CAPTION/s/KVI_VERSION/& \" (${KVIRC_GIT_REVISION} ${KVIRC_GIT_SOURCES_DATE})\"/" -i src/kvirc/ui/KviMainWindow.cpp || die "Setting of revision number failed"
+}
+
+src_configure() {
+ append-flags -fno-strict-aliasing
+
+ local libdir="$(get_libdir)"
+ local mycmakeargs=(
+ -DLIB_SUFFIX=${libdir#lib}
+ -DMANUAL_REVISION=${KVIRC_GIT_REVISION}
+ -DMANUAL_SOURCES_DATE=${KVIRC_GIT_SOURCES_DATE//-/}
+ -DWANT_ENV_FLAGS=yes
+ -DWANT_VERBOSE=yes
+
+ -DWANT_CRYPT=yes
+ -DWANT_DCC_VOICE=yes
+ -DWANT_IPC=yes
+ -DWANT_IPV6=yes
+ -DWANT_TRANSPARENCY=yes
+
+ -DWANT_AUDIOFILE=$(usex audiofile)
+ -DWANT_DCC_VIDEO=$(usex dcc_video)
+ -DWANT_DEBUG=$(usex debug)
+ -DWANT_DOXYGEN=$(usex doc)
+ -DWANT_GETTEXT=$(usex nls)
+ -DWANT_GSM=$(usex gsm)
+ -DWANT_KDE=$(usex kde)
+ -DWANT_MEMORY_PROFILE=$(usex profile)
+ -DWANT_OGG_THEORA=$(usex theora)
+ -DWANT_OPENSSL=$(usex ssl)
+ -DWANT_OSS=$(usex oss)
+ -DWANT_PERL=$(usex perl)
+ -DWANT_PHONON=$(usex phonon)
+ -DWANT_PYTHON=$(usex python)
+ -DWANT_QTDBUS=$(usex dbus)
+ -DWANT_QTWEBKIT=$(usex webkit)
+ -DWANT_SPELLCHECKER=$(usex spell)
+
+ # COMPILE_SVG_SUPPORT not used in source code.
+ -DWANT_QTSVG=no
+ )
+
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}