# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 DESCRIPTION="Graphical front-end tools for GNUnet." HOMEPAGE="https://gnunet.org/" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" IUSE="debug qr" RDEPEND=" x11-libs/gtk+:3 =net-misc/gnunet-${PV} >=gnome-base/libglade-2.0 dev-libs/libunique:3 dev-util/glade:*" #net-libs/gnutls #media-libs/libextractor #qr? ( media-gfx/qrencode ) #x11-libs/gdk-pixbuf #dev-util/glade" #virtual/pkgconfig DEPEND="${RDEPEND}" # sys-devel/automake:1.14" if [[ ${PV} == "999999" ]] ; then inherit autotools subversion SRC_URI="" ESVN_REPO_URI="https://gnunet.org/svn/gnunet-gtk" ESVN_PROJECT="gnunet-gtk" else inherit autotools SRC_URI="mirror://gnu/gnunet/${P}.tar.gz" fi #WANT_AUTOCONF="2.5" #WANT_AUTOMAKE="1.11" #WANT_LIBTOOL="2.2" #AUTOTOOLS_AUTORECONF=1 #S="${WORKDIR}/${PF}/${PN}" S="${WORKDIR}/${PN}" src_prepare() { if [[ "${PV}" == "999999" ]]; then #eapply "${FILESDIR}"/os_installation.c.patch subversion_src_prepare eautoreconf default else eautoreconf default fi } # src_unpack() { # if [[ ${PV} != "9999" ]] ; then # unpack ${A} # cd "${S}" # AT_M4DIR="${S}/m4" eautoreconf # fi # } #src_configure() { # econf \ # --with-gnunet="${ROOT}"/usr # --with-gnutls # --with-glade # --with-extractor # $(use_with qr qrencode ) #} src_configure() { econf \ --with-gnunet="/usr" } src_compile() { # emake default } src_install() { default #emake DESTDIR="${D}" install }