diff options
author | Christoph Junghans <ottxor@gentoo.org> | 2011-02-22 21:43:27 +0000 |
---|---|---|
committer | Christoph Junghans <ottxor@gentoo.org> | 2011-02-22 21:43:27 +0000 |
commit | c787354fab66966786a2049ca9f695a34333605a (patch) | |
tree | 01683aa149fe615f165ca530e44614d7027041fc /kde-misc/kio-upnp-ms | |
parent | Sign Manifest (diff) | |
download | gentoo-2-c787354fab66966786a2049ca9f695a34333605a.tar.gz gentoo-2-c787354fab66966786a2049ca9f695a34333605a.tar.bz2 gentoo-2-c787354fab66966786a2049ca9f695a34333605a.zip |
import from cj-overlay (dep for bug #351916)
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'kde-misc/kio-upnp-ms')
-rw-r--r-- | kde-misc/kio-upnp-ms/ChangeLog | 10 | ||||
-rw-r--r-- | kde-misc/kio-upnp-ms/files/FindHUpnp.cmake | 22 | ||||
-rw-r--r-- | kde-misc/kio-upnp-ms/kio-upnp-ms-0.8.0_p20110110.ebuild | 27 | ||||
-rw-r--r-- | kde-misc/kio-upnp-ms/metadata.xml | 9 |
4 files changed, 68 insertions, 0 deletions
diff --git a/kde-misc/kio-upnp-ms/ChangeLog b/kde-misc/kio-upnp-ms/ChangeLog new file mode 100644 index 000000000000..973795386d95 --- /dev/null +++ b/kde-misc/kio-upnp-ms/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for kde-misc/kio-upnp-ms +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/kio-upnp-ms/ChangeLog,v 1.1 2011/02/22 21:43:27 ottxor Exp $ + +*kio-upnp-ms-0.8.0_p20110110 (22 Feb 2011) + + 22 Feb 2011; Christoph Junghans <ottxor@gentoo.org> + +kio-upnp-ms-0.8.0_p20110110.ebuild, +files/FindHUpnp.cmake, +metadata.xml: + import from cj-overlay (dep for bug #351916) + diff --git a/kde-misc/kio-upnp-ms/files/FindHUpnp.cmake b/kde-misc/kio-upnp-ms/files/FindHUpnp.cmake new file mode 100644 index 000000000000..9c7bf7c26626 --- /dev/null +++ b/kde-misc/kio-upnp-ms/files/FindHUpnp.cmake @@ -0,0 +1,22 @@ +# - Find HUpnp +# HUpnp is a Universal Plug and Play (UPnP) library +# used by the UPnP collection. +# Defines: +# HUPNP_INCLUDE_DIR +# HUPNP_LIBS +# HUPNP_FOUND + +find_path(HUPNP_INCLUDE_DIR HUpnp HINTS ${KDE4_INCLUDE_DIR}) + +find_library(HUPNP_LIBS HUpnp PATHS ${KDE4_LIB_DIR}) + +if(HUPNP_INCLUDE_DIR AND HUPNP_LIBS) + set(HUPNP_FOUND TRUE) + message(STATUS "Found HUpnp") +else(HUPNP_INCLUDE_DIR and HUPNP_LIBS) + set(HUPNP_FOUND FALSE) + if(HUPNP_FIND_REQUIRED) + message(FATAL_ERROR "Could NOT find required package HUpnp: <http://herqq.org>") + endif(HUPNP_FIND_REQUIRED) +endif(HUPNP_INCLUDE_DIR AND HUPNP_LIBS) + diff --git a/kde-misc/kio-upnp-ms/kio-upnp-ms-0.8.0_p20110110.ebuild b/kde-misc/kio-upnp-ms/kio-upnp-ms-0.8.0_p20110110.ebuild new file mode 100644 index 000000000000..d5c46ebc58c1 --- /dev/null +++ b/kde-misc/kio-upnp-ms/kio-upnp-ms-0.8.0_p20110110.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/kio-upnp-ms/kio-upnp-ms-0.8.0_p20110110.ebuild,v 1.1 2011/02/22 21:43:27 ottxor Exp $ + +EAPI=3 + +inherit kde4-base + +DESCRIPTION="A upnp KIO slave for KDE" +HOMEPAGE="https://projects.kde.org/projects/playground/base/kio-upnp-ms" +SRC_URI="mirror://gentoo/kio-upnp-ms-0.8.0_p20110110.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND="=media-libs/herqq-0.8.0 + kde-base/kdelibs + x11-libs/qt-core" +DEPEND="${RDEPEND}" + +src_prepare() { + cp "${FILESDIR}"/FindHUpnp.cmake "${T}" || die + kde4-base_src_prepare || die + mycmakeargs=( -DCMAKE_MODULE_PATH="${T}" -DHUPNP_INCLUDE_DIR="${EPREFIX}/usr/include" ) +} diff --git a/kde-misc/kio-upnp-ms/metadata.xml b/kde-misc/kio-upnp-ms/metadata.xml new file mode 100644 index 000000000000..18f5c6c3e0d2 --- /dev/null +++ b/kde-misc/kio-upnp-ms/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kde</herd> + <maintainer> + <email>ottxor@gentoo.org</email> + <name>Christoph Junghans</name> + </maintainer> +</pkgmetadata> |