public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/libkonq/
Date: Fri,  9 Oct 2015 06:50:40 +0000 (UTC)	[thread overview]
Message-ID: <1444373416.a8c842ada506ad1e4d50336b2bb346dbd191945e.kensington@gentoo> (raw)

commit:     a8c842ada506ad1e4d50336b2bb346dbd191945e
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Thu Oct  8 23:17:41 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Oct  9 06:50:16 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=a8c842ad

kde-apps/libkonq: Add USE=minimal for kde-frameworks/kio compat

Package-Manager: portage-2.2.22

 kde-apps/libkonq/libkonq-15.08.49.9999.ebuild | 13 ++++++++++++-
 kde-apps/libkonq/libkonq-5.9999.ebuild        | 13 ++++++++++++-
 kde-apps/libkonq/libkonq-9999.ebuild          | 13 ++++++++++++-
 3 files changed, 36 insertions(+), 3 deletions(-)

diff --git a/kde-apps/libkonq/libkonq-15.08.49.9999.ebuild b/kde-apps/libkonq/libkonq-15.08.49.9999.ebuild
index dacaa95..286efcb 100644
--- a/kde-apps/libkonq/libkonq-15.08.49.9999.ebuild
+++ b/kde-apps/libkonq/libkonq-15.08.49.9999.ebuild
@@ -11,9 +11,20 @@ inherit kde4-meta
 
 DESCRIPTION="The embeddable part of konqueror"
 KEYWORDS=""
-IUSE="debug"
+IUSE="debug minimal"
 RESTRICT="test"
 
 KMSAVELIBS="true"
 
 PATCHES=( "${FILESDIR}/${PN}-4.9.0-cmake.patch" )
+
+src_install() {
+	kde4-base_src_install
+
+	if use minimal; then
+		rm "${D}"/usr/share/templates/{Directory,HTMLFile,TextFile}.desktop || die
+		rm "${D}"/usr/share/templates/{linkPath,linkProgram,linkURL}.desktop || die
+		rm "${D}"/usr/share/templates/.source/{Program,URL}.desktop || die
+		rm "${D}"/usr/share/templates/.source/{HTMLFile.html,TextFile.txt} || die
+	fi
+}

diff --git a/kde-apps/libkonq/libkonq-5.9999.ebuild b/kde-apps/libkonq/libkonq-5.9999.ebuild
index 4855d04..e4ee517 100644
--- a/kde-apps/libkonq/libkonq-5.9999.ebuild
+++ b/kde-apps/libkonq/libkonq-5.9999.ebuild
@@ -13,7 +13,7 @@ inherit kde5
 
 DESCRIPTION="The embeddable part of konqueror"
 KEYWORDS=""
-IUSE=""
+IUSE="minimal"
 
 DEPEND="
 	$(add_frameworks_dep kbookmarks)
@@ -39,3 +39,14 @@ RDEPEND="${DEPEND}"
 RESTRICT="test"
 
 S=${S}/lib/konq
+
+src_install() {
+	kde5_src_install
+
+	if use minimal; then
+		rm "${D}"/usr/share/templates/{Directory,HTMLFile,TextFile}.desktop || die
+		rm "${D}"/usr/share/templates/{linkPath,linkProgram,linkURL}.desktop || die
+		rm "${D}"/usr/share/templates/.source/{Program,URL}.desktop || die
+		rm "${D}"/usr/share/templates/.source/{HTMLFile.html,TextFile.txt} || die
+	fi
+}

diff --git a/kde-apps/libkonq/libkonq-9999.ebuild b/kde-apps/libkonq/libkonq-9999.ebuild
index dacaa95..286efcb 100644
--- a/kde-apps/libkonq/libkonq-9999.ebuild
+++ b/kde-apps/libkonq/libkonq-9999.ebuild
@@ -11,9 +11,20 @@ inherit kde4-meta
 
 DESCRIPTION="The embeddable part of konqueror"
 KEYWORDS=""
-IUSE="debug"
+IUSE="debug minimal"
 RESTRICT="test"
 
 KMSAVELIBS="true"
 
 PATCHES=( "${FILESDIR}/${PN}-4.9.0-cmake.patch" )
+
+src_install() {
+	kde4-base_src_install
+
+	if use minimal; then
+		rm "${D}"/usr/share/templates/{Directory,HTMLFile,TextFile}.desktop || die
+		rm "${D}"/usr/share/templates/{linkPath,linkProgram,linkURL}.desktop || die
+		rm "${D}"/usr/share/templates/.source/{Program,URL}.desktop || die
+		rm "${D}"/usr/share/templates/.source/{HTMLFile.html,TextFile.txt} || die
+	fi
+}


             reply	other threads:[~2015-10-09  6:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-09  6:50 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-11-04 16:45 [gentoo-commits] proj/kde:master commit in: kde-apps/libkonq/ Michael Palimaka
2015-11-16 15:12 Michael Palimaka
2016-02-23 14:15 Michael Palimaka
2016-03-31 18:16 Johannes Huber
2016-05-18 13:25 Johannes Huber
2016-08-02 21:22 Johannes Huber
2016-09-25 17:39 Michael Palimaka
2016-11-16 16:49 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444373416.a8c842ada506ad1e4d50336b2bb346dbd191945e.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox