summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-02-08 23:10:55 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-02-08 23:15:28 +0100
commit81bd201bed5e0bb4d69c159ca645aeb5dac88387 (patch)
treed6a18831099c5a0752c7f689bbcc12fa452a66ee /app-office
parentsys-apps/guix: fix 'localstatedir' to poin to /var/guix (diff)
downloadgentoo-81bd201bed5e0bb4d69c159ca645aeb5dac88387.tar.gz
gentoo-81bd201bed5e0bb4d69c159ca645aeb5dac88387.tar.bz2
gentoo-81bd201bed5e0bb4d69c159ca645aeb5dac88387.zip
app-office/calcurse: version bump.
Package-Manager: portage-2.3.3
Diffstat (limited to 'app-office')
-rw-r--r--app-office/calcurse/Manifest1
-rw-r--r--app-office/calcurse/calcurse-4.2.2.ebuild43
-rw-r--r--app-office/calcurse/files/calcurse-4.2.2-tinfo.patch21
3 files changed, 65 insertions, 0 deletions
diff --git a/app-office/calcurse/Manifest b/app-office/calcurse/Manifest
index 2db89489ed4d..c4dd9da133fa 100644
--- a/app-office/calcurse/Manifest
+++ b/app-office/calcurse/Manifest
@@ -2,3 +2,4 @@ DIST calcurse-4.0.0.tar.gz 611593 SHA256 621b0019907618bd468f9c4dc1ce2186ee86254
DIST calcurse-4.1.0.tar.gz 611105 SHA256 ca423f8c8dfbb92cd63281305fa23c2909a6aefcee9e86317584fff7619b42c4 SHA512 74312995e398edf0bc30bdf6c28e5894f21358d5b85bdff403425685905dd7f511a3244acd3983bc28d8d3bc90a79a2e83fc76554d7e5c9ef9dc16d18832e09a WHIRLPOOL 2a3c86f5f79903911f0aa38e3f32350770d5f839cbf460b288e64b20b315422a95bd64caec5fb9f5c9f366e9b3b5031f235ddaf89b40183360886b9f066c58d3
DIST calcurse-4.2.0.tar.gz 612242 SHA256 a68e0e6984ec632180a9fdc496785b406fedc1d5af77dfe4fcd483b0cec84a77 SHA512 daba2db0b15dbaf400568ace700d06e6165dc9275e35cb3c31ee49963802234ee3fc4b91faa3c7a675452aac5bbcff2f26d7f0d76fc2a0e094e584ed10c8ad11 WHIRLPOOL 9652639ca19dc7990f616abd933f08c08ec1b607cf153f17fd0345736f29adb77dc8b4181ca6801684c918f523dd9e387000ec2c134e997aa9cffda3082896dd
DIST calcurse-4.2.1.tar.gz 612593 SHA256 9d5db3fa920e82d76e43a08c4bd3554ffdde023385b0f9c37e6f0e99d8d00598 SHA512 77f7fd23fe28e34ace29239530948c7576196339e4c603952dd5d48a201fa2e52bfcfaf411edf3f299c9d8b30d659febade68679fc65a2b87afb305bbf5db8df WHIRLPOOL 1af299f7501bc5ec57eeadf020e10b7f6d76eddb2f538007dbd9e391b24686fd702952384529fe5f4ccc1d53408fb214fb64836212c40d8f265172107c4c61fd
+DIST calcurse-4.2.2.tar.gz 612456 SHA256 c6881ddbd1cc7fbd02898187ac0fb4c6d8ac4c2715909b1cf00fb7a90cf08046 SHA512 d54d5a1ca457499ff82fe0b6a945f5f54c0f93f84b34d5a69579dd42d4d44edda0b81a165d29b4f3d77ef7219b2e815b5858eaa744eb418e9549abf58eb2f958 WHIRLPOOL 8afee25e8ddd1d5d5ebf06c8618da4c03840b698ef9f9f5ea4c0f1e37956b89aa8a09ee9b5131c26bed02ed5bfe78db2e9ef488656e748e7b99c0b3a7dbe814c
diff --git a/app-office/calcurse/calcurse-4.2.2.ebuild b/app-office/calcurse/calcurse-4.2.2.ebuild
new file mode 100644
index 000000000000..4af524c07dbf
--- /dev/null
+++ b/app-office/calcurse/calcurse-4.2.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils autotools multilib-minimal
+
+DESCRIPTION="a text-based calendar and scheduling application"
+HOMEPAGE="http://calcurse.org/"
+SRC_URI="http://calcurse.org/files/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc ~ppc64"
+
+RDEPEND="sys-libs/ncurses:0="
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS NEWS README )
+
+PATCHES=( "${FILESDIR}"/"${P}-tinfo.patch" )
+
+src_prepare() {
+ default
+
+ # Dubious tests.
+ rm -v "${S}/test"/ical-00{2,4,6}.sh || die
+
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf
+}
+
+src_compile() {
+ multilib-minimal_src_compile
+}
+
+src_install() {
+ multilib-minimal_src_install
+}
diff --git a/app-office/calcurse/files/calcurse-4.2.2-tinfo.patch b/app-office/calcurse/files/calcurse-4.2.2-tinfo.patch
new file mode 100644
index 000000000000..f3d2aac897e9
--- /dev/null
+++ b/app-office/calcurse/files/calcurse-4.2.2-tinfo.patch
@@ -0,0 +1,21 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -3,7 +3,7 @@
+ #-------------------------------------------------------------------------------
+ AC_PREREQ(2.59)
+ AC_INIT([calcurse],
+- m4_esyscmd([build-aux/git-version-gen .version]),
++ m4_esyscmd_s([cat .version]),
+ [bugs@calcurse.org])
+ AM_INIT_AUTOMAKE
+ #m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+@@ -51,6 +51,9 @@
+ LIBS="$LIBS -l$available_ncurses"
+ ])
+
++AC_SEARCH_LIBS([cbreak], [tinfow tinfo],,
++ AC_MSG_ERROR([Cannot find a library providing cbreak]))
++
+ AC_CHECK_HEADERS([pthread.h], [
+ AC_CHECK_LIB(pthread, pthread_create, [
+ LIBS="$LIBS -pthread"