diff options
author | Tim Harder <radhermit@gentoo.org> | 2015-02-15 02:47:17 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2015-02-15 02:47:17 +0000 |
commit | 0369b12a92bfc064b72426306b41050f3dfa4346 (patch) | |
tree | b73b07694b5822b4eb898d707301d6be599b02b8 /dev-libs/stfl | |
parent | Version bump. (diff) | |
download | historical-0369b12a92bfc064b72426306b41050f3dfa4346.tar.gz historical-0369b12a92bfc064b72426306b41050f3dfa4346.tar.bz2 historical-0369b12a92bfc064b72426306b41050f3dfa4346.zip |
Version bump.
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Manifest-Sign-Key: 0x4F064CA3
Diffstat (limited to 'dev-libs/stfl')
-rw-r--r-- | dev-libs/stfl/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/stfl/Manifest | 14 | ||||
-rw-r--r-- | dev-libs/stfl/stfl-0.24.ebuild | 119 |
3 files changed, 135 insertions, 5 deletions
diff --git a/dev-libs/stfl/ChangeLog b/dev-libs/stfl/ChangeLog index db3e36449e6d..828f72f2d112 100644 --- a/dev-libs/stfl/ChangeLog +++ b/dev-libs/stfl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/stfl # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/ChangeLog,v 1.47 2015/01/22 07:56:32 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/ChangeLog,v 1.48 2015/02/15 02:47:16 radhermit Exp $ + +*stfl-0.24 (15 Feb 2015) + + 15 Feb 2015; Tim Harder <radhermit@gentoo.org> +stfl-0.24.ebuild: + Version bump. 22 Jan 2015; Jeroen Roovers <jer@gentoo.org> stfl-0.23.ebuild: Whitespace. diff --git a/dev-libs/stfl/Manifest b/dev-libs/stfl/Manifest index 089668244aa8..4b0ae57822c1 100644 --- a/dev-libs/stfl/Manifest +++ b/dev-libs/stfl/Manifest @@ -6,14 +6,20 @@ AUX stfl-0.22-ruby-sharedlib.patch 735 SHA256 743a53291cdc25646044488a2171bc127b AUX stfl-0.22-soname-symlink.patch 444 SHA256 312f0b9dd2c628531b139614d22806eec16f2587e83dc33ba28a093a3af63d38 SHA512 e85c6f96edd8cd08d3408f976fff5f9fbcdc9892109233e78d932eb07502b00d3a0b52393542de8af5b2d26808b3574736f78b7ef9c7bdd0abffa3901fc55dab WHIRLPOOL 493c4703d47f7d8b5c8f1c4eeaf4faa52ff2d84b8679b198e4da96930703e1701973924335f1d55a488d02b680c87bd9d4cf706cf859d9f1c2853ec4ef1cebe3 DIST stfl-0.22.tar.gz 41412 SHA256 2dddafd331e61ad04baf1251ccecb3a69feaf99880dd75155be8423c1cc55418 SHA512 dab2335ef00b65d00abda2a51fb5c667b48864b02ee82abee049f15fd9e2f272f21ec80d4a6cdbb5fc5882239ba28964912e4c0b641b2e83a7ab3bd7f94415bb WHIRLPOOL e1fdd9754f8d6bed3c43a8d19e128565efac36ead413836fe02ee97cb6ba9c3ac5ca2a2e5c7784389e0e8671dbf49286d2a3c746f31b406e511bf6942efce39e DIST stfl-0.23.tar.gz 43941 SHA256 e75ed8427905ad50faf43ed5fefd0cf7b16ee0c1ca87e15d33e360bb92aedfde SHA512 02a7323740364acac4063d002775d04358bc9f98d8df4d83ec9dcdc9d9f46840be1cab0d2526c8cdc7a441784ec95100792edd1bbd1fa2365ce20ef4141a0e6e WHIRLPOOL 6331623402ae5a7df97df6c135b043e8c9b327de78ab2916e122489bdf1108871aef7772c016b5f567f8a00dca1f4274fce4add3d2d9a625f5aca911301c9730 +DIST stfl-0.24.tar.gz 45585 SHA256 d4a7aa181a475aaf8a8914a8ccb2a7ff28919d4c8c0f8a061e17a0c36869c090 SHA512 95df4574b1bc32d795751156dc5b93afbca3ba241607a3a55210c89dda61b9a26ad574bb5f729a0158c9052235dbf63d6c58b38e7f1061d14ab7062af6150fa0 WHIRLPOOL 76545f41802a5f019ee44598368958a13551c3ed70747f45da88d61bc9ba882e514659b3c8f47805a7c199229078abc22ac5a79680b803244bfe8e29a081f10e EBUILD stfl-0.22-r2.ebuild 3045 SHA256 4524e8f8c92359f94c1d9b925332de2445592b66f5cef563430c704e6305dd3c SHA512 cc94a2820788e1d4d3e80529f2a35c9c70923082d6825ede4ea5cdcc7a78eada9b13c6716cf4289eede83195f7f440f374957144ef762fdb5994a5eec10125b1 WHIRLPOOL a1ed6fe79058408a492a3cd85cb60ccca0088291182469f418a054cb663f21f5fd7569693b1ff6e9c70a1bb61a2f403baffafb133eaf5e5f043d19004ac1d569 EBUILD stfl-0.23.ebuild 3018 SHA256 f46fad8bd3d685c6b6fbd7ec37d4321503804558699cdbe2a8e1cc24b953981c SHA512 e8b43b5e1d8566e80a60a204c051f3b61f40b523d839c33facb80a1115e8e82ff5510f0ee6b8f814027e496560a763a145787be9a1cdab0f56f3bed8d9f74299 WHIRLPOOL 0b3f9759b3f808ead8b9b075ad48d1fc3cf8b69f94df0f9ff457bdc057dffec15d54addc009d6e95fcbb1e82407b2f94cedcf81d319d7b8212dd233f5a35716d -MISC ChangeLog 6929 SHA256 2e49810452be8db03129654878719d3af52ed0687ba5d5bacff6f1e0ef440c0e SHA512 5ee574b1853720aa9ba5d6f2e683158c5673346d31fc2238d6206c9b2cb14600a6aa02e98f0648040d06998f1396fd6cedd6f5abd2f3607e36a327e86dddbebe WHIRLPOOL 98527c7fc9050cfccf531858ffd5273426af7e800cb5bab6bd3c3d37993868592ec4eab121adfc8fd63852c8750d7512b964efff1062361ac00541cbb88cd53a +EBUILD stfl-0.24.ebuild 3027 SHA256 ac2246cdf6885de0fd0565e6720e286f7a9b8ad0dbc08841102b8506c1aefdff SHA512 0373eb9af4012df48c6a7e0a379f04ca86d15591bcd8baeb08659c2541df590a2da7a199830a8cbdf216ef6a811337e92511945ba1832b2b3ffc06b0ee2891dd WHIRLPOOL b0b0fda612b43fba7d7b0d9de8f23427fa45bd97b59088952c0e914bc3eee64715e7b17d491a6f3d683764b3b75e36fafc8e63a0e4c262c5a5698ea189b0f577 +MISC ChangeLog 7046 SHA256 b2513b439f08a2e1e28a7cd4668163233c8afae226550d0eb94fa3a67c74de2f SHA512 37315022f34f0a503edea38188dfb29f382d19e98705f616febe5ec30dd7df5865426cf72492d7f694845f7b3a632561084b684bb5394f9302d882a320d65377 WHIRLPOOL 042b51e2322ab3f0d2cdb5e85925d0a172afbfe807d1e2f0657f379c795af646e60988faaf925ee60ce9ec9bc18cb1bc886ad418b2adedf77db34ea1e1256ef2 MISC metadata.xml 900 SHA256 b23c1d0b55c1ff86ed4397f13b8272e52efc4ac826817694c9030ca72ccd6d74 SHA512 051c67533b7a9d594c15315d4112132554a99cad965a9a497487ecefd7882951cd6a43adbd8ed19300b6149a2a2dcd0a8efa0d6008057635bf2c95a14e3d1d06 WHIRLPOOL a54ddafaf423b4dd3358e4553349560af5585573d4b026fe65f6e0ea8a6d55eeb678b3808d6406cb918bef750aed3762004f13c458656b2cecfb0f5f6f25a401 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlTArTEACgkQVWmRsqeSphMsrwCfVRQd3QKSSCEN8fWR/02YAco6 -bh8AnRFBxXvwglG8yrj+RChVtKmWijXt -=z8Hp +iQEcBAEBCAAGBQJU4Ai9AAoJEEqz6FtPBkyj+F0IAK/HrAwJ+FPN56o8IfzxV3qU +4mTcEa/ZKhojnQAaFCbuJknTGXlNud7flxAqya/R4id8cQNVsz03yhJ0wu9EeUxe +98Mw03bN/L3glR60dgZv9lzPOikDC8LCYI3GUYrSljZL43Lo/Ud4Zim3Rap9yoeO +xXV9PNrQBoY9YZcX1QKBmdC4sDERquaSqRieJudmBbGtjsVvD6PwMhePmfe0cShT +gTBCReAr1dS1AAEAlQWIRZ4t4yL6Fk78YtdOgYRbJTi386FVIlhczElU7lQ8ziXU +iYBasduBVVfXbZ3AlJGHY3NVUtZKOsij2FLbTiWs+rxGF4bxbPcya0HkOjekOKo= +=Hq/q -----END PGP SIGNATURE----- diff --git a/dev-libs/stfl/stfl-0.24.ebuild b/dev-libs/stfl/stfl-0.24.ebuild new file mode 100644 index 000000000000..4d7a8ed4a806 --- /dev/null +++ b/dev-libs/stfl/stfl-0.24.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/stfl-0.24.ebuild,v 1.1 2015/02/15 02:47:16 radhermit Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +GENTOO_DEPEND_ON_PERL=no +inherit eutils multilib perl-module python-r1 toolchain-funcs + +DESCRIPTION="A library which implements a curses-based widget set for text terminals" +HOMEPAGE="http://www.clifford.at/stfl/" +SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="examples perl python ruby static-libs" + +COMMON_DEPEND=" + sys-libs/ncurses[unicode] + perl? ( dev-lang/perl:= ) + ruby? ( dev-lang/ruby ) + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${COMMON_DEPEND} + perl? ( dev-lang/swig ) + python? ( >=dev-lang/swig-1.3.40 ) + ruby? ( dev-lang/swig ) +" +RDEPEND="${COMMON_DEPEND}" + +src_prepare() { + sed -i \ + -e 's/-Os -ggdb//' \ + -e 's/^\(all:.*\) example/\1/' \ + -e 's/$(CC) -shared/$(CC) $(LDFLAGS) -shared/' \ + -e 's/ -o $@ $(LDLIBS) $^/ $^ $(LDLIBS) -o $@/' \ + -e 's/-lncursesw/-lncursesw -pthread/' \ + Makefile || die "sed failed" + + if ! use static-libs ; then + sed -i -e "/install .* libstfl.a/d" Makefile || die + fi + + epatch "${FILESDIR}"/${PN}-0.21-python.patch + epatch "${FILESDIR}"/${PN}-0.22-soname-symlink.patch + epatch "${FILESDIR}"/${PN}-0.22-ruby-sharedlib.patch + + if use perl ; then + echo "FOUND_PERL5=1" >> Makefile.cfg + else + echo "FOUND_PERL5=0" >> Makefile.cfg + fi + + if use ruby ; then + echo "FOUND_RUBY=1" >> Makefile.cfg + else + echo "FOUND_RUBY=0" >> Makefile.cfg + fi + + echo "FOUND_PYTHON=0" >> Makefile.cfg +} + +src_configure() { :; } + +src_compile() { + emake CC="$(tc-getCC)" + + if use python ; then + local BUILD_DIR="${S}/python" + python_copy_sources + + # Based on code from python/Makefile.snippet. + building() { + pushd "${BUILD_DIR}" &>/dev/null || die + echo swig -python -threads stfl.i + swig -python -threads stfl.i || die + echo "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared -pthread -fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} -lncursesw -o _stfl.so + "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared -pthread -fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} -lncursesw -o _stfl.so || die + popd &>/dev/null || die + } + python_foreach_impl building + fi +} + +src_install() { + emake prefix="/usr" DESTDIR="${D}" libdir="$(get_libdir)" install + + if use python ; then + local BUILD_DIR="${S}/python" + + installation() { + pushd "${BUILD_DIR}" &>/dev/null || die + python_domodule stfl.py _stfl.so + popd &>/dev/null || die + } + python_foreach_impl installation + fi + + dodoc README + + local exdir="/usr/share/doc/${PF}/examples" + if use examples ; then + insinto ${exdir} + doins example.{c,stfl} + insinto ${exdir}/python + doins python/example.py + if use perl ; then + insinto ${exdir}/perl + doins perl5/example.pl + fi + if use ruby ; then + insinto ${exdir}/ruby + doins ruby/example.rb + fi + fi + + perl_delete_localpod +} |