Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/strigi: ChangeLog strigi-0.7.5-r2.ebuild
Date: Tue, 02 Aug 2011 21:30:50
Message-Id: 20110802213040.B81AA2004C@flycatcher.gentoo.org
1 dilfridge 11/08/02 21:30:40
2
3 Modified: ChangeLog
4 Added: strigi-0.7.5-r2.ebuild
5 Log:
6 Add upstream fix for new ffmpeg / libav, bug 376189
7
8 (Portage version: 2.1.10.9/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.70 app-misc/strigi/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/strigi/ChangeLog?rev=1.70&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/strigi/ChangeLog?rev=1.70&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/strigi/ChangeLog?r1=1.69&r2=1.70
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-misc/strigi/ChangeLog,v
20 retrieving revision 1.69
21 retrieving revision 1.70
22 diff -u -r1.69 -r1.70
23 --- ChangeLog 17 Jul 2011 12:17:12 -0000 1.69
24 +++ ChangeLog 2 Aug 2011 21:30:40 -0000 1.70
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-misc/strigi
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-misc/strigi/ChangeLog,v 1.69 2011/07/17 12:17:12 dilfridge Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-misc/strigi/ChangeLog,v 1.70 2011/08/02 21:30:40 dilfridge Exp $
30 +
31 +*strigi-0.7.5-r2 (02 Aug 2011)
32 +
33 + 02 Aug 2011; Andreas K. Huettel <dilfridge@g.o>
34 + +strigi-0.7.5-r2.ebuild, +files/strigi-0.7.5-ffmpeg.patch:
35 + Add upstream fix for new ffmpeg / libav, bug 376189
36
37 *strigi-0.7.5-r1 (17 Jul 2011)
38
39
40
41
42 1.1 app-misc/strigi/strigi-0.7.5-r2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/strigi/strigi-0.7.5-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/strigi/strigi-0.7.5-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: strigi-0.7.5-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-misc/strigi/strigi-0.7.5-r2.ebuild,v 1.1 2011/08/02 21:30:40 dilfridge Exp $
52
53 EAPI=4
54
55 if [[ "${PV}" != "9999" ]]; then
56 SRC_URI="http://www.vandenoever.info/software/${PN}/${P}.tar.bz2"
57 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
58 else
59 EGIT_REPO_URI="git://anongit.kde.org/strigi"
60 GIT_ECLASS="git-2"
61 EGIT_HAS_SUBMODULES="true"
62 KEYWORDS=""
63 fi
64
65 inherit cmake-utils ${GIT_ECLASS}
66
67 DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI"
68 HOMEPAGE="http://strigi.sourceforge.net/"
69
70 LICENSE="GPL-2"
71 SLOT="0"
72 IUSE="clucene +dbus debug exif fam ffmpeg hyperestraier inotify log +qt4 test"
73
74 COMMONDEPEND="
75 app-arch/bzip2:0
76 dev-libs/libxml2:2
77 sys-libs/zlib:0
78 virtual/libiconv
79 clucene? ( >=dev-cpp/clucene-0.9.21[-debug] )
80 dbus? (
81 sys-apps/dbus
82 qt4? ( x11-libs/qt-dbus:4 )
83 )
84 exif? ( >=media-gfx/exiv2-0.17 )
85 fam? ( virtual/fam )
86 ffmpeg? ( virtual/ffmpeg )
87 hyperestraier? ( app-text/hyperestraier )
88 log? ( >=dev-libs/log4cxx-0.10.0 )
89 qt4? (
90 x11-libs/qt-core:4
91 x11-libs/qt-gui:4
92 )
93 "
94 DEPEND="${COMMONDEPEND}
95 test? ( dev-util/cppunit )"
96 RDEPEND="${COMMONDEPEND}"
97
98 PATCHES=(
99 "${FILESDIR}/${PN}-0.7.5-no-qt4.patch"
100 "${FILESDIR}/${PN}-0.7.5-ffmpeg.patch"
101 )
102
103 src_configure() {
104 # Enabled: POLLING (only reliable way to check for files changed.)
105 # Disabled: xine - recommended upstream to keep it this way
106 mycmakeargs=(
107 -DENABLE_POLLING=ON
108 -DFORCE_DEPS=ON
109 -DENABLE_CPPUNIT=OFF
110 -DENABLE_REGENERATEXSD=OFF
111 $(cmake-utils_use_enable clucene)
112 $(cmake-utils_use_enable dbus)
113 $(cmake-utils_use_enable exif EXIV2)
114 $(cmake-utils_use_enable fam)
115 $(cmake-utils_use_enable ffmpeg)
116 $(cmake-utils_use_enable hyperestraier)
117 $(cmake-utils_use_enable inotify)
118 $(cmake-utils_use_enable log LOG4CXX)
119 $(cmake-utils_use_enable qt4)
120 $(cmake-utils_use_enable test CPPUNIT)
121 $(cmake-utils_use_disable xine)
122 )
123
124 if use qt4; then
125 mycmakeargs+=(-DENABLE_DBUS=ON)
126 fi
127
128 cmake-utils_src_configure
129 }
130
131 pkg_postinst() {
132 if ! use clucene && ! use hyperestraier; then
133 echo
134 elog "Because you didn't enable either of the available backends:"
135 elog "clucene or hyperestraier, strigi may not be functional."
136 elog "If you intend to use standalone strigi indexer (not needed for KDE),"
137 elog "be sure to reinstall app-misc/strigi with either clucene (recommended)"
138 elog "or hyperestraier (unreliable) USE flag enabled."
139 echo
140 fi
141 }