summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDror Levin <spatz@gentoo.org>2010-04-22 17:38:12 +0000
committerDror Levin <spatz@gentoo.org>2010-04-22 17:38:12 +0000
commit5bf3287753e5dbb2c5b9bcd30ee21e67cef9db09 (patch)
treef26043536af4ecc8a7334fac93d0762ac4fd30d7 /kde-misc/basket
parentremove now unrequired mask for old boost 1.36.0 (diff)
downloadgentoo-2-5bf3287753e5dbb2c5b9bcd30ee21e67cef9db09.tar.gz
gentoo-2-5bf3287753e5dbb2c5b9bcd30ee21e67cef9db09.tar.bz2
gentoo-2-5bf3287753e5dbb2c5b9bcd30ee21e67cef9db09.zip
Import from kde overlay, bug 310827. Thanks to Scott Stubbs, Maciej Grela and Andreas K. Huettel.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc/basket')
-rw-r--r--kde-misc/basket/ChangeLog11
-rw-r--r--kde-misc/basket/basket-1.80.ebuild34
-rw-r--r--kde-misc/basket/files/basket-1.80-crypt.patch30
-rw-r--r--kde-misc/basket/metadata.xml5
4 files changed, 80 insertions, 0 deletions
diff --git a/kde-misc/basket/ChangeLog b/kde-misc/basket/ChangeLog
new file mode 100644
index 000000000000..4a3c81f19ed7
--- /dev/null
+++ b/kde-misc/basket/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for kde-misc/basket
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/basket/ChangeLog,v 1.4 2010/04/22 17:38:12 spatz Exp $
+
+*basket-1.80 (22 Apr 2010)
+
+ 22 Apr 2010; Dror Levin <spatz@gentoo.org> +basket-1.80.ebuild,
+ +files/basket-1.80-crypt.patch, +metadata.xml:
+ Import from kde overlay, bug 310827. Thanks to Scott Stubbs, Maciej Grela
+ and Andreas K. Huettel.
+
diff --git a/kde-misc/basket/basket-1.80.ebuild b/kde-misc/basket/basket-1.80.ebuild
new file mode 100644
index 000000000000..1d952e6f2660
--- /dev/null
+++ b/kde-misc/basket/basket-1.80.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/basket/basket-1.80.ebuild,v 1.1 2010/04/22 17:38:12 spatz Exp $
+
+EAPI="2"
+
+inherit kde4-base
+
+DESCRIPTION="A DropDrawers clone. Multiple information organizer"
+HOMEPAGE="http://basket.kde.org/"
+SRC_URI="http://${PN}.kde.org/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="4"
+
+IUSE="debug crypt"
+
+DEPEND="
+ >=kde-base/kdelibs-4.4.0
+ >=kde-base/kdepimlibs-4.4.0
+ kde-base/qimageblitz
+ crypt? ( >=app-crypt/gpgme-1.0 )
+"
+RDEPEND=${DEPEND}
+
+PATCHES=( "${FILESDIR}/${P}-crypt.patch" )
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_enable crypt)
+ )
+ kde4-base_src_configure
+}
diff --git a/kde-misc/basket/files/basket-1.80-crypt.patch b/kde-misc/basket/files/basket-1.80-crypt.patch
new file mode 100644
index 000000000000..dc8aa68b4400
--- /dev/null
+++ b/kde-misc/basket/files/basket-1.80-crypt.patch
@@ -0,0 +1,30 @@
+diff -r -u basket-1.80-vanilla/CMakeLists.txt basket-1.80/CMakeLists.txt
+--- basket-1.80-vanilla/CMakeLists.txt 2010-03-20 21:20:57.000000000 +0100
++++ basket-1.80/CMakeLists.txt 2010-03-28 22:04:43.000000000 +0200
+@@ -1,5 +1,7 @@
+ cmake_minimum_required(VERSION 2.4)
+
++OPTION(ENABLE_CRYPT "build encryption support" ON)
++
+ find_package(KDE4 REQUIRED)
+ find_package(QImageBlitz REQUIRED)
+ find_package(Gpgme)
+@@ -15,13 +17,14 @@
+
+ include(MacroLibrary)
+
+-IF(GPGME_FOUND)
++IF(GPGME_FOUND AND ENABLE_CRYPT)
+ SET(HAVE_LIBGPGME 1)
+ SET(LARGEFILE_SOURCE_1)
+ ADD_DEFINITIONS(-D_FILE_OFFSET_BITS=64)
+-ELSE(GPGME_FOUND)
+- MESSAGE("GPG not found, configuring without")
+-ENDIF(GPGME_FOUND)
++ MESSAGE("Configuring with GPG support")
++ELSE(GPGME_FOUND AND ENABLE_CRYPT)
++ MESSAGE("Configuring without GPG support")
++ENDIF(GPGME_FOUND AND ENABLE_CRYPT)
+
+ #TODO: find meinproc
+
diff --git a/kde-misc/basket/metadata.xml b/kde-misc/basket/metadata.xml
new file mode 100644
index 000000000000..a23f444b67d6
--- /dev/null
+++ b/kde-misc/basket/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>kde</herd>
+</pkgmetadata>