summaryrefslogtreecommitdiff
path: root/app-misc/tdl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-21 23:10:38 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-21 23:10:38 +0000
commit51a01b0f2371b8dfc39f2747ecafd7d5f083ecb4 (patch)
tree55d5c62353eb98ea2809ea087e9fc4b215c53563 /app-misc/tdl
parent46de1a2f454a1465026d681f5dfe8db7dde5b126 (diff)
gentoo auto-resync : 21:11:2023 - 23:10:38
Diffstat (limited to 'app-misc/tdl')
-rw-r--r--app-misc/tdl/Manifest4
-rw-r--r--app-misc/tdl/metadata.xml3
-rw-r--r--app-misc/tdl/tdl-1.5.2-r4.ebuild80
3 files changed, 86 insertions, 1 deletions
diff --git a/app-misc/tdl/Manifest b/app-misc/tdl/Manifest
index 3c469c21f0d7..4e1325c571b5 100644
--- a/app-misc/tdl/Manifest
+++ b/app-misc/tdl/Manifest
@@ -2,7 +2,9 @@ AUX 1.5.2-ldflags.patch 350 BLAKE2B 147ecde0a506852a3540c825143478cd7b741d3846af
AUX tdl-1.5.2-list.c.patch 1272 BLAKE2B 4d65bd0c6336d459b388f2375468871df6e7761e5be90aba3d059ec7991b4e41907b3c1089f3ada9416cb944a74b90d15c8435866d622e1117b4084df9facba8 SHA512 a66d0728f06d386827dd1232e3c290c9e749689cb368b9240638cde86c5ef1ae5e9ce5923a6b7dbba5e04c30ded2174c1c16e24ca6a943754cd178098a732400
AUX tdl-1.5.2-main.c.patch 4967 BLAKE2B f609c3a44996ddf4bac91f65e28e3dbad4600284a8ffe0f249a2e58289ee98d0f6fb4533599d66b8a7019e52a235f6366ace8ef12e6882606849f9fccbd3e927 SHA512 b7036f2b4292263fcde59c6cb46a869dec92fe314f4d3a5d4f2f5411adb945ec5493e82a142372bca933d67c423c4deff333b297a1dc2481d993de1789faaeb2
AUX tdl-1.5.2-man.patch 11004 BLAKE2B 849601edce8452c3ca590b6b10f211ee81355adc121ff878fee165758bde10cc58b4a72a0bb71855b58093ff45a21d51761e24563b50c8be88ebb61d9d1a50eb SHA512 fef2ca8f8c6db0b61037ad10269fe185f2d5cb1ffdee0560acdba61be87d71d2195471412d26a5c6e7766332d9a13bf95774b0374de14b6df7b4a97ad27e8d32
+DIST tdl-1.5.2.gh.tar.gz 66542 BLAKE2B 7e7017ee3937d8775907e907a1eb4ab34880013c85cddbdfcc9239e35bf788904f232e668345074966b5940ab518af91df842cf38a50517dcfdf9953b403cf33 SHA512 c00abe14a0a4e2d0bec83e4f5cf3c28749976d42f5a15d0f4065f928fae20d7bfdf4339dc4d863ab4d4006d307a8797fc12e20cf1ef5b9a71c5018ec98d4f732
DIST tdl-1.5.2.tar.gz 66057 BLAKE2B cc2d5581126d995098b5dc3032c97213614acaea3b984a507a824da2ba4d3be9afff954722f29acf0b9bd26db42ada22d67fc9110496961c2cb3104d9b4b7ece SHA512 8c07a5b6a5434bb567a2d68b6e0215bbfa7be3f7176ae1042652ac18684289117230af25d8d161fcf1ba27d9b740fd3fcd43c3213467b533de64390686481fe0
DIST tdl-screenshot.png.tar 20480 BLAKE2B ce9284501ba1550179e1c3da54399a802aae3c0fb23b9a1ea25a1adb0f5c0404fe7694a360435913bb91cc1977d71561050ec0fe4e1681db775cdc7ec5fa11b7 SHA512 caca9793626b320ded4c7f16425b98e4bfde9ab0ca3c1bea60ecc8aaa8db080ab6fc3c474aef4d56e394b6415ec1162671329912aa22452dbd5dc72b50c7c8f6
EBUILD tdl-1.5.2-r3.ebuild 1523 BLAKE2B 6ffd3296d647d514b2a7995437be3931a993110b43d059e263254eb9bc884ab90b3756573a69eac9e102510d24e750aa547bb15c19662ef39f779103fbf653a8 SHA512 dbf6e8725861b34938e8f18b65c2dcf99f3bd4d22f21ffb173677db2b99e93ec39da27085d01e61a4e2338f197384fdca5cad39c75d503648cc1c80a3d03fac3
-MISC metadata.xml 508 BLAKE2B 3a0e69cf69b2db3288f73929c4280be983ee7d53d30482b8a5a7c080e28c9a209a6018b48ec7a949e35357da919220bb4e125ffdb490aa0b2af3607676aee1d4 SHA512 f319b229a3295ecd97abee52e5d13e443893410764e744c32c6919c4cb78f916587036e907e1a2f538b51f7e308dfbfb7bff406e8f6d46ea6d6bae39ca9ab392
+EBUILD tdl-1.5.2-r4.ebuild 1487 BLAKE2B f4541403a221bb17abe8b14625f44b29de4dcd23c19a523a73f93943d53b986c9b2a486d299ba26134e5c8c7be22418d3db1995dc28e5a80f6bcc7ba38d992d4 SHA512 3f49ade61f103e733e83d5c174b0528d47fcadc11639a9cf2aa9cc7f346325d1321f98455cfda47e2bf281d42ba3a6585a5255d3b4dec9b47ec487c29d2f9306
+MISC metadata.xml 580 BLAKE2B 2968201b575bcb5d1d7adb8e434b0ad3f02c94e0419ddcdc05d7e8e50af4dbf51fd77910542c0321a0b9ba77ae8104b969f73e1cb8710aca1836764e04871fec SHA512 0950e6f34a61718a8b92ac6143ff18fd55ceb80192cda31d0a3302a63e284e5851c2e4d2e62c2a43cf66ddb25f007337b330dadd19ecd33bd6682afd66db0b33
diff --git a/app-misc/tdl/metadata.xml b/app-misc/tdl/metadata.xml
index e5bb155ae783..776135cc6019 100644
--- a/app-misc/tdl/metadata.xml
+++ b/app-misc/tdl/metadata.xml
@@ -10,4 +10,7 @@
tasks that you have to do. It can organise tasks in a hierarchy, produce
weekly reports of completed tasks and so on.
</longdescription>
+ <upstream>
+ <remote-id type="github">rc0/tdl</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/app-misc/tdl/tdl-1.5.2-r4.ebuild b/app-misc/tdl/tdl-1.5.2-r4.ebuild
new file mode 100644
index 000000000000..cfb61ffaa85e
--- /dev/null
+++ b/app-misc/tdl/tdl-1.5.2-r4.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo toolchain-funcs
+
+MY_PV="$(ver_rs 1- '_')"
+DESCRIPTION="Command line To Do List manager"
+HOMEPAGE="https://github.com/rc0/tdl"
+SRC_URI="https://github.com/rc0/tdl/archive/V${MY_PV}/V${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc readline"
+
+RDEPEND="
+ sys-libs/ncurses:0=
+ sys-libs/readline:0="
+
+DEPEND="
+ ${RDEPEND}
+ sys-apps/texinfo
+ doc? ( virtual/texi2dvi )"
+
+PATCHES=(
+ "${FILESDIR}"/${PV}-ldflags.patch
+ "${FILESDIR}"/${P}-list.c.patch
+ "${FILESDIR}"/${P}-main.c.patch
+ "${FILESDIR}"/${P}-man.patch
+)
+
+DOCS=( README NEWS tdl.txt tdl.html )
+
+src_prepare() {
+ default
+ tc-export CC
+}
+
+src_configure() {
+ local myconf=( --prefix="${EPREFIX}"/usr )
+
+ if ! use readline; then
+ myconf+=( "${myconf} --without-readline" )
+ sed -i 's#\($(LIB_READLINE)\)#\1 -lncurses##g' "${S}"/Makefile.in || die
+ fi
+
+ sed -i 's#-ltermcap#-lncurses#g' "${S}"/configure || die
+ edo "${S}"/configure "${myconf[@]}"
+}
+
+src_compile() {
+ export VARTEXFONTS="${T}/fonts"
+ emake all tdl.info tdl.html tdl.txt
+
+ if use doc; then
+ emake tdl.dvi tdl.ps tdl.pdf
+ fi
+}
+
+src_install() {
+ einstalldocs
+ doinfo tdl.info
+
+ dobin tdl
+ doman tdl.1
+
+ local i
+ for i in tdl{a,l,d,g}
+ do
+ dosym tdl /usr/bin/${i}
+ dosym tdl.1 /usr/share/man/man1/${i}.1
+ done
+
+ if use doc; then
+ dodoc tdl.dvi tdl.ps tdl.pdf
+ fi
+}