diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-plugins/kipi-plugins |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-plugins/kipi-plugins')
-rw-r--r-- | media-plugins/kipi-plugins/Manifest | 7 | ||||
-rw-r--r-- | media-plugins/kipi-plugins/kipi-plugins-5.5.0.ebuild | 83 | ||||
-rw-r--r-- | media-plugins/kipi-plugins/kipi-plugins-5.7.0.ebuild | 81 | ||||
-rw-r--r-- | media-plugins/kipi-plugins/metadata.xml | 17 |
4 files changed, 188 insertions, 0 deletions
diff --git a/media-plugins/kipi-plugins/Manifest b/media-plugins/kipi-plugins/Manifest new file mode 100644 index 000000000000..32c374614057 --- /dev/null +++ b/media-plugins/kipi-plugins/Manifest @@ -0,0 +1,7 @@ +DIST digikam-5.5.0.tar.xz 129499600 SHA256 df9cbf1b8dbfb9235cebc97e77c02fcb1498c5a905c7fd3b9fb42fd7accc6252 SHA512 3c64774916d4804d932009ba3753d387ecf31e9e3d435c580497d3badb6cc3e57ab5ef1a2334a23379d0987d96dd107be4f01adbb63039f4510aa94ac6d71344 WHIRLPOOL e67b444975ad37e939b2f62bba949bcafb41eee2975470daa02e4ffdd62c6c792b6656edf4811daead52fdc1bf064951fbec7b687192e5d5ee542d5d706140be +DIST digikam-5.7.0.tar.xz 123315064 SHA256 3605ffb5b6e8fbd6b725e5075f74f505d7edee7531789c2882d11df2d20150f5 SHA512 626c9854311c637b994325237f171adce3dba39159fb336dfe95f1de287e2d08a3aaddd611eea87e8018047d331aff252b555c382cfbe1d8e14413c51a3849f4 WHIRLPOOL b452919ce9bcf8ccc8434586ace23b96b68b76f49d7229d418b2dc5883e9646c79fb99ecd660d732b8d96efc3a49b70d218756b09a3f16ef9f7f2b174679be70 +EBUILD kipi-plugins-5.5.0.ebuild 2061 SHA256 ec5db349077652e303b8d8db965460ffe58f511a78a716fffa1bc4c825a17aa0 SHA512 c12f6a6a777861cfa4c57eaf1621c4555760b789315efd0ff61378083198108bccdbdca340465d2ef87797900dbfabc6426bdc961daf6350f3b55efb819e9258 WHIRLPOOL 42fce16158381dfb159b4f3c60c1b6256565c5bb87e5bec40ff07aa07a12e21e12bd1da0c71048c4a34b6b92a2ef6183b229e31762699f36744827f494ca8efb +EBUILD kipi-plugins-5.7.0.ebuild 2062 SHA256 2f91c7faa533079ee5f5f4eadd746f636f23a52a23cbb0ce2323bafc87aed359 SHA512 0b6bd1db8a0e5093e11d9d0329ed77de12cce12351e989ab277ef25bac567b674a35cbe5d92733c8ccca58b7524708fc80a95be3a141a8a6ad03b6fc105dd892 WHIRLPOOL dcc3097f6f3289c621ea07b469198ab4fb648f1fbc595188700f5a7c666bee937b3dcfa3806e230e66ae9b93990db9c60312d1fe6d08d15f4a7782dfa475e155 +MISC ChangeLog 6909 SHA256 53dc404fa89adbec02b73c44316c9aea95c08ffc573ddbb19d7044a00fcfb355 SHA512 bdd00c358ee18334192d4ce789dbc76d74f0c35004c414676a4dc9d684710c1f2e9a91a3f403f85f3aa7bab3b2f8804c6dc69137470ab0e965709ed5b2464b62 WHIRLPOOL ae3821f65c0302c162d3d4ff50a1b7b750038bbbc36a8bbff09c6fc9f791b861ea6232068b14e100e21b8d5fb3e224f4e22f83acbc2b66b76d487f5767cfcff2 +MISC ChangeLog-2015 29861 SHA256 15d20f56e757af4d0419bfb09ba09075b88e5d2c7244dcff5400ea6cd61ea70e SHA512 873b50f90c7989dfef9c1b80530c62c1a791cb0e27dbbec18a690630da39166ed310cc9bff64f54ffbc6fe39067161f24f6e60d526aef0e8399b1c318fc9a396 WHIRLPOOL dd993bd52ae244f5986ed56a475182e3e023a37979c221708ac5238747172821d1065db6e9d0d86e77aacc1d588ab25c232b588e3724d88d24637d12ff01a60f +MISC metadata.xml 687 SHA256 19c16d31d5cac4f205a5ed39aa23136c68b6a01af92dea64d2182380b596f167 SHA512 1d3260f089af7889757e0960f74bd4c30ee7ec1c866d0eda82c09ae13be4cdbfd481e9da856d18f6c71008a58f8680275dd70e572449240062d216cf175079a9 WHIRLPOOL e9cdc862f077d762e01528ab7fbd77f1b02e7c70c402867989f75d22fbe41a6b06cc2a7e7cd9f941820a8a6b7e7fb4efc23a885263d871eef0086bffe952a787 diff --git a/media-plugins/kipi-plugins/kipi-plugins-5.5.0.ebuild b/media-plugins/kipi-plugins/kipi-plugins-5.5.0.ebuild new file mode 100644 index 000000000000..a6282115d1ac --- /dev/null +++ b/media-plugins/kipi-plugins/kipi-plugins-5.5.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_TEST="true" +inherit kde5 + +DESCRIPTION="Plugins for the KDE Image Plugin Interface" +HOMEPAGE="https://www.digikam.org/" + +LICENSE="GPL-2+" +KEYWORDS="amd64 x86" +IUSE="flashexport mediawiki +remotestorage vkontakte" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + MY_PV="${PV/_/-}" + MY_P="digikam-${MY_PV}" + + if [[ ${PV} =~ beta[0-9]$ ]]; then + SRC_BRANCH="unstable" + else + SRC_BRANCH="stable" + fi + + SRC_URI="mirror://kde/${SRC_BRANCH}/digikam/${MY_P}.tar.xz" + + S="${WORKDIR}/${MY_P}/extra/${PN}" +fi + +COMMON_DEPEND=" + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_kdeapps_dep libkipi '' '' '5=') + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + $(add_qt_dep qtxmlpatterns) + flashexport? ( $(add_frameworks_dep karchive) ) + mediawiki? ( net-libs/libmediawiki:5 ) + remotestorage? ( $(add_frameworks_dep kio) ) + vkontakte? ( net-libs/libkvkontakte:5 ) +" +DEPEND="${COMMON_DEPEND} + $(add_qt_dep qtconcurrent) + sys-devel/gettext +" +RDEPEND="${COMMON_DEPEND} + !media-plugins/kipi-plugins:4 +" + +src_prepare() { + if [[ ${KDE_BUILD_TYPE} = release ]]; then + if [[ ${SRC_BRANCH} = stable ]]; then + # prepare the translations + mv "${WORKDIR}/${MY_P}/po" po || die + find po -name "*.po" -and -not -name "kipiplugin*.po" -delete || die + echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt || die + echo "add_subdirectory( po )" >> CMakeLists.txt || die + fi + fi + + kde5_src_prepare +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package flashexport KF5Archive) + $(cmake-utils_use_find_package mediawiki KF5MediaWiki) + -DENABLE_KIO=$(usex remotestorage) + $(cmake-utils_use_find_package vkontakte KF5Vkontakte) + ) + + kde5_src_configure +} diff --git a/media-plugins/kipi-plugins/kipi-plugins-5.7.0.ebuild b/media-plugins/kipi-plugins/kipi-plugins-5.7.0.ebuild new file mode 100644 index 000000000000..8f69d808059c --- /dev/null +++ b/media-plugins/kipi-plugins/kipi-plugins-5.7.0.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_TEST="true" +inherit kde5 + +DESCRIPTION="Plugins for the KDE Image Plugin Interface" +HOMEPAGE="https://www.digikam.org/" + +LICENSE="GPL-2+" +IUSE="flashexport mediawiki +remotestorage vkontakte" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + KEYWORDS="~amd64 ~x86" + if [[ ${PV} =~ beta[0-9]$ ]]; then + SRC_BRANCH="unstable" + else + SRC_BRANCH="stable" + fi + + MY_PV="${PV/_/-}" + MY_P="digikam-${MY_PV}" + SRC_URI="mirror://kde/${SRC_BRANCH}/digikam/${MY_P}.tar.xz" + S="${WORKDIR}/${MY_P}/extra/${PN}" +fi + +COMMON_DEPEND=" + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_kdeapps_dep libkipi '' '' '5=') + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + $(add_qt_dep qtxmlpatterns) + flashexport? ( $(add_frameworks_dep karchive) ) + mediawiki? ( net-libs/libmediawiki:5 ) + remotestorage? ( $(add_frameworks_dep kio) ) + vkontakte? ( net-libs/libkvkontakte:5 ) +" +DEPEND="${COMMON_DEPEND} + $(add_qt_dep qtconcurrent) + sys-devel/gettext +" +RDEPEND="${COMMON_DEPEND} + !media-plugins/kipi-plugins:4 +" + +src_prepare() { + if [[ ${KDE_BUILD_TYPE} = release ]]; then + if [[ ${SRC_BRANCH} = stable ]]; then + # prepare the translations + mv "${WORKDIR}/${MY_P}/po" po || die + find po -name "*.po" -and -not -name "kipiplugin*.po" -delete || die + echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt || die + echo "add_subdirectory( po )" >> CMakeLists.txt || die + fi + fi + + kde5_src_prepare +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package flashexport KF5Archive) + $(cmake-utils_use_find_package mediawiki KF5MediaWiki) + -DENABLE_KIO=$(usex remotestorage) + $(cmake-utils_use_find_package vkontakte KF5Vkontakte) + ) + + kde5_src_configure +} diff --git a/media-plugins/kipi-plugins/metadata.xml b/media-plugins/kipi-plugins/metadata.xml new file mode 100644 index 000000000000..0315d40cae15 --- /dev/null +++ b/media-plugins/kipi-plugins/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dilfridge@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <use> + <flag name="flashexport">Build the flash export plugin</flag> + <flag name="mediawiki">Build the mediawiki export plugin</flag> + <flag name="remotestorage">Build plugin for remote storage using network protocols such as FTP, SSH, SAMBA via <pkg>kde-frameworks/kio</pkg></flag> + <flag name="vkontakte">Build plugin for vkontakte.ru</flag> + </use> +</pkgmetadata> |