diff options
author | William Lallemand <wlallemand@irq6.net> | 2013-04-11 01:48:42 +0200 |
---|---|---|
committer | William Lallemand <wlallemand@irq6.net> | 2013-04-11 01:48:42 +0200 |
commit | a703709055b948338d8d5adc2d4dab475475f048 (patch) | |
tree | 88a3bb6cd4e58690b2eb6b0f692e65af8e8eda67 | |
parent | change overlay name (diff) | |
download | sekh-a703709055b948338d8d5adc2d4dab475475f048.tar.gz sekh-a703709055b948338d8d5adc2d4dab475475f048.tar.bz2 sekh-a703709055b948338d8d5adc2d4dab475475f048.zip |
digikam 3.2.0-beta1
-rw-r--r-- | media-gfx/digikam/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/digikam/digikam-3.2.0_beta1.ebuild | 155 |
2 files changed, 157 insertions, 0 deletions
diff --git a/media-gfx/digikam/Manifest b/media-gfx/digikam/Manifest new file mode 100644 index 0000000..c4a9c76 --- /dev/null +++ b/media-gfx/digikam/Manifest @@ -0,0 +1,2 @@ +DIST digikam-3.2.0-beta1.tar.bz2 58618986 SHA256 e5cfe0f5fe3a3c215d0e53eb7d2493472de8583404c0b4d81ff963ac3b65cb71 SHA512 2f9b676fb64c7f0374c03e455ebc9a0a9783e39eab9a403e9f455cf16eea93389c48415a32ff0d83f389afcb294c6309171dcedca276df6bb5c3a60f56a8da65 WHIRLPOOL 154b386fe9a79841ee197070a83d0158832a0d52402fbec334a46bd185a61f3e3b8e8b86e05874fdf900d87dd2e3396e99eb70a9727c9bc51b436eeb9815389d +EBUILD digikam-3.2.0_beta1.ebuild 4209 SHA256 dec7992fb0ffcbf4af1f28f96d81a57203a22306ebec321b975b64ca1505f737 SHA512 bf750298d452381c3105cc5382481a2867c550fb30bfdfed5b9933829cd2c2998969e0aaefebb1b2b091f2c1c8ac080476e6efacc549fffd914ace2e6cea56ce WHIRLPOOL 4bd46adf040af7dcf17fb4e3ccbe9294b52a50a45f54bfaac78ab508393457ef880ec287a56e582d9c94926f283fac305975557ec77ba277396ca119edee86b6 diff --git a/media-gfx/digikam/digikam-3.2.0_beta1.ebuild b/media-gfx/digikam/digikam-3.2.0_beta1.ebuild new file mode 100644 index 0000000..90c8b0a --- /dev/null +++ b/media-gfx/digikam/digikam-3.2.0_beta1.ebuild @@ -0,0 +1,155 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/digikam/digikam-3.1.0.ebuild,v 1.2 2013/04/06 10:14:13 dilfridge Exp $ + +EAPI=5 + +KDE_LINGUAS="af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa fi fo fr fy ga gl ha he hi hr hsb +hu id is it ja ka kk km ko ku lb lo lt lv mi mk mn ms mt nb nds ne nl nn nso oc pa pl pt pt_BR ro ru +rw se sk sl sq sr sr@Latn ss sv ta te tg th tr tt uk uz uz@cyrillic ven vi wa xh zh_CN zh_HK zh_TW zu" + +KDE_HANDBOOK="optional" +CMAKE_MIN_VERSION="2.8" +KDE_MINIMAL="4.10" + +KDE_DOC_DIRS="doc-digikam doc-showfoto" + +inherit kde4-base + +MY_PV=${PV/_/-} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="Digital photo management application for KDE" +HOMEPAGE="http://www.digikam.org/" +SRC_URI="mirror://kde/unstable/${PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2 + handbook? ( FDL-1.2 )" +KEYWORDS="~amd64 ~x86" +SLOT="4" +IUSE="addressbook debug doc gphoto2 mysql semantic-desktop themedesigner +thumbnails video" + +#Keep libf2c blocker until bug 433782 is resolved +CDEPEND=" + $(add_kdebase_dep kdelibs 'semantic-desktop?') + $(add_kdebase_dep kdebase-kioslaves) + $(add_kdebase_dep libkdcraw) + $(add_kdebase_dep libkexiv2) + $(add_kdebase_dep libkipi) + $(add_kdebase_dep marble plasma) + $(add_kdebase_dep solid) + media-libs/jasper + media-libs/lcms:0 + media-libs/lensfun + media-libs/libkface + media-libs/libkgeomap + media-libs/liblqr + >=media-libs/libpgf-6.12.27 + media-libs/libpng:0= + media-libs/tiff + sci-libs/clapack + virtual/jpeg + >=dev-cpp/eigen-3.0.6 + dev-qt/qtgui:4[qt3support] + || ( dev-qt/qtsql:4[mysql] dev-qt/qtsql:4[sqlite] ) + addressbook? ( $(add_kdebase_dep kdepimlibs) ) + gphoto2? ( media-libs/libgphoto2:= ) + mysql? ( virtual/mysql ) +" +RDEPEND="${CDEPEND} + $(add_kdebase_dep kreadconfig) + media-plugins/kipi-plugins + video? ( + || ( + $(add_kdebase_dep mplayerthumbs) + $(add_kdebase_dep ffmpegthumbs) + ) + ) +" +DEPEND="${CDEPEND} + dev-libs/boost + sys-devel/gettext + doc? ( app-doc/doxygen ) +" + +S="${WORKDIR}/${MY_P}/core" + +RESTRICT=test +# bug 366505 + +src_prepare() { + # just to make absolutely sure + rm -rf "${WORKDIR}/${MY_P}/extra" || die + + # prepare the handbook + mkdir doc-digikam doc-showfoto || die + echo "add_subdirectory( en )" > doc-digikam/CMakeLists.txt || die + mv "${WORKDIR}/${MY_P}/doc/${PN}/digikam" doc-digikam/en || die + echo "add_subdirectory( en )" > doc-showfoto/CMakeLists.txt || die + mv "${WORKDIR}/${MY_P}/doc/${PN}/showfoto" doc-showfoto/en || die + sed -i -e 's:../digikam/:../../doc-digikam/en/:g' doc-showfoto/en/index.docbook || die + + # prepare the translations + mv "${WORKDIR}/${MY_P}/po" po || die + find po -name "*.po" -and -not -name "digikam.po" -exec rm {} + + + echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt || die + echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt || die + echo "add_subdirectory( po )" >> CMakeLists.txt || die + + kde4-base_src_prepare + + if use handbook; then + echo "add_subdirectory( doc-digikam )" >> CMakeLists.txt + echo "add_subdirectory( doc-showfoto )" >> CMakeLists.txt + fi +} + +src_configure() { + local backend + + use semantic-desktop && backend="Nepomuk" || backend="None" + # LQR = only allows to choose between bundled/external + local mycmakeargs=( + -DFORCED_UNBUNDLE=ON + -DWITH_LQR=ON + -DWITH_LENSFUN=ON + -DGWENVIEW_SEMANTICINFO_BACKEND=${backend} + $(cmake-utils_use_with addressbook KdepimLibs) + -DWITH_MarbleWidget=ON + $(cmake-utils_use_enable gphoto2 GPHOTO2) + $(cmake-utils_use_with gphoto2) + $(cmake-utils_use_with semantic-desktop Soprano) + $(cmake-utils_use_enable themedesigner) + $(cmake-utils_use_enable thumbnails THUMBS_DB) + $(cmake-utils_use_enable mysql INTERNALMYSQL) + $(cmake-utils_use_enable debug DEBUG_MESSAGES) + ) + + kde4-base_src_configure +} + +src_compile() { + local mytargets="all" + use doc && mytargets+=" doc" + + kde4-base_src_compile ${mytargets} +} + +src_install() { + kde4-base_src_install + + if use doc; then + # install the api documentation + insinto /usr/share/doc/${PF}/ + doins -r ${CMAKE_BUILD_DIR}/api/html + fi +} + +pkg_postinst() { + kde4-base_pkg_postinst + + if use doc; then + elog "The digikam api documentation has been installed at /usr/share/doc/${PF}/html" + fi +} |