forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kde-apps/kio-extras: import from kde overlay.
Package-Manager: portage-2.2.20.1
- Loading branch information
Michael Palimaka
committed
Aug 25, 2015
1 parent
fe368f3
commit e5c0356
Showing
3 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST kio-extras-15.08.0.tar.xz 266240 SHA256 b72384e7ad29a7eca7bce344cf1a8f48cd557444bd0afeced01c817826f3e074 SHA512 8555d32d6659ada403dafe39654bfcb86b27e7c894f1c04210626702f310d35eba0a2aef4da4a5f19dcffcbb3bba515e5a82e4495064926cb3464e453d3c86aa WHIRLPOOL 909721ae71ca5652ae9d522fd24c478a68da36fdc458086ceff482a5b67e8042213cc437074767f5e5e234644ec09c36e8694e593eaa15d3e7bf0c8ff7742771 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
KDE_HANDBOOK="true" | ||
KDE_TEST="true" | ||
VIRTUALX_REQUIRED="test" | ||
inherit fdo-mime kde5 | ||
|
||
DESCRIPTION="KIO plugins present a filesystem-like view of arbitrary data" | ||
HOMEPAGE="https://projects.kde.org/projects/kde/workspace/kio-extras" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="exif mtp phonon samba +sftp slp" | ||
|
||
COMMON_DEPEND=" | ||
$(add_frameworks_dep karchive 'bzip2,lzma') | ||
$(add_frameworks_dep kbookmarks) | ||
$(add_frameworks_dep kcodecs) | ||
$(add_frameworks_dep kconfig) | ||
$(add_frameworks_dep kconfigwidgets) | ||
$(add_frameworks_dep kcoreaddons) | ||
$(add_frameworks_dep kdbusaddons) | ||
$(add_frameworks_dep kdelibs4support) | ||
$(add_frameworks_dep kdnssd) | ||
$(add_frameworks_dep kguiaddons) | ||
$(add_frameworks_dep khtml) | ||
$(add_frameworks_dep ki18n) | ||
$(add_frameworks_dep kiconthemes) | ||
$(add_frameworks_dep kio) | ||
$(add_frameworks_dep kparts) | ||
$(add_frameworks_dep kpty) | ||
$(add_frameworks_dep kservice) | ||
$(add_frameworks_dep kxmlgui) | ||
$(add_frameworks_dep solid) | ||
dev-qt/qtdbus:5 | ||
dev-qt/qtgui:5 | ||
dev-qt/qtnetwork:5 | ||
dev-qt/qtsvg:5 | ||
dev-qt/qtwidgets:5 | ||
dev-qt/qtxml:5 | ||
virtual/jpeg:0 | ||
exif? ( media-gfx/exiv2:= ) | ||
mtp? ( media-libs/libmtp:= ) | ||
phonon? ( media-libs/phonon[qt5] ) | ||
samba? ( || ( <net-fs/samba-4.0.0_alpha1[smbclient] >=net-fs/samba-4.0.0_alpha1[client] ) ) | ||
sftp? ( >=net-libs/libssh-0.6.0:=[sftp] ) | ||
slp? ( net-libs/openslp ) | ||
" | ||
RDEPEND="${COMMON_DEPEND} | ||
$(add_frameworks_dep kded) | ||
!kde-apps/kdebase-kioslaves:4[-minimal(-)] | ||
!kde-apps/kcontrol:4 | ||
!kde-base/kdebase-kioslaves:4[-minimal(-)] | ||
!kde-base/kio-extras | ||
!kde-plasma/kio-extras | ||
" | ||
DEPEND="${COMMON_DEPEND} | ||
x11-misc/shared-mime-info | ||
" | ||
|
||
# requires running kde environment | ||
RESTRICT="test" | ||
|
||
src_configure() { | ||
local mycmakeargs=( | ||
$(cmake-utils_use_find_package exif Exiv2) | ||
$(cmake-utils_use_find_package mtp) | ||
$(cmake-utils_use_find_package phonon Phonon4Qt5) | ||
$(cmake-utils_use_find_package samba) | ||
$(cmake-utils_use_find_package sftp LibSSH) | ||
$(cmake-utils_use_find_package slp) | ||
) | ||
|
||
kde5_src_configure | ||
} | ||
|
||
pkg_postinst() { | ||
kde5_pkg_postinst | ||
fdo-mime_mime_database_update | ||
} | ||
|
||
pkg_postrm() { | ||
kde5_pkg_postinst | ||
fdo-mime_mime_database_update | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<herd>kde</herd> | ||
<use> | ||
<flag name="phonon">Enable file audio preview plugin using <pkg>media-libs/phonon</pkg></flag> | ||
<flag name="sftp">Enable SFTP protocol support using <pkg>net-libs/libssh</pkg></flag> | ||
</use> | ||
</pkgmetadata> |