From: "Johannes Huber" <johu@gmx.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: dev-cpp/clucene/, dev-cpp/clucene/files/
Date: Fri, 19 Aug 2011 15:37:36 +0000 (UTC) [thread overview]
Message-ID: <cd4837c803d615b6f67f90e05a57fe368134c637.j0hu@gentoo> (raw)
commit: cd4837c803d615b6f67f90e05a57fe368134c637
Author: Johannes Huber <johu <AT> gmx <DOT> de>
AuthorDate: Fri Aug 19 12:48:19 2011 +0000
Commit: Johannes Huber <johu <AT> gmx <DOT> de>
CommitDate: Fri Aug 19 12:48:19 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=cd4837c8
[dev-cpp/clucene] Bump 2.3.3.4
---
dev-cpp/clucene/clucene-2.3.3.4.ebuild | 49 ++++++++++++++++++++++++
dev-cpp/clucene/files/clucene-9999-cmake.patch | 30 ++++++++++++++
dev-cpp/clucene/metadata.xml | 5 ++
3 files changed, 84 insertions(+), 0 deletions(-)
diff --git a/dev-cpp/clucene/clucene-2.3.3.4.ebuild b/dev-cpp/clucene/clucene-2.3.3.4.ebuild
new file mode 100644
index 0000000..7ec90d0
--- /dev/null
+++ b/dev-cpp/clucene/clucene-2.3.3.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+MY_PN="${PN}"-core
+MY_P="${MY_PN}"-"${PV}"
+
+inherit cmake-utils
+
+DESCRIPTION="High-performance, full-featured text search engine based off of lucene in C++"
+HOMEPAGE="http://clucene.sourceforge.net/"
+SRC_URI="mirror://sourceforge/clucene/${MY_P}.tar.gz"
+
+LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd
+~amd64-linux ~x86-linux ~ppc-macos"
+
+IUSE="debug doc static-libs"
+
+DEPEND="
+ doc? ( >=app-doc/doxygen-1.4.2 )
+"
+RDEPEND="!<app-misc/strigi-0.7.5-r3"
+
+DOCS=(AUTHORS ChangeLog README README.PACKAGE REQUESTS)
+
+PATCHES=(
+ "${FILESDIR}/${PN}-9999-cmake.patch"
+)
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_configure() {
+ # Disabled threads: see upstream bug
+ # https://sourceforge.net/tracker/?func=detail&aid=3237301&group_id=80013&atid=558446
+ local mycmakeargs=(
+ -DENABLE_ASCII_MODE=OFF
+ -DENABLE_PACKAGING=OFF
+ -DDISABLE_MULTITHREADING=OFF
+ $(cmake-utils_use_enable debug)
+ $(cmake-utils_use_enable doc CLDOCS)
+ $(cmake-utils_use_build static-libs STATIC_LIBRARIES)
+ )
+
+ cmake-utils_src_configure
+}
diff --git a/dev-cpp/clucene/files/clucene-9999-cmake.patch b/dev-cpp/clucene/files/clucene-9999-cmake.patch
new file mode 100644
index 0000000..81a3c53
--- /dev/null
+++ b/dev-cpp/clucene/files/clucene-9999-cmake.patch
@@ -0,0 +1,30 @@
+diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
+index 6084f2f..7529b41 100644
+--- a/src/core/CMakeLists.txt
++++ b/src/core/CMakeLists.txt
+@@ -222,8 +222,6 @@ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/CLuceneConfig.cmake" "
+ set(CLUCENE_VERSION ${CLUCENE_VERSION})
+ set(CLUCENE_SOVERSION ${CLUCENE_SOVERSION})
+ ")
+-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/CLuceneConfig.cmake"
+- DESTINATION ${LIB_DESTINATION}/CLuceneConfig.cmake)
+
+ # install pkg-config file
+ IF(NOT WIN32)
+@@ -238,16 +236,10 @@ IF ( LUCENE_SYS_INCLUDES )
+ install(FILES ${clucene-shared_BINARY_DIR}/CLucene/clucene-config.h
+ DESTINATION ${LUCENE_SYS_INCLUDES}/CLucene
+ COMPONENT development)
+- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/CLuceneConfig.cmake
+- DESTINATION ${LUCENE_SYS_INCLUDES}/CLucene
+- COMPONENT development)
+ ELSE ( LUCENE_SYS_INCLUDES )
+ install(FILES ${clucene-shared_BINARY_DIR}/CLucene/clucene-config.h
+ DESTINATION include/CLucene
+ COMPONENT development)
+- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/CLuceneConfig.cmake
+- DESTINATION include/CLucene
+- COMPONENT development)
+ ENDIF ( LUCENE_SYS_INCLUDES )
+
+
diff --git a/dev-cpp/clucene/metadata.xml b/dev-cpp/clucene/metadata.xml
new file mode 100644
index 0000000..a23f444
--- /dev/null
+++ b/dev-cpp/clucene/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>kde</herd>
+</pkgmetadata>
next reply other threads:[~2011-08-19 15:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-19 15:37 Johannes Huber [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-11-12 19:08 [gentoo-commits] proj/kde:master commit in: dev-cpp/clucene/, dev-cpp/clucene/files/ Andreas Hüttel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cd4837c803d615b6f67f90e05a57fe368134c637.j0hu@gentoo \
--to=johu@gmx.de \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox