diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/liblastfm |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/liblastfm')
-rw-r--r-- | media-libs/liblastfm/Manifest | 5 | ||||
-rw-r--r-- | media-libs/liblastfm/liblastfm-1.0.9-r1.ebuild | 84 | ||||
-rw-r--r-- | media-libs/liblastfm/metadata.xml | 14 |
3 files changed, 103 insertions, 0 deletions
diff --git a/media-libs/liblastfm/Manifest b/media-libs/liblastfm/Manifest new file mode 100644 index 000000000000..fba22ce982a4 --- /dev/null +++ b/media-libs/liblastfm/Manifest @@ -0,0 +1,5 @@ +DIST liblastfm-1.0.9.tar.gz 119320 SHA256 5276b5fe00932479ce6fe370ba3213f3ab842d70a7d55e4bead6e26738425f7b SHA512 9d2bcf71b26d8a95920a07649c97b3faa071c49a8269268bb08fab01537392774873233d03cada09d3ce3fe2c45b0affdb74cd27c41f69342b973896effe1018 WHIRLPOOL 491b50ec174d0a344221f12da9c783cfe56fffa99bfe3b84d835a70a510a3157dfecc62f2fff086cd570fb7281ecefe2b05c6982336f27ca6c1db6ccc4bd55dc +EBUILD liblastfm-1.0.9-r1.ebuild 1713 SHA256 3bb0cfba9578854cb809edd75676bf15c74d5d218f36d430a8d44cee48859777 SHA512 08262b6e37da21b66d869504c671cb46d4402a204a705571adac67bcc70b9bafad389905c8ec339196927580c0de3994113bc73ac6c41d365c4a1d1bc4a3de5b WHIRLPOOL 0fc77aa718c9f4259eb4e5aa07d211495dfa25b9621baa25084f5c010d311dabe8e632ff1de3ff32887356f202edee5823d063236cfb2986e055cddad91bbfb1 +MISC ChangeLog 3841 SHA256 d682a2056ac178cb4019b640bf899cfc91133f6a8cc8d01cc186100f3f96adcf SHA512 c8caa98397e5fc06ceb6ebfdcb972f5ede63931fe44f6116ff8b34e70603e4210bab1adbf36f528eab63701e1a6596e4d1ed537b0e5938cb4557bc91d67caa80 WHIRLPOOL aecf2a0c0c36abead4248733286cf7d910be634d07073d3aad30ea0e7c25f98041fd52154dca7af95bb6659a8139c61f463d70f958e056a68f6368a335d90c80 +MISC ChangeLog-2015 4989 SHA256 e4a709f5733e8aa1b9b219c8271aa6d9c18acc37d0cfe2de817973848fd8ebdf SHA512 bd160b19c86ecf29c45145c1ff72ab20822eab369882e360531c670c082302692c3c87e02b795151a7230ba4feaa7fdcb843476a6357597db4d323298b68e659 WHIRLPOOL ee8989194f9836d0bbc7323b7fefe686673ab8a0e700f8b0be84d40bb7e25592dbabc13437a60981e6b64c78d4a23c64fcdf06248e17c6fd504368cd3703b3b1 +MISC metadata.xml 416 SHA256 ecfb799779b66150fa748b58fdcb2ebc88d6d11b57c5d00fc8dc4bded3d9b881 SHA512 61b4387e1a4d837b28f13a7c705f1ab043fefb1ef80dda47399d52cb1a14ba79127f323967eb2e993fd6118375f134d9894fea9e132cc147c883758d1d5222a6 WHIRLPOOL a774a859cc96338bf7bc057dd069ff2370c63b8f0f48f73f6bda79df6d42010e46edccb4a3f118d0abc82ee00aea72da44f5f5c3dd2af765657914ece6e9484b diff --git a/media-libs/liblastfm/liblastfm-1.0.9-r1.ebuild b/media-libs/liblastfm/liblastfm-1.0.9-r1.ebuild new file mode 100644 index 000000000000..b4aedd844173 --- /dev/null +++ b/media-libs/liblastfm/liblastfm-1.0.9-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils multibuild + +DESCRIPTION="Collection of libraries to integrate Last.fm services" +HOMEPAGE="https://github.com/lastfm/liblastfm" +SRC_URI="https://github.com/lastfm/liblastfm/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux" +SLOT="0/0" +IUSE="fingerprint test +qt4 qt5" + +REQUIRED_USE="|| ( qt4 qt5 )" + +COMMON_DEPEND=" + qt4? ( + dev-qt/qtcore:4[ssl] + dev-qt/qtdbus:4 + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtnetwork:5[ssl] + dev-qt/qtxml:5 + ) + fingerprint? ( + media-libs/libsamplerate + sci-libs/fftw:3.0 + qt4? ( dev-qt/qtsql:4 ) + qt5? ( dev-qt/qtsql:5 ) + ) +" +DEPEND="${COMMON_DEPEND} + test? ( + qt4? ( dev-qt/qttest:4 ) + qt5? ( dev-qt/qttest:5 ) + ) +" +RDEPEND="${COMMON_DEPEND} + !<media-libs/lastfmlib-0.4.0 +" + +# 1 of 2 (UrlBuilderTest) is failing, last checked version 1.0.9 +RESTRICT="test" + +pkg_setup() { + MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) ) +} + +src_configure() { + myconfigure() { + # demos not working + local mycmakeargs=( + -DBUILD_DEMOS=OFF + $(cmake-utils_use_build fingerprint) + $(cmake-utils_use_build test TESTS) + ) + if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then + mycmakeargs+=(-DBUILD_WITH_QT4=ON) + fi + if [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then + mycmakeargs+=(-DBUILD_WITH_QT4=OFF) + fi + cmake-utils_src_configure + } + + multibuild_foreach_variant myconfigure +} + +src_compile() { + multibuild_foreach_variant cmake-utils_src_compile +} + +src_test() { + multibuild_foreach_variant cmake-utils_src_test +} + +src_install() { + multibuild_foreach_variant cmake-utils_src_install +} diff --git a/media-libs/liblastfm/metadata.xml b/media-libs/liblastfm/metadata.xml new file mode 100644 index 000000000000..b2227eb9607f --- /dev/null +++ b/media-libs/liblastfm/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <use> + <flag name="fingerprint">Build the lastfm-fingerprint library</flag> + </use> + <upstream> + <remote-id type="github">lastfm/liblastfm</remote-id> + </upstream> +</pkgmetadata> |