Commit bc0d22a1 authored by Daniel Menelkir's avatar Daniel Menelkir

new file: metadata/md5-cache/net-misc/meganz-sdk-3.6.4

	modified:   net-misc/meganz-sdk/Manifest
	new file:   net-misc/meganz-sdk/meganz-sdk-3.6.4.ebuild
parent c174f59d
DEFINED_PHASES=configure install prepare setup
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 ) >=app-portage/elt-patches-20170815 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=MEGA C++ SDK
EAPI=6
HOMEPAGE=https://github.com/meganz/sdk
IUSE=freeimage fuse hardened inotify libuv mediainfo +qt +sqlite
KEYWORDS=~amd64
LICENSE=BSD-2
RDEPEND=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 )
SLOT=0
SRC_URI=https://github.com/meganz/sdk/archive/v3.6.4.tar.gz -> meganz-sdk-3.6.4.tar.gz
_eclasses_=autotools 1bf086cdd7356f5c9a4acd9727bd2065 db-use 501a5d0963e0d17f30260023f292ae8e desktop b1d22ac8bdd4679ab79c71aca235009d eapi7-ver 756b3f27d8e46131d5cf3c51bd876446 epatch a1bf4756dba418a7238f3be0cb010c54 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 6e6c2737b59a4b982de6fb3ecefd87f8 flag-o-matic 8a43b9830f1e64a7a5fc0a276afa0275 libtool f143db5a74ccd9ca28c1234deffede96 ltprune 2729691420b6deeda2a90b1f1183fb55 multilib 1d91b03d42ab6308b5f4f6b598ed110e preserve-libs ef207dc62baddfddfd39a164d9797648 qmake-utils bdf97e69a34b864d6d545f4ec3143ff7 toolchain-funcs 2f8b8f320bee13b71a8a54cc6d09e08a vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
_md5_=e10e510f22570c3006199154b2c12be2
DIST meganz-sdk-3.6.3.tar.gz 3111287 BLAKE2B 18f878307d9e441835feb86a47f24bfb688dc361a82371ac4a357ac07c7a8ffb4a5e64a8ed5b6be705d32b2fe5f459a70c65482efe6c93ca3ccf10b6683217b6 SHA512 4fd3ea5a5b9a756d536fb34ce5ab8302c19da462e119bc0cb6b99ace73d85148220211a2c09eff06a422649c3ccf711ef8ab73ce86548cffce87251b3edac603
DIST meganz-sdk-3.6.4.tar.gz 3121168 BLAKE2B a195c1d4d80f7602e5c174813764af7fb3f2805d8bbca2b5c835549e7914df692e6b3adae8dcec22b53a03b5a84ccc083bbae776935b222b5e053bb537c4c1d9 SHA512 7b120835c737011d7a97f8edcac374b6857af6ee8d88c3304816fe65a95cc8070081a3bac9507c0a923b69828d00113648aba1f23a67ccbdb87b80dccd4f2041
# 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/v${PV}.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}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment