diff options
author | Ulrich Müller <ulm@gentoo.org> | 2017-02-11 15:16:05 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2017-02-11 15:21:21 +0100 |
commit | aaf9c1fd4c87a99e5514f7b533d03dc9f2b26c2c (patch) | |
tree | 8eab6eca819e90617648919ccbff5b9af7813d85 /net-im | |
parent | kde-frameworks: Version bump KDE Frameworks 5.31.0 (diff) | |
download | gentoo-aaf9c1fd4c87a99e5514f7b533d03dc9f2b26c2c.tar.gz gentoo-aaf9c1fd4c87a99e5514f7b533d03dc9f2b26c2c.tar.bz2 gentoo-aaf9c1fd4c87a99e5514f7b533d03dc9f2b26c2c.zip |
net-im/openmittsu: Version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/openmittsu/Manifest | 1 | ||||
-rw-r--r-- | net-im/openmittsu/openmittsu-0.9.2_p78.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/net-im/openmittsu/Manifest b/net-im/openmittsu/Manifest index d70441fde3e7..d6753ad96194 100644 --- a/net-im/openmittsu/Manifest +++ b/net-im/openmittsu/Manifest @@ -1 +1,2 @@ DIST openMittsu-0.9.2_p75.tar.xz 1304788 SHA256 60366c341f6d2d638699649dfcaef97a734f2c367987d3849986321a515e24a3 SHA512 d5ec9c942e771d51e86895c422e13893421d4a3b0adae9a9dac195f55c40064af2549bc41181b2abb2fe8b8dc0ffdf3c4c40b052e36f0eaf31fc98830b81c5f4 WHIRLPOOL e8c0909e0a46009ef892930957bc1fb6763fbcd0c662f2b2c706482781161eeb3a5c26ee584c1d3a8f5bd1415d84f307bd0b1f707da4f787b4cf7e2e5ad160c6 +DIST openMittsu-0.9.2_p78.tar.xz 1304908 SHA256 9be2d1e35a5995786f0c02383e0aaccd67f8848743417020f70d814f464ecc85 SHA512 4969667bd7430dc5b7d0d756ae5f8f8f64ebd717645a6288a46f49f9b03930d6aceac3a9b3d507e12d0a35b69226e19ec65792af23e5e402cf6c7f693bae145c WHIRLPOOL 4903f37a7ea9addc1739940138d50a6caf716810016900edc107b0f02538f10322040ef734e6159cd099347ac2a988bafc778c3c8a0accd26d3bace4a0930a2c diff --git a/net-im/openmittsu/openmittsu-0.9.2_p78.ebuild b/net-im/openmittsu/openmittsu-0.9.2_p78.ebuild new file mode 100644 index 000000000000..7023b923647e --- /dev/null +++ b/net-im/openmittsu/openmittsu-0.9.2_p78.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils eutils + +MY_PN="openMittsu" +DESCRIPTION="An open source chat client for Threema-style end-to-end encrypted chat networks" +HOMEPAGE="https://github.com/blizzard4591/openMittsu" +# git-archive-all.sh snapshot of https://github.com/blizzard4591/${MY_PN}.git +SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${MY_PN}-${PV}.tar.xz" + +LICENSE="GPL-2+ BitstreamVera OFL-1.1 Apache-2.0 CC0-1.0 MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=">=dev-libs/libsodium-1.0.11:= + >=dev-qt/qtcore-5.7.1:5= + >=dev-qt/qtgui-5.7.1:5= + >=dev-qt/qtmultimedia-5.7.1:5= + >=dev-qt/qtnetwork-5.7.1:5= + >=dev-qt/qtwidgets-5.7.1:5= + >=media-gfx/qrencode-3.4.4-r1" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}" + +DOCS=( + README.md + Example-client-configuration-file.ini + Example-contacts-file.txt +) + +src_prepare() { + # set version manually, since autodetection works only with git + sed -i "/git_describe_checkout/\ + s/.*/set(OPENMITTSU_GIT_VERSION_STRING \"${PV/_p/-}-00000000\")/" \ + CMakeLists.txt || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=("-DOPENMITTSU_DISABLE_VERSION_UPDATE_CHECK=ON") + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + newicon resources/icon.png ${MY_PN}.png + make_desktop_entry ${MY_PN} ${MY_PN} ${MY_PN} +} |