summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Reffett <creffett@gentoo.org>2014-08-19 13:46:47 +0000
committerChris Reffett <creffett@gentoo.org>2014-08-19 13:46:47 +0000
commit873ff9a5ce851aa23774b7a7b48d4b691b66b986 (patch)
tree9334a98f0f23008ed8b68b11a2296e7a845d5ccd /app-mobilephone
parentVersion bump. (diff)
downloadhistorical-873ff9a5ce851aa23774b7a7b48d4b691b66b986.tar.gz
historical-873ff9a5ce851aa23774b7a7b48d4b691b66b986.tar.bz2
historical-873ff9a5ce851aa23774b7a7b48d4b691b66b986.zip
QA: revbump, EAPI bump
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Diffstat (limited to 'app-mobilephone')
-rw-r--r--app-mobilephone/yaps/ChangeLog8
-rw-r--r--app-mobilephone/yaps/Manifest17
-rw-r--r--app-mobilephone/yaps/yaps-0.96-r5.ebuild84
3 files changed, 93 insertions, 16 deletions
diff --git a/app-mobilephone/yaps/ChangeLog b/app-mobilephone/yaps/ChangeLog
index 1144322ca087..f5dfa39168fa 100644
--- a/app-mobilephone/yaps/ChangeLog
+++ b/app-mobilephone/yaps/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-mobilephone/yaps
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/yaps/ChangeLog,v 1.28 2014/04/09 07:18:39 tomwij Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/yaps/ChangeLog,v 1.29 2014/08/19 13:46:46 creffett Exp $
+
+*yaps-0.96-r5 (19 Aug 2014)
+
+ 19 Aug 2014; Christopher Reffett <2011creffett@gentoo.org>
+ +yaps-0.96-r5.ebuild:
+ QA: revbump, EAPI bump
09 Apr 2014; Tom Wijsman <TomWij@gentoo.org> metadata.xml:
[QA] Dissolve the mobile-phone herd to maintainer-needed because it is empty
diff --git a/app-mobilephone/yaps/Manifest b/app-mobilephone/yaps/Manifest
index 7a8f7222bedb..caabeb9b29d7 100644
--- a/app-mobilephone/yaps/Manifest
+++ b/app-mobilephone/yaps/Manifest
@@ -1,22 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX yaps-0.96-gentoo.diff 1554 SHA256 3ba28d9b6f527ed9fec12bb8ea35e46f33adb80bd8d5ca5bd81405bedea0574c SHA512 60dbe9b62f3fe1ee9bcc3ec43db953fe3f567ac995cb4b0c7dda4f7fa250fbf98c99e8684a6218213c46b89305df1cb5a57088bc9b56d0b143daa723d64e130d WHIRLPOOL b07af49cf0af86616a29803f6d7143b8ba8bd5a201975c01f5d8ebe9d623e268884afdce2f5b0706de06a52ebfb65f67f0492a491cf473b8a119ce6a56c3e2d8
AUX yaps-0.96-gentoo.patch 10303 SHA256 49f90677f9b52fa2ac0335825da866c45e62c2098a1c527061e08af4c7ebbb05 SHA512 a28863e5ff942a6ab64a8746eb5f191411442e65b9be0710b3f96f6f844f710803ebf2497ef7cebdb17e5955c44f23f6d8441ea5ade0933e83a7bc976d4bac02 WHIRLPOOL c77f2b63be2e8eede53257fc82ca8aab17ebea20af3538acf30bc42a750243822264c8a3ff6f7bfede80c6d6b0c7931cc0b7e2744ecd3374afb48f71be1e4889
AUX yaps-0.96-getline-rename.patch 2349 SHA256 ceb16d4f5c707a856fb88da1100640933e5d37a015430b2753543538bf25b47f SHA512 3708d6eb29a294a66dc90bcec47dcf046c8205afc4932a234b37c758321f1fb210b4ce2612ed89b00f8fb14c3b300607af99111854bf5fbe12ad6481ed92b2fe WHIRLPOOL 8c91921bea4d4e95abc53924f50be70acfac3317658c0ceb12d7b6d7ea7fa7aa08a348f5cb806b3eb549011558fe56acf4d7889f79f853161eed3482f6fdfbef
DIST yaps-0.96.c4.tgz 109682 SHA256 4afab43b8f0bed7c48d91cef56bc7aee44a1887c38efb8788be3ec761caf54c9 SHA512 16d326903c7aa54c9930f581d9ec6285fe51d52e8b03a0cff899745b41371e3ce939201f529e15c2473bb8917e3e45f0a3872355986ecd03df52079ec9c484ca WHIRLPOOL bf8e37fc2135dfb851af0e26ee508b286548e0b0b1d3d460263507585c580e5058c567013aac63283861dc79e26aa437ad2392b9061b1b083714b5d4b88a8554
DIST yaps-0.96.tar.gz 91060 SHA256 6474a507d1f3d769c80562164ad38454c73fb49be043bab1128ca9eaf20c5b98 SHA512 799559af2726b669df08ad68de1f01b5b1a6ac8b332e5f8b54d82474b183ef7714abd4482aefdd5ccff6197a9da2b051fa94b38d84eb037b262d066fffc7d145 WHIRLPOOL d7f6de6c7aca320a95afc78aad1ae1b7d27a1b4ef1f6e40dd8ad02c4ba8ecb1138ef41b507672ccbfdc197e2c7591819c58311c9cff796e56f03ebe41594dcd8
EBUILD yaps-0.96-r4.ebuild 2439 SHA256 83d2c6d16c86243804de3803621210e482bed5852e890a919afbc3ad5f12853b SHA512 b02543787038e6e087503ca2c1f4a738edded32e87ed283dab48ad63c0f349c6a67ba2dba50c4a47a75466278c272a7a0ba4bb09d113aa4da28ef0e67eb6aede WHIRLPOOL f931949deb379819bb88e3f1e1b5ba10a6937d4716dc05f2db369e4bf0bc22ff89d4d574d01a640a0d4fcfcd964f9e80cafdd7d5246af1f21b71109da803c754
-MISC ChangeLog 4045 SHA256 f62bdc7140d68c460ca64a72d550246ab655ef8f25526252d8d5fcd73495b378 SHA512 e6264081912e08e086f04605acd9b4462239e10c7113dbee81a50c94a4d301ace05180cd7bda0c5a040c0a248fc837b0f0ad9ac19035db592239f6d302847cb6 WHIRLPOOL 1383965e6443bce5b12eef3bc4fb40cd463b23b83b1db9bd13a582c4a610fb0b948714f7b6a06f36a0c8b863037a9ae7cd910b93d7cc9ad11ed80645bcbbd53c
+EBUILD yaps-0.96-r5.ebuild 2405 SHA256 88f00999daab568dfc9b00605854fe823be51ba9b1c36f55a7d5e16cb60a515a SHA512 a9892247b0098e0b73198a4204768e46980925a699250ba5f3007b5cd30f69b6efb881b7d7aa116dfeb59c30867ab186554e9e894fabe856295403bd84eee561 WHIRLPOOL 2a623ca165fa5432bcf1f1a87ac358816a66d216af3d17c0fbd3e47727bc8e8153deb5abd92cbc6cd89afb283058ebe419027a8b7d9d2903ff764c44af0ca9c7
+MISC ChangeLog 4187 SHA256 805694735d4a864873d0106f2be54010817f90be350a02feffe47c82df2410b8 SHA512 aafbe00c1021fdc0188d32341277f8ec1fd99fd7af04fc88928b8bfaf5ec450c785ed9261902c0150728c6d42dc0bf7387b3bd828989c7c3bc510174030886c6 WHIRLPOOL a513d6ba81b244f7339ab560e13d37b0bd14e75e91fb3bdc994fce4c3d7b2c721016de87aa93f3e6547ee8cc72a882a7d2d5f26d00958be3ca3910379b65f8b7
MISC metadata.xml 374 SHA256 b0a1e70bdf2564573b170548a9555bba2b38a454331c040945f8cfa121ff1da5 SHA512 2bc440dca76991fa6c07b366dcf281c8922f381218e23fb52a1765d588e11055a610c5846525b09788910c8fe1ff381430e15027e138316d1d529ff6fe1cedbd WHIRLPOOL 1ce69fe10948d656f46e349e8ad657602fd48ba31989fb37c8f70e2369c865fa2c264760deade5ff27fde358a56dd2642d18323a9a191d92c4ea28d142d8a6eb
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
-
-iQEcBAEBCAAGBQJTRPQtAAoJEJWyH81tNOV9IIkH/05mlOOTT9K9iwM6TjdQIwth
-EWebkDOq5Ccf4PYTOy1QLRjfxnC7I48tq6Bqv/Tw74hbr23z7OvsZqU05bY0Cbay
-SwZgYK80oCTo+AC3NjEJO3PfxlHVK1Mnk4KRsA4f6WfSUjKCluk4FlTB5UQtnRLI
-IMbl7u+NefBoSEXMr/toqu/llFIC2luvMgIQLWFs+VnHkY59Vqo7uG5Gosg44RmT
-uN3ZVOUwkh/4r5rlJKis9n0yfxH3mzN1fSQQz8LWliy1eNaD4j0r/13u6e7uoFXt
-vaWKDO86IWAKkBswSCznYBMBMmyptClCRV3QaeTEjrIsXGk8Pd7tM89KO6ss/JU=
-=dX5d
------END PGP SIGNATURE-----
diff --git a/app-mobilephone/yaps/yaps-0.96-r5.ebuild b/app-mobilephone/yaps/yaps-0.96-r5.ebuild
new file mode 100644
index 000000000000..2e7b3f9df100
--- /dev/null
+++ b/app-mobilephone/yaps/yaps-0.96-r5.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/yaps/yaps-0.96-r5.ebuild,v 1.1 2014/08/19 13:46:46 creffett Exp $
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Yet Another Pager Software (optional with CAPI support)"
+HOMEPAGE="ftp://sunsite.unc.edu/pub/Linux/apps/serialcomm/machines/"
+SRC_URI="capi? ( ftp://ftp.melware.net/capi4yaps/${P}.c4.tgz )
+ !capi? ( ftp://sunsite.unc.edu/pub/Linux/apps/serialcomm/machines/${P}.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="capi lua slang unicode"
+
+RDEPEND="capi? ( net-dialup/capi4k-utils )
+ slang? ( >=sys-libs/slang-1.4 )
+ lua? ( dev-lang/lua )
+ !media-sound/abcmidi" # also contains "yaps"
+DEPEND="${RDEPEND}
+ !capi? ( sys-apps/sed )
+ lua? ( virtual/pkgconfig )"
+
+pkg_setup() {
+ if ! use capi; then
+ ewarn
+ ewarn "You are now compiling some very old and unmaintained stuff!"
+ ewarn
+ ewarn "YAPS with CAPI 2.0 support is actively maintained, but needs"
+ ewarn "net-dialup/capi4k-utils installed. We recommend this"
+ ewarn "version, since it can still be used with an ordinary"
+ ewarn "modem (that's what you probably wanted). So just add 'capi'"
+ ewarn "to your USE flags to get the new and maintained version."
+ ewarn
+ fi
+}
+
+src_prepare() {
+ use capi && mv -f "${S}.c4" "${S}"
+ cd "${S}"
+
+ # apply patches
+ epatch "${FILESDIR}/${P}-gentoo.diff"
+ epatch "${FILESDIR}/${P}-getline-rename.patch"
+
+ # fix compile warning
+ use capi || \
+ sed -i -e 's:^\(.*\)\(<stdlib.h>\):\1\2\n\1<string.h>:g' scr.c
+
+ # if specified, convert all relevant files from latin1 to UTF-8
+ if use unicode; then
+ for i in yaps.doc; do
+ einfo "Converting '${i}' to UTF-8"
+ iconv -f latin1 -t utf8 -o "${i}~" "${i}" && mv -f "${i}~" "${i}" || rm -f "${i}~"
+ done
+ fi
+}
+
+src_compile() {
+ local myconf=""
+ use lua && myconf="${myconf} LUA=True"
+ use slang && myconf="${myconf} SLANG=True"
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" CFLAGS="${CFLAGS}" ${myconf} || die "emake failed"
+}
+
+src_install() {
+ dobin yaps
+ insinto /etc
+ doins yaps.rc
+ keepdir /usr/lib/yaps
+ doman yaps.1
+ dohtml yaps.html
+ dodoc BUGREPORT COPYRIGHT README yaps.lsm yaps.doc
+ newdoc contrib/README README.contrib
+ insinto /usr/share/doc/${PF}/contrib
+ doins contrib/{m2y.pl,tap.sl}
+}
+
+pkg_postinst() {
+ elog "Please edit /etc/yaps.rc to suit your needs."
+}