From defb68323108a8641099a6d7375b8a46ebf248d2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 17 Sep 2018 22:44:56 +0100 Subject: net-misc/meganz-sdk : version bump --- net-misc/meganz-sdk/Manifest | 2 +- net-misc/meganz-sdk/meganz-sdk-3.3.3.ebuild | 71 ----------------------------- net-misc/meganz-sdk/meganz-sdk-3.4.0.ebuild | 71 +++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+), 72 deletions(-) delete mode 100644 net-misc/meganz-sdk/meganz-sdk-3.3.3.ebuild create mode 100644 net-misc/meganz-sdk/meganz-sdk-3.4.0.ebuild (limited to 'net-misc/meganz-sdk') diff --git a/net-misc/meganz-sdk/Manifest b/net-misc/meganz-sdk/Manifest index 9b541fae..f8be4217 100644 --- a/net-misc/meganz-sdk/Manifest +++ b/net-misc/meganz-sdk/Manifest @@ -1 +1 @@ -DIST meganz-sdk-3.3.3.tar.gz 2736357 BLAKE2B ab5c9d2f10e7faf03d0d48ee177c2a5a6ab1605690134343fe457a1f29e2309d5a3a2c70b901ff11051a43179bbcee52b8bd22aca2f0d878bb329d6faf2baf49 SHA512 e33b9a0351e644eae1a34a5371595d0bd5ff8a94310abeeae081e4745d5c3c04aff0a67fb16131a13ccba5f419d613da43c9ae13f5ed870a897f2c2361d07179 +DIST meganz-sdk-3.4.0.tar.gz 2736357 BLAKE2B ab5c9d2f10e7faf03d0d48ee177c2a5a6ab1605690134343fe457a1f29e2309d5a3a2c70b901ff11051a43179bbcee52b8bd22aca2f0d878bb329d6faf2baf49 SHA512 e33b9a0351e644eae1a34a5371595d0bd5ff8a94310abeeae081e4745d5c3c04aff0a67fb16131a13ccba5f419d613da43c9ae13f5ed870a897f2c2361d07179 diff --git a/net-misc/meganz-sdk/meganz-sdk-3.3.3.ebuild b/net-misc/meganz-sdk/meganz-sdk-3.3.3.ebuild deleted file mode 100644 index 9bb73de7..00000000 --- a/net-misc/meganz-sdk/meganz-sdk-3.3.3.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit flag-o-matic qmake-utils autotools db-use -DESCRIPTION="MEGA C++ SDK" -HOMEPAGE="https://github.com/meganz/sdk" -SRC_URI="https://github.com/meganz/sdk/archive/v3.3.3.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -IUSE="freeimage fuse hardened inotify libuv mediainfo +qt +sqlite" - -KEYWORDS="~amd64" - -DEPEND=" - dev-libs/crypto++ - sys-libs/zlib - dev-libs/libpcre:3[cxx] - dev-libs/openssl:0 - net-dns/c-ares - net-misc/curl - sqlite? ( dev-db/sqlite:3 ) - !sqlite? ( sys-libs/db:*[cxx] ) - freeimage? ( media-libs/freeimage ) - libuv? ( dev-libs/libuv ) - dev-libs/libsodium - mediainfo? ( media-libs/libmediainfo )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}"/sdk-"${PV}" - -pkg_setup() { - use sqlite || append-cppflags "-I$(db_includedir)" -} - -src_prepare() { - default - use qt && sed \ - -e '/SOURCES += src\// s:+:-:' \ - -e '/!exists.*config.h/ s:!::' \ - -e 's:-lsqlite3 -lrt:-lmega &:' \ - -i bindings/qt/sdk.pri - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-chat - --disable-examples - $(use_enable inotify) - $(use_enable hardened gcc-hardening) - $(use_with libuv) - $(use_with !sqlite db) - $(use_with sqlite) - $(use_with freeimage) - $(use_with fuse) - $(use_with mediainfo libmediainfo) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - doheader -r include/mega - - use qt || return - insinto /usr/share/${PN}/bindings/qt - doins bindings/qt/*.{h,cpp,pri} -} diff --git a/net-misc/meganz-sdk/meganz-sdk-3.4.0.ebuild b/net-misc/meganz-sdk/meganz-sdk-3.4.0.ebuild new file mode 100644 index 00000000..9bb73de7 --- /dev/null +++ b/net-misc/meganz-sdk/meganz-sdk-3.4.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic qmake-utils autotools db-use +DESCRIPTION="MEGA C++ SDK" +HOMEPAGE="https://github.com/meganz/sdk" +SRC_URI="https://github.com/meganz/sdk/archive/v3.3.3.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +IUSE="freeimage fuse hardened inotify libuv mediainfo +qt +sqlite" + +KEYWORDS="~amd64" + +DEPEND=" + dev-libs/crypto++ + sys-libs/zlib + dev-libs/libpcre:3[cxx] + dev-libs/openssl:0 + net-dns/c-ares + net-misc/curl + sqlite? ( dev-db/sqlite:3 ) + !sqlite? ( sys-libs/db:*[cxx] ) + freeimage? ( media-libs/freeimage ) + libuv? ( dev-libs/libuv ) + dev-libs/libsodium + mediainfo? ( media-libs/libmediainfo )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/sdk-"${PV}" + +pkg_setup() { + use sqlite || append-cppflags "-I$(db_includedir)" +} + +src_prepare() { + default + use qt && sed \ + -e '/SOURCES += src\// s:+:-:' \ + -e '/!exists.*config.h/ s:!::' \ + -e 's:-lsqlite3 -lrt:-lmega &:' \ + -i bindings/qt/sdk.pri + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-chat + --disable-examples + $(use_enable inotify) + $(use_enable hardened gcc-hardening) + $(use_with libuv) + $(use_with !sqlite db) + $(use_with sqlite) + $(use_with freeimage) + $(use_with fuse) + $(use_with mediainfo libmediainfo) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + doheader -r include/mega + + use qt || return + insinto /usr/share/${PN}/bindings/qt + doins bindings/qt/*.{h,cpp,pri} +} -- cgit v1.2.3