Permalink
Browse files

Add libmygpo-qt ebuild to be used by Amarok

  • Loading branch information...
1 parent 0c72da9 commit 1bd541c445ab44ae69e35053ada1354906122bd2 @strohel committed Sep 14, 2012
Showing with 28 additions and 0 deletions.
  1. +28 −0 media-libs/libmygpo-qt/libmygpo-qt-1.0.5.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit cmake-utils
+
+MY_P=${P/-qt-/-qt.}
+
+DESCRIPTION="C++/Qt Library wrapping the gpodder.net Webservice"
+HOMEPAGE="http://wiki.gpodder.org/wiki/Libmygpo-qt"
+SRC_URI="http://stefan.derkits.at/files/libmygpo-qt/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="dev-libs/qjson
+ >=x11-libs/qt-core-4.6:4"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i -s 's/${QJSON_LIBRARIES}/${QJSON_LDFLAGS}/' src/CMakeLists.txt || die "sed failed"
+ cmake-utils_src_prepare
+}

0 comments on commit 1bd541c

Please sign in to comment.