summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2013-12-22 12:09:25 +0000
committerJohannes Huber <johu@gentoo.org>2013-12-22 12:09:25 +0000
commit39868f34a70e64e2ef6c68cc67d2e30fe05924ba (patch)
treec3d7bbae05e948db16afe126fd22e1235ade351c /app-misc
parentStable for ppc64, wrt bug #490110 (diff)
downloadhistorical-39868f34a70e64e2ef6c68cc67d2e30fe05924ba.tar.gz
historical-39868f34a70e64e2ef6c68cc67d2e30fe05924ba.tar.bz2
historical-39868f34a70e64e2ef6c68cc67d2e30fe05924ba.zip
Remove old.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xF3CFD2BD
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/strigi/ChangeLog7
-rw-r--r--app-misc/strigi/Manifest36
-rw-r--r--app-misc/strigi/files/strigi-0.7.7-ffmpeg-0.11.patch155
-rw-r--r--app-misc/strigi/files/strigi-0.7.7-gcc47.patch20
-rw-r--r--app-misc/strigi/metadata.xml1
-rw-r--r--app-misc/strigi/strigi-0.7.7-r2.ebuild95
6 files changed, 22 insertions, 292 deletions
diff --git a/app-misc/strigi/ChangeLog b/app-misc/strigi/ChangeLog
index 9288818455ce..6dcf60567647 100644
--- a/app-misc/strigi/ChangeLog
+++ b/app-misc/strigi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/strigi
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/strigi/ChangeLog,v 1.107 2013/12/22 12:01:45 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/strigi/ChangeLog,v 1.108 2013/12/22 12:09:17 johu Exp $
+
+ 22 Dec 2013; Johannes Huber <johu@gentoo.org>
+ -files/strigi-0.7.7-ffmpeg-0.11.patch, -files/strigi-0.7.7-gcc47.patch,
+ -strigi-0.7.7-r2.ebuild, metadata.xml:
+ Remove old.
22 Dec 2013; Agostino Sarubbo <ago@gentoo.org> strigi-0.7.8.ebuild:
Stable for ppc64, wrt bug #489496
diff --git a/app-misc/strigi/Manifest b/app-misc/strigi/Manifest
index 74078e89cbe1..a510872a6dfa 100644
--- a/app-misc/strigi/Manifest
+++ b/app-misc/strigi/Manifest
@@ -1,29 +1,25 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
-AUX strigi-0.7.7-ffmpeg-0.11.patch 5112 SHA256 c3a3cdbd603091e0cc99201ea8221b068c4a7ae35d2241b1763d6b0ffab41ccd SHA512 467bf77dd43b62fd70a7e02346c5cab8e685ad73ffc018e926301f05b12399a3244f75dd3fb4615048898a029162ebb1e13759847926528dfef164c783d4309f WHIRLPOOL bd3b385d8f6493a4509901f27dc5be5d42e6b8428f064c3e39f450220e282ad3d0e0a20e47eeeb931d44a82cf4d53e9da417152f30dffd2433f788ec8b731ecc
-AUX strigi-0.7.7-gcc47.patch 646 SHA256 5803f646ee063dc397bf47164584aaac91f877f0195f80d027baa8e2571cf6bc SHA512 a6a70deb4d6f1a5756714bfa0b33cccb842940d01d786ef943199e91a7ccccb82d8acb629a01be82b6a8a86db378af2e2766f3a781a533fb05373a3b0d0634ed WHIRLPOOL a27a3d79de6bff3b45f343356de547ebc05ea9f546bfb261be3926aef213542fd97f0a42c1ae149e9adfb65ed457ee2504ab20eb70ecdd861f940e141d3fe801
AUX strigi-0.7.8-gcc-4.8.patch 357 SHA256 e140389f6e61f7822fb609acd04d300704b76d5c9949fff75371a0677663f0b3 SHA512 d9c3616a553dabe2e3c60030cba658365258b0c279e80e4a2afce34a25ead3fc5afc4dbb7559e3114b61beee9c3b09e07540b1c994a45f99d09fc3127f0b5862 WHIRLPOOL a5434a729626aea2deed0267782c443638ff27d220269aa3b809d9848e087cb8ecedbcab5d23af8b3c2a08accc5c8117d18dc2584478d922ccdf5b7dcf8ad0b3
-DIST strigi-0.7.7.tar.xz 698312 SHA256 de35cb6c4e909f88fa39649fdf3b5ebc2908e0c7311c305cdd93b42b4801d817 SHA512 00498e5248cbaf676054e40dba877a326b4da322b6624bd5f06b48d0b8567a45c8efadf1d7522bbd8ca6e50d4d9d7c4b4beccb25ccd84feb894be0e206818c78 WHIRLPOOL 404961425f99986956871978906a6defa447060a90bbdb9d755a8322e3616741cb6e4c922865857d5c9227d45aaca5cd30972dd8abcd34d43475178352b1403f
DIST strigi-0.7.8.tar.bz2 810574 SHA256 43e461a625acdefa59bf58cc9d10aebda9eba920dfbe800fc77e6dcbf1eff989 SHA512 536f5bd5ed13d87d30c2fa31b6dcb2a883df173e5d60deefe0fdeb843f40f29f7edd0041029dc013bb31a205572087ed95ca661bcdf6d989d9806931716b1043 WHIRLPOOL 6853025cee89811dadb6e7f6309a6a8dfec1863cb75ab8af04a9a21b228b74723de06c4f787342ce7a0d6087303ecc0c4f599c2a3978838675678343d0b84ae4
-EBUILD strigi-0.7.7-r2.ebuild 2591 SHA256 c6bfa3ce0c15c61981766a3c6fe3ee3282669d8e6f9baf1c52a949fed914597d SHA512 e7c0a1ce861cf7e2a88956e92e58c00c9df57cebe8edd404568900fbc662088254b577f600566fe3a6bb4c20ed67c41abb8f16a4e8311f545519e242464d0c3c WHIRLPOOL c8b3c86b0d4caaa96c23108f48b7a55295cc3d6a58aedc126bd09dd3f4212dfc8fe1889adac9ab78ed102e91eba388c17e98125b3ed42ab7299a59de2ed4dfbb
EBUILD strigi-0.7.8.ebuild 2257 SHA256 c3088ad4f68178c1daec25a9882a991225136605df7bc81fb33788c1f295458c SHA512 322018af61c1d02767bc88093554a812549b8828a9067208fbc4b15b746a2d4581c60465ab792ed0a0c8c7c64a7eef12ab833cd834646dbb296616b89d32e86b WHIRLPOOL 1912f4204e35785e0ee49c7b8ad124bb9ac877bb7b9cff6796cadd7203229193baecdaa762f5e43f0c9e44b88efbf851a5b0d573b49b0526d58d95dcfbe0c0b2
-MISC ChangeLog 19536 SHA256 f7cdfa29deced5a3683ce5fd533c87c1f20827fec3b1ca3d623142fe640a4cad SHA512 c70f7ba052f8578e0ddc9b13c781d845acbd09b7aad3fb8a389544390228521de4eb9b5e85980eaaf87d7c0edd5c96d400e8a5d82c7d8fb0e0a4b9307050e5ea WHIRLPOOL 4f54080c1396f6c2cb3abac3d26c43fee41ee879fd76b82eb690af64b03464536aa33308f95a656e8cc140115d7873ac43ab3287cec5a65d54964bfc07b6e197
-MISC metadata.xml 486 SHA256 2a4f8b7f0572075a608b0a3fb2e62321b4dbdd61b231cf72218246f0351cda12 SHA512 d7b0cb1f16777eaa062327d6584e69ddc90842ea1d867ec06ceb0a03515fa107fc66d3a94806bf9cf2aaeef300024eb384a70f6fcbe26b2d6f008751f92c17ac WHIRLPOOL 87bd369ade6d7cb4d188aea272b239916d7a19040e5b2dd0965f4c63e657699e8509f2ca0d66dc9e83bcb5e6a9afe1dae4f97e957ce2436bc7a2e811ab1bf46f
+MISC ChangeLog 19715 SHA256 e5f3e72d62b3b7c477fc4f01820e6b8cd0341b69ed9de59f3c32bb5791499aaa SHA512 0d7144032b3b2c0b5068e6f7ea17168c5ecee54afe92e7e3eb5d34dcec01cbd58c3b83adff81f00aac6c7163061845b2a870b030cfe0d196ec1f41046c94d878 WHIRLPOOL 64035fb9e045755d42b7057c8c4a47b1e553fe8839595bf5a65fda64e8f47ceefc19c958451ee5bafc8f717bd13fd75d14fff947984cc677b10bc1e85468f46a
+MISC metadata.xml 393 SHA256 d50b05596401808e1ea72873207bb79774ebb976d6caee2b5c2a89ab8452df33 SHA512 6fa643c4d9f906ca9f3bb32a6cff9ec36a4d73c79931dfa929bb60b6d6770f053511acd40b8402eb15b3d54de74ef6f24a12a237f23da11868d4aa8643fe348e WHIRLPOOL 343aea9f0f3a0a346ff519caaf6207cf398a0abd9ebd8820905b9aced84852218b0c80a1569397c4b43cd104f9829699cc54a52ea2bc8ce5b3d598792aa92c04
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCgAGBQJSttO4AAoJELp701BxlEWfikEQAI2qZYpYnwTR0n0NH9UoMFRL
-QWwbDU04bsoIh9QqshleKRztWyqUOiuQM/ft44IAJa3Sz4JocaP3+HYVPXD61pnY
-9/o6cTQPutF0FMOJ7Y3n29Ni/12hzIVKeec0rjwLlSw+YJoMDqgcn1q8pn334Che
-wI8kC/bowo5jzRqQExujSMEygGk6f6xCkw0fXKPB7HXwN+yCqH+ETZCIjVQrT8C0
-Dmp6wcZB0Wc9Qb/vtVWKJRapsBBAaTwRrGVUqYduJpAssdtKKXbqF7poFWvvUEkf
-B35Qca7+kvmx2eYDgYww9H8L4mIMtDeIT1200uZhBFaZ1qVpUGsUZp/iA6u/o4Ul
-qwCtWkLeRlGP0HvvCrQIN1ILGhLEPznLt1e5+3E/V7+nZA6QWrM9/wULlogTrNcj
-HoThwSWH8fNJgzevdSuUQZxzGJNFg/suz56AisbuuaGFGvyF8rIMowz2tmbBQYTy
-XnNBJSmBaVG+lNXPKfEtcEz//ktuH5myJ7r3+6bJ5cl+35KlhptBOzJmoK1ZGbpt
-/ypwEVTD4iTK88UZun6h6huCTNTxVerKNHOiuzHwIw/GnJPO87z775PQjQlIfP31
-fMc2WHX1HGLmBx9IZi4fOLWSG/Jo6qs47IMgyJfCCo6OcNVJEEbPmr6jVAQxTvIf
-wbOcazpW0/kKVIwspYLV
-=aaTM
+iQIcBAEBCAAGBQJSttZxAAoJEGVpnaTzz9K9U7YQAJxGbO7MeeA+nyTiL1MpvcR8
+wZ+97UbqgF/RnjgvBy6zQ3Uicnzvl+mSxGZF1Y03CDebXOml57ZL780rQgiudDOt
+kSwQRZoZ3nPhDcbwHbu4jM7syJYuiE2hkdw3e81SnAroGGF71N5gN4uPvCVHCqoi
+IBo2dxFx/bJJppcegZYkK6rv/qGKoCVDhRotKizmA3Fh2w9yESoLaebjWBPSLqjI
+fBY14SBnwTSdqP8ezOVkSbVWjjeez+B5M7t8Qp+FT5UpxKTyJ0n43QKIAPipRa4Y
+Pnjlmv8rCO7nneVYDqkBcqsQ75uPsfJNYBjnuQsFiuSNQXTSRDaKREpbY5gMa5sH
+uHS5uZAF5iTnirNsSCuFn1ZCnC6vYD5gJPWcyVvjF1tD1WLherjNnqxtc/H40EcN
+aSUMQRko43MAAo8taDa3tbLG6a5onbAp2+9qFMa7AWUrTbW7662lPgZlgPkT48RB
+yqDnHZ5WOdvgz2uKLib7oLWpkeVVtZ/du7dwl19F6DsIGTH0YTG0NgmfSPxlqUVi
+QPWrSfaPmgr+ikx+LySjs4u1EViYoTeLlNYUb+3px6AjTgOuKtrrjpWvVsol/OR5
+aATlVi0+iID500C3IImZ4FvP1L7DY6iOKt77iFtCX2KVlfP3izTmizNlC0V/VyOq
+sVH2MYN9V36WBYSlyVvR
+=cgbD
-----END PGP SIGNATURE-----
diff --git a/app-misc/strigi/files/strigi-0.7.7-ffmpeg-0.11.patch b/app-misc/strigi/files/strigi-0.7.7-ffmpeg-0.11.patch
deleted file mode 100644
index 465eda4c71c5..000000000000
--- a/app-misc/strigi/files/strigi-0.7.7-ffmpeg-0.11.patch
+++ /dev/null
@@ -1,155 +0,0 @@
-Source: Mandriva patch
-Upstream: No bug report on bugs.kde.org
-Reason: libstreamanalyzer uses deprecated symbols from ffmpeg removed in 0.11
---- strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp.bero 2012-06-08 16:49:40.846877030 +0200
-+++ strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp 2012-06-08 17:27:40.416888115 +0200
-@@ -305,13 +305,6 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
- uint8_t pDataBuffer[32768];//65536];
- long lSize = 32768;
-
-- ByteIOContext ByteIOCtx;
-- if(init_put_byte(&ByteIOCtx, pDataBuffer, lSize, 0, in, read_data, NULL, seek_data) < 0)
-- return -1;
--
-- //pAVInputFormat->flags |= AVFMT_NOFILE;
-- ByteIOCtx.is_streamed = 0;
--
- AVProbeData pd;
- const char *buf;
- pd.filename ="";
-@@ -324,14 +317,27 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
- if(fmt == NULL)
- return 1;
-
-- AVFormatContext *fc = NULL;
-- if(av_open_input_stream(&fc, &ByteIOCtx, "", fmt, NULL) < 0)
-+ AVFormatContext *fc = avformat_alloc_context();
-+ if(!fc)
-+ return -1;
-+
-+ AVIOContext *pb = avio_alloc_context(pDataBuffer, lSize, 0, in, read_data, NULL, seek_data);
-+ if(!fc->pb) {
-+ av_free(fc);
- return -1;
-+ }
-+
-+ fc->pb = pb;
-+
-+ if(avformat_open_input(&fc, "", fmt, NULL) < 0) {
-+ av_free(fc);
-+ return -1;
-+ }
-
-- av_find_stream_info(fc);
-+ avformat_find_stream_info(fc, NULL);
-
- // Dump information about file onto standard error
-- dump_format(fc, 0, ar.path().c_str(), false);
-+ av_dump_format(fc, 0, ar.path().c_str(), false);
-
- if(fc->bit_rate)
- ar.addValue(factory->bitrateProperty, fc->bit_rate);
-@@ -372,10 +378,10 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
- ar.addTriplet(streamuri, durationPropertyName,outs.str());
- }
-
-- //FIXME we must stop using the deprecated fuction av_metadata_get and use
-+ //FIXME we must stop using the deprecated fuction av_dict_get and use
- // av_dict_get once we are able to detect the version of FFMpeg being used
- // using version macros. same goes for all occurences of this function.
-- AVMetadataTag *entry = av_metadata_get(stream.metadata, "language", NULL, 0);
-+ AVDictionaryEntry *entry = av_dict_get(stream.metadata, "language", NULL, 0);
- if (entry != NULL) {
- const char *languageValue = entry->value;
- if (size_t len = strlen(languageValue)) {
-@@ -430,7 +436,7 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
- outs << codec.sample_rate;
- ar.addTriplet(streamuri, sampleratePropertyName, outs.str());
- }
-- if (codec.sample_fmt != SAMPLE_FMT_NONE) {}//FIXME sample format
-+ if (codec.sample_fmt != AV_SAMPLE_FMT_NONE) {}//FIXME sample format
-
- } else { // video stream
-
-@@ -469,7 +475,7 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
-
- // Tags
-
-- AVMetadataTag *entry = av_metadata_get(fc->metadata, "title", NULL, 0);
-+ AVDictionaryEntry *entry = av_dict_get(fc->metadata, "title", NULL, 0);
- if (entry != NULL)
- {
- const char *titleValue = entry->value;
-@@ -478,7 +484,7 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
- }
- }
-
-- entry = av_metadata_get(fc->metadata, "author", NULL, 0);
-+ entry = av_dict_get(fc->metadata, "author", NULL, 0);
- if (entry != NULL)
- {
- const char *authorValue = entry->value;
-@@ -490,7 +496,7 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
- }
- }
-
-- entry = av_metadata_get(fc->metadata, "copyright", NULL, 0);
-+ entry = av_dict_get(fc->metadata, "copyright", NULL, 0);
- if (entry != NULL)
- {
- const char *copyrightValue = entry->value;
-@@ -499,7 +505,7 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
- }
- }
-
-- entry = av_metadata_get(fc->metadata, "comment", NULL, 0);
-+ entry = av_dict_get(fc->metadata, "comment", NULL, 0);
- if (entry != NULL)
- {
- const char *commentValue = entry->value;
-@@ -508,7 +514,7 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
- }
- }
-
-- entry = av_metadata_get(fc->metadata, "album", NULL, 0);
-+ entry = av_dict_get(fc->metadata, "album", NULL, 0);
- if (entry != NULL)
- {
- const char *albumValue = entry->value;
-@@ -520,7 +526,7 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
- }
- }
-
-- entry = av_metadata_get(fc->metadata, "genre", NULL, 0);
-+ entry = av_dict_get(fc->metadata, "genre", NULL, 0);
- if (entry != NULL)
- {
- const char *genreValue = entry->value;
-@@ -529,7 +535,7 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
- }
- }
-
-- entry = av_metadata_get(fc->metadata, "track", NULL, 0);
-+ entry = av_dict_get(fc->metadata, "track", NULL, 0);
- if (entry != NULL)
- {
- const char *trackValue = entry->value;
-@@ -538,7 +544,7 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
- }
- }
-
-- entry = av_metadata_get(fc->metadata, "year", NULL, 0);
-+ entry = av_dict_get(fc->metadata, "year", NULL, 0);
- if (entry != NULL)
- {
- const char *yearValue = entry->value;
-@@ -547,7 +553,8 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
- }
- }
-
-- av_close_input_stream(fc);
-+ avformat_close_input(&fc);
-+ av_free(pb);
- //url_fclose(&ByteIOCtx);
-
- return 0;
diff --git a/app-misc/strigi/files/strigi-0.7.7-gcc47.patch b/app-misc/strigi/files/strigi-0.7.7-gcc47.patch
deleted file mode 100644
index 3e3d31835f67..000000000000
--- a/app-misc/strigi/files/strigi-0.7.7-gcc47.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-commit a8e97f672325557b3fbc84b987299350ec5ac10b
-Author: Rex Dieter <rdieter@fedoraproject.org>
-Date: Mon Jan 9 11:13:25 2012 -0600
-
- gcc47 fix, unistd.h header required unconditionally for 'sleep'
-
-diff --git a/strigidaemon/bin/daemon/eventlistener/eventlistenerqueue.cpp b/strigidaemon/bin/daemon/eventlistener/eventlistenerqueue.cpp
-index 9fcdcb1..1e97599 100644
---- a/strigidaemon/bin/daemon/eventlistener/eventlistenerqueue.cpp
-+++ b/strigidaemon/bin/daemon/eventlistener/eventlistenerqueue.cpp
-@@ -27,9 +27,7 @@
- #include <iostream>
- #include <stdio.h>
-
--#if defined(__SUNPRO_CC)
- #include <unistd.h>
--#endif
-
- using namespace std;
-
diff --git a/app-misc/strigi/metadata.xml b/app-misc/strigi/metadata.xml
index 8e6ee8e0004c..3adfa35457f8 100644
--- a/app-misc/strigi/metadata.xml
+++ b/app-misc/strigi/metadata.xml
@@ -3,7 +3,6 @@
<pkgmetadata>
<use>
<flag name="clucene">Enable <pkg>dev-cpp/clucene</pkg> backend support.</flag>
- <flag name="hyperestraier">Enable <pkg>app-text/hyperestraier</pkg> backend support.</flag>
<flag name="log">Enables advanced logging through <pkg>dev-libs/log4cxx</pkg>.</flag>
<flag name="inotify">Enable support for inotify.</flag>
</use>
diff --git a/app-misc/strigi/strigi-0.7.7-r2.ebuild b/app-misc/strigi/strigi-0.7.7-r2.ebuild
deleted file mode 100644
index d529f02d5d65..000000000000
--- a/app-misc/strigi/strigi-0.7.7-r2.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/strigi/strigi-0.7.7-r2.ebuild,v 1.11 2013/04/02 20:55:47 ago Exp $
-
-EAPI=5
-
-if [[ "${PV}" != "9999" ]]; then
- SRC_URI="http://dev.gentoo.org/~johu/distfiles/${P}.tar.xz"
- KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
-else
- EGIT_REPO_URI="git://anongit.kde.org/strigi"
- GIT_ECLASS="git-2"
- EGIT_HAS_SUBMODULES="true"
- KEYWORDS=""
-fi
-
-inherit cmake-utils ${GIT_ECLASS}
-
-DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI"
-HOMEPAGE="https://projects.kde.org/projects/kdesupport/strigi/strigi"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="clucene +dbus debug exif fam ffmpeg hyperestraier inotify log +qt4 test"
-
-COMMONDEPEND="
- app-arch/bzip2:0
- dev-libs/libxml2:2
- sys-libs/zlib:0
- virtual/libiconv
- clucene? ( >=dev-cpp/clucene-0.9.21[-debug] )
- dbus? (
- sys-apps/dbus
- qt4? ( dev-qt/qtdbus:4 )
- )
- exif? ( >=media-gfx/exiv2-0.17 )
- fam? ( virtual/fam )
- ffmpeg? ( virtual/ffmpeg )
- hyperestraier? ( app-text/hyperestraier )
- log? ( >=dev-libs/log4cxx-0.10.0 )
- qt4? (
- dev-qt/qtcore:4
- dev-qt/qtgui:4
- )
-"
-DEPEND="${COMMONDEPEND}
- dev-libs/boost
- test? ( dev-util/cppunit )"
-RDEPEND=${COMMONDEPEND}
-
-PATCHES=(
- "${FILESDIR}/${P}-gcc47.patch"
- "${FILESDIR}/${P}-ffmpeg-0.11.patch"
-)
-
-src_configure() {
- # Enabled: POLLING (only reliable way to check for files changed.)
- # Disabled: xine - recommended upstream to keep it this way
- mycmakeargs=(
- -DENABLE_POLLING=ON
- -DFORCE_DEPS=ON
- -DENABLE_CPPUNIT=OFF
- -DENABLE_REGENERATEXSD=OFF
- -DENABLE_XINE=OFF
- $(cmake-utils_use_enable clucene CLUCENE)
- $(cmake-utils_use_enable clucene CLUCENE_NG)
- $(cmake-utils_use_enable dbus)
- $(cmake-utils_use_enable exif EXIV2)
- $(cmake-utils_use_enable fam)
- $(cmake-utils_use_enable ffmpeg)
- $(cmake-utils_use_enable hyperestraier)
- $(cmake-utils_use_enable inotify)
- $(cmake-utils_use_enable log LOG4CXX)
- $(cmake-utils_use_enable qt4)
- $(cmake-utils_use_enable test CPPUNIT)
- )
-
- if use qt4; then
- mycmakeargs+=(-DENABLE_DBUS=ON)
- fi
-
- cmake-utils_src_configure
-}
-
-pkg_postinst() {
- if ! use clucene && ! use hyperestraier; then
- echo
- elog "Because you didn't enable either of the available backends:"
- elog "clucene or hyperestraier, strigi may not be functional."
- elog "If you intend to use standalone strigi indexer (not needed for KDE),"
- elog "be sure to reinstall app-misc/strigi with either clucene (recommended)"
- elog "or hyperestraier (unreliable) USE flag enabled."
- echo
- fi
-}