summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/libechonest
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/libechonest')
-rw-r--r--media-libs/libechonest/Manifest4
-rw-r--r--media-libs/libechonest/files/libechonest-2.0.1-Werror.patch43
-rw-r--r--media-libs/libechonest/files/libechonest-2.2.0-always_use_QJSON_LIBRARIES.patch23
-rw-r--r--media-libs/libechonest/libechonest-2.0.2.ebuild28
-rw-r--r--media-libs/libechonest/libechonest-2.2.0-r1.ebuild38
-rw-r--r--media-libs/libechonest/libechonest-2.3.0.ebuild68
-rw-r--r--media-libs/libechonest/libechonest-2.3.1.ebuild70
-rw-r--r--media-libs/libechonest/metadata.xml14
8 files changed, 288 insertions, 0 deletions
diff --git a/media-libs/libechonest/Manifest b/media-libs/libechonest/Manifest
new file mode 100644
index 000000000000..b640a5a0bee7
--- /dev/null
+++ b/media-libs/libechonest/Manifest
@@ -0,0 +1,4 @@
+DIST libechonest-2.0.2.tar.bz2 82005 SHA256 e0d9b3fe7bf5fff0ce8d0f182c4cac8ea3b478c57be21549fc57da69c1a3088c SHA512 fb8baf396206cc567ae880c3f19191bd5a723820a8a8f7ea96f1065cea88c213b46ec9f7688838353331bdac105893c4e9ea118e5b17cdda313dce5ba810a1fb WHIRLPOOL d1bfd6059c5e648e190bf4ba9ddb5a3bdaeca8af346c34dc0f0177f3f05314b491f37bba2ad05944e6ff9b4ddd88e7042a089c9ecb370e75b61b6b405aa5e8d7
+DIST libechonest-2.2.0.tar.bz2 84242 SHA256 f2c043a3564bc9c5a4556a80737d1440519ced583feaa62f7afa362e35e81ee0 SHA512 482df30a7a139b14da28d752cff405267bae8af448014857aa5151c08312bcb1144039dc962c85d1613d013446eede8b97efca970801262a240a5f790e95d48e WHIRLPOOL d836f14163168f455311ed30ded1cd860311913693de41f24d6416419128487f6568fd4b8f9e52cb02ffe72b2418c46d2ffb55cab7f432b6a861dc295a99347c
+DIST libechonest-2.3.0.tar.bz2 87798 SHA256 79983ba72fbf9b112ebfb329b96b60eddf25d719ebe34eb70de01aa106ae2b44 SHA512 c6c01b463e9d3c5ab7178454d2341e61e4f4f184e0082cf4d0ea13a95752dbff2d3dee4bdc3aa2480265db6677611c9d9228c83da322242d23f5e67a7f0ee0f3 WHIRLPOOL 421257e75aea2a4a6b5d092fe5e579bc4759c8d51a59cc6e1587936c080bf6601fb30cad303f86f6a599ab4f3584abef6b2cea0fc1802f0f4f59bfae749ce6d8
+DIST libechonest-2.3.1.tar.bz2 87729 SHA256 56756545fd1cb3d9067479f52215b6157c1ced2bc82b895e72fdcd9bebb47889 SHA512 6d4c3571680657d01516e1fa5c55478a25931a825801b06b7bdd6d16715fe2a72385bd8e74be95e15b8fd2521f8b9f7bde5c2afe73a7bbc1faeba9fadd80d2f3 WHIRLPOOL 003b799295075f07310666d3352fb1dfd8704608d5595dd1962e31c3f1946af96c3fe28d4e7aa5e6ad75b77c9ed4eb803c5eeb00019007a18a30f37dc6ddb296
diff --git a/media-libs/libechonest/files/libechonest-2.0.1-Werror.patch b/media-libs/libechonest/files/libechonest-2.0.1-Werror.patch
new file mode 100644
index 000000000000..af8b1b9a814f
--- /dev/null
+++ b/media-libs/libechonest/files/libechonest-2.0.1-Werror.patch
@@ -0,0 +1,43 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Thu Dec 27 22:58:59 UTC 2012
+Subject: build system
+
+ only enable Werror for development
+
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -5,6 +5,10 @@
+
+ cmake_minimum_required( VERSION 2.6 )
+
++# options
++option(WERROR "enable -Werror for development" OFF)
++option(ECHONEST_BUILD_TESTS "Build all unit tests" ON)
++
+ set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
+ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII" )
+
+@@ -32,8 +36,12 @@
+ endif()
+
+ # disable -Werror on ARM since Qt containers cause a lot of alignment warnings
+- if ( NOT CMAKE_SYSTEM_PROCESSOR MATCHES "arm" )
+- add_definitions( -Werror )
++ if (WERROR)
++ if ( NOT CMAKE_SYSTEM_PROCESSOR MATCHES "arm" )
++ add_definitions( -Werror )
++ else()
++ message( STATUS "-Werror breaks this package on ARM, disabled!" )
++ endif()
+ endif()
+
+ # to be added:
+@@ -48,8 +56,6 @@
+ endif(MSVC)
+
+
+-option(ECHONEST_BUILD_TESTS "Build all unit tests" ON)
+-
+ if(ECHONEST_BUILD_TESTS)
+ enable_testing()
+ endif(ECHONEST_BUILD_TESTS)
diff --git a/media-libs/libechonest/files/libechonest-2.2.0-always_use_QJSON_LIBRARIES.patch b/media-libs/libechonest/files/libechonest-2.2.0-always_use_QJSON_LIBRARIES.patch
new file mode 100644
index 000000000000..9edd035979c7
--- /dev/null
+++ b/media-libs/libechonest/files/libechonest-2.2.0-always_use_QJSON_LIBRARIES.patch
@@ -0,0 +1,23 @@
+http://bugs.gentoo.org/show_bug.cgi?id=503656#c4
+http://github.com/lfranchi/libechonest/pull/14
+
+--- src/CMakeLists.txt
++++ src/CMakeLists.txt
+@@ -40,16 +40,8 @@
+
+ QT_WRAP_CPP( ${LIBECHONEST_H} )
+
+-SET( OS_SPECIFIC_LINK_LIBRARIES "" )
+-IF( APPLE OR MINGW )
+- SET( OS_SPECIFIC_LINK_LIBRARIES ${QJSON_LIBRARIES} )
+-ELSE( APPLE OR MINGW )
+- SET( OS_SPECIFIC_LINK_LIBRARIES ${QJSON_LDFLAGS} )
+-ENDIF( APPLE OR MINGW )
+-
+-
+ add_library( echonest SHARED ${LIBECHONEST_SRC} )
+-target_link_libraries( echonest ${OS_SPECIFIC_LINK_LIBRARIES} ${QT_QTCORE_LIBRARY} ${QT_QTNETWORK_LIBRARY} )
++target_link_libraries( echonest ${QT_QTCORE_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QJSON_LIBRARIES} )
+ set_target_properties( echonest PROPERTIES VERSION ${ECHONEST_LIB_VERSION} SOVERSION ${ECHONEST_LIB_VERSION_SONAME} )
+ qt5_use_modules( echonest Core Network Xml )
+ install( TARGETS echonest RUNTIME DESTINATION bin
diff --git a/media-libs/libechonest/libechonest-2.0.2.ebuild b/media-libs/libechonest/libechonest-2.0.2.ebuild
new file mode 100644
index 000000000000..c5495fc59a7d
--- /dev/null
+++ b/media-libs/libechonest/libechonest-2.0.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils
+
+DESCRIPTION="A library for communicating with The Echo Nest"
+HOMEPAGE="http://projects.kde.org/projects/playground/libs/libechonest"
+SRC_URI="http://files.lfranchi.com/${P}.tar.bz2
+ http://pwsp.cleinias.com/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RESTRICT="test" # Networking required
+
+RDEPEND=">=dev-libs/qjson-0.5
+ dev-qt/qtcore:4"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-qt/qttest:4"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.0.1-Werror.patch )
+
+DOCS=( AUTHORS README TODO )
diff --git a/media-libs/libechonest/libechonest-2.2.0-r1.ebuild b/media-libs/libechonest/libechonest-2.2.0-r1.ebuild
new file mode 100644
index 000000000000..6ca99b06f3ce
--- /dev/null
+++ b/media-libs/libechonest/libechonest-2.2.0-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils
+
+DESCRIPTION="A library for communicating with The Echo Nest"
+HOMEPAGE="http://projects.kde.org/projects/playground/libs/libechonest"
+SRC_URI="http://files.lfranchi.com/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0/2.2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RESTRICT="test" # Networking required
+
+RDEPEND=">=dev-libs/qjson-0.5
+ dev-qt/qtcore:4"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS README TODO )
+
+PATCHES=( "${FILESDIR}"/${P}-always_use_QJSON_LIBRARIES.patch )
+
+src_prepare() {
+ cmake-utils_src_prepare
+ sed -i -e '/find_package/s/QtTest//' CMakeLists.txt || die #507086
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DECHONEST_BUILD_TESTS=OFF
+ )
+ cmake-utils_src_configure
+}
diff --git a/media-libs/libechonest/libechonest-2.3.0.ebuild b/media-libs/libechonest/libechonest-2.3.0.ebuild
new file mode 100644
index 000000000000..8dabd88dbd2f
--- /dev/null
+++ b/media-libs/libechonest/libechonest-2.3.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils multibuild
+
+DESCRIPTION="A library for communicating with The Echo Nest"
+HOMEPAGE="http://projects.kde.org/projects/playground/libs/libechonest"
+SRC_URI="http://files.lfranchi.com/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0/2.3"
+KEYWORDS="~amd64 ~x86"
+IUSE="+qt4 qt5"
+
+RESTRICT="test" # Networking required
+
+RDEPEND="
+ qt4? (
+ dev-libs/qjson[qt4(+)]
+ dev-qt/qtcore:4
+ )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtnetwork:5
+ )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS README TODO )
+
+pkg_setup() {
+ MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) )
+}
+
+src_configure() {
+ myconfigure() {
+ local mycmakeargs=(
+ -DECHONEST_BUILD_TESTS=OFF
+ )
+
+ 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/libechonest/libechonest-2.3.1.ebuild b/media-libs/libechonest/libechonest-2.3.1.ebuild
new file mode 100644
index 000000000000..8ca01f594f29
--- /dev/null
+++ b/media-libs/libechonest/libechonest-2.3.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils multibuild
+
+DESCRIPTION="A library for communicating with The Echo Nest"
+HOMEPAGE="http://projects.kde.org/projects/playground/libs/libechonest"
+SRC_URI="http://files.lfranchi.com/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0/2.3"
+KEYWORDS="~amd64 ~x86"
+IUSE="+qt4 qt5"
+
+REQUIRED_USE="|| ( qt4 qt5 )"
+
+RESTRICT="test" # Networking required
+
+RDEPEND="
+ qt4? (
+ dev-libs/qjson[qt4(+)]
+ dev-qt/qtcore:4
+ )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtnetwork:5
+ )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS README TODO )
+
+pkg_setup() {
+ MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) )
+}
+
+src_configure() {
+ myconfigure() {
+ local mycmakeargs=(
+ -DECHONEST_BUILD_TESTS=OFF
+ )
+
+ 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/libechonest/metadata.xml b/media-libs/libechonest/metadata.xml
new file mode 100644
index 000000000000..ff73030e0408
--- /dev/null
+++ b/media-libs/libechonest/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>nikoli@gmx.us</email>
+ <name>Nikoli</name>
+ </maintainer>
+ <maintainer>
+ <email>ssuominen@gentoo.org</email>
+ <name>Samuli Suominen</name>
+ </maintainer>
+</pkgmetadata>