commit:     2da38e38bad278cdb63cec89037ef534a9a1cd59
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Thu Dec  1 19:16:30 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Dec  1 21:20:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2da38e38

net-irc/kvirc: Version bump (5.0_pre20161201011150).

 net-irc/kvirc/Manifest                           |   1 +
 net-irc/kvirc/kvirc-5.0_pre20161201011150.ebuild | 139 +++++++++++++++++++++++
 2 files changed, 140 insertions(+)

diff --git a/net-irc/kvirc/Manifest b/net-irc/kvirc/Manifest
index 4f10f22..22ccf60 100644
--- a/net-irc/kvirc/Manifest
+++ b/net-irc/kvirc/Manifest
@@ -1,2 +1,3 @@
 DIST kvirc-5.0_pre20160801092805.tar.gz 6459791 SHA256 
1ddc0e962238b2959ed0aacab83071e6237fa48b040201790be07e6e9cc94fee SHA512 
8bc184f4c1e87d557d6fcb0bc6f8370d602ea5b869f557c69d70cf32638cbbb6cd78907dbb13bc9cc70ff661cd556a54db3a5732dbb3e3a1f8241c8f4a4e5668
 WHIRLPOOL 
9b6a24421cabb0d61a3f5e6fd322a230123bbb3d93f56f2bd044812a1d0a83cbd04cff38ea228757fc7938d2a32516068b3db5244307ff2e4328c6664c29a20b
 DIST kvirc-5.0_pre20161004153257.tar.gz 6452104 SHA256 
c313091cff6e836b31563487d5c3426e24b0634d27710f7c484cd3410e2b1ab9 SHA512 
df1fcbef3f3f5458a49e32328816b8039d65100cf38ea7d2cef12ef93b6b15d210fa0ab53e7ec304079d59229bf4dca845743a9bd450f55243652f94724ff846
 WHIRLPOOL 
c4e9b368dc10eabe7f91f73965184a30b7b88b96158090ea25f635d5e2a907028b7f26b16623a9da60df9111edcf498cb95de954c4f43c46bbcd4f96d67f8291
+DIST kvirc-5.0_pre20161201011150.tar.gz 6096540 SHA256 
a1a44995e12ada79338b38f9e1f7b750df7acf849c91878fbfe61617de0e8a8e SHA512 
82b52996fc6d761d71ea54e967aa813b6420c7dc218a98d9faab7ad8e3ff4a3953e6931ce5bc4231a1034966194b1ad6715fdd2f6df725bec85fa59204e9db49
 WHIRLPOOL 
f67f3177efb0e032dc949acee11fa422032d4edbf6b2ec5b7613c4803cb95a0fcceb11de7ca2a57fcfbafc44d811d0ce90faa5bd67ab3a52e87280b1c41abe13

diff --git a/net-irc/kvirc/kvirc-5.0_pre20161201011150.ebuild 
b/net-irc/kvirc/kvirc-5.0_pre20161201011150.ebuild
new file mode 100644
index 00000000..c257f1e
--- /dev/null
+++ b/net-irc/kvirc/kvirc-5.0_pre20161201011150.ebuild
@@ -0,0 +1,139 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_DEPEND="python? 2"
+
+inherit cmake-utils flag-o-matic multilib python
+
+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="8552b2bb67b0fa0db1ab5d4992917e7b00ffcf20"
+       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"
+
+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
+       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:0[qt5] )
+       spell? ( app-text/enchant )
+       ssl? ( dev-libs/openssl:0= )
+       theora? (
+               media-libs/libogg
+               media-libs/libtheora
+               media-libs/libvorbis
+       )
+       webkit? ( dev-qt/qtwebkit:5 )"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+       x11-proto/scrnsaverproto
+       doc? ( app-doc/doxygen )
+       kde? ( kde-frameworks/extra-cmake-modules:5 )
+       nls? ( sys-devel/gettext )"
+RDEPEND="${RDEPEND}
+       gsm? ( media-sound/gsm )"
+REQUIRED_USE="audiofile? ( oss )"
+
+DOCS=(ChangeLog doc/FAQ)
+
+pkg_setup() {
+       if use python; then
+               python_set_active_version 2
+               python_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
+}

Reply via email to