diff options
author | Ilya Volynets <iluxa@gentoo.org> | 2010-01-19 10:59:25 +0000 |
---|---|---|
committer | Ilya Volynets <iluxa@gentoo.org> | 2010-01-19 10:59:25 +0000 |
commit | adb34ef9515cc992f270cdb939acd343b16fca40 (patch) | |
tree | e2033cc3ac769b3d3edef09a3f6e5dd6202318bd /dev-cpp | |
parent | fix building with newer kernels (#282261) (diff) | |
download | historical-adb34ef9515cc992f270cdb939acd343b16fca40.tar.gz historical-adb34ef9515cc992f270cdb939acd343b16fca40.tar.bz2 historical-adb34ef9515cc992f270cdb939acd343b16fca40.zip |
Add sptk-4.00
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/sptk/ChangeLog | 10 | ||||
-rw-r--r-- | dev-cpp/sptk/Manifest | 5 | ||||
-rw-r--r-- | dev-cpp/sptk/files/sptk-4.00-as-needed.patch | 11 | ||||
-rw-r--r-- | dev-cpp/sptk/sptk-4.00.ebuild | 73 |
4 files changed, 96 insertions, 3 deletions
diff --git a/dev-cpp/sptk/ChangeLog b/dev-cpp/sptk/ChangeLog index d5f74cf48648..99cf940d880c 100644 --- a/dev-cpp/sptk/ChangeLog +++ b/dev-cpp/sptk/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-cpp/sptk -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.66 2009/12/13 12:09:39 iluxa Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/ChangeLog,v 1.67 2010/01/19 10:59:24 iluxa Exp $ + +*sptk-4.00 (19 Jan 2010) + + 19 Jan 2010; Ilya A. Volynets-Evenbakh <iluxa@gentoo.org> + +sptk-4.00.ebuild, +files/sptk-4.00-as-needed.patch: + Add sptk-4.00 13 Dec 2009; Ilya A. Volynets-Evenbakh <iluxa@gentoo.org> sptk-3.5.8.14-r1.ebuild, +files/sptk-3.5.8.14-as-needed.patch: diff --git a/dev-cpp/sptk/Manifest b/dev-cpp/sptk/Manifest index ee83e7896d3a..4828ee02d183 100644 --- a/dev-cpp/sptk/Manifest +++ b/dev-cpp/sptk/Manifest @@ -1,9 +1,12 @@ AUX sptk-3.5.8.14-as-needed.patch 532 RMD160 45ec102b9d50ecf23e534b81e3ed265213878569 SHA1 439e866ad8e001a47341e3b194513a0bb5238727 SHA256 beafde068e1d51e90030edebcccf0693b9ed6c5f745ce91cbb18cdb5c0f12993 +AUX sptk-4.00-as-needed.patch 442 RMD160 eb9b33b71de3dfb00dffca4187091962de5e3a7f SHA1 2aa3d7e676d7e7aafaa9d2b20a1a812fa3503569 SHA256 e36dcc1e93e9cce2e14563edc7d35d935e381ca3b421e5a68ef1f21114b541a5 AUX sptk-gcc-4.4.patch 1657 RMD160 6711fa4e6a3ddac7ff4a484d6328783a87e952b8 SHA1 fc0b65e5f5991bd83820243ff25a341a4147553a SHA256 9af109eb625369b0eb9abc36ddec3930c5f43aee52993fa3de882ca022ae0990 DIST sptk-3.5.8.10.tbz2 4372961 RMD160 863cdd10631abf5895dd8f36d1e3e97504bf8f26 SHA1 1abd960108d06438022448822da1e954651e11f9 SHA256 ae5ceaa771252ff551aac857197b6bcc3d36c6aa1fde1653b26d5367e2283205 DIST sptk-3.5.8.14.tbz2 4378384 RMD160 47d57c1992a3005ab2bb74a5bb5c9c117f8673ad SHA1 e45b5999ee128e690262e4d915d43dfe61cc2c95 SHA256 4becafebe46b6765ae4b3f1aeeb10e64968d4e1dd8a8529b402e515c53c3be4e +DIST sptk-4.00.tbz2 3778145 RMD160 a452911c098491831d19d745ecfd39c366cb0f68 SHA1 ef0f65369dcc7667767c28458333cf17bcc91664 SHA256 b5c15f1e98a395c4884e8f62855a8f1cbde857fb46b6291f6788a36bfa194a4d EBUILD sptk-3.5.8.10.ebuild 1812 RMD160 bfa11c22e0758ecd5dc6fbb5bb2b0e707c84f3ae SHA1 1d9b1c77139b434e1c537f6ad316e77ce5ff9d34 SHA256 25230d57fe77c3b8e58c7defec6df49bf2d0abf8820a135a8bb24603fe843bd3 EBUILD sptk-3.5.8.14-r1.ebuild 1928 RMD160 f465e867e848c370bf446be4acb3ac880424bad3 SHA1 f6073408b2d991b2888632d9d4e640284667c7fc SHA256 8f31eed659bcf547d7ae790fcf6cb070f55304074283b9d5f4787a69410d911f EBUILD sptk-3.5.8.14.ebuild 1812 RMD160 7c8e909f41b9720d4ab43278425a7624c7ed5165 SHA1 b0c6b2d7336510d6667f161d4ca5c8783b729a27 SHA256 87a5401b544961f18f7d3404306001177e1311191db2de4832ca3b31b6036ada -MISC ChangeLog 9872 RMD160 b5110bf14dbefeb2e55cad3b36d3881c108cfe31 SHA1 3906562b746a9bf9863c102a4eb0ca704c5844f3 SHA256 6cd40a7da58fd28aa0c6dbc5a80bb712bc5b42952a2d133da8e95ed5ea3f3671 +EBUILD sptk-4.00.ebuild 1882 RMD160 4c11125a7e84b3bf64290eea189fa18c11de7fe3 SHA1 b59cdec02e5bef95b82f50832fdc134112dfa1d8 SHA256 477d3db9108116a60ca4b8a0d84b96eccb67e35ae7ba5fdc23ad72186c168909 +MISC ChangeLog 10030 RMD160 539c7751061af459427d75e9f2b7a29e6551e6d6 SHA1 4feed6efde00ed32be7cccae4a53ab5e2892bfed SHA256 8f0909763676a9e9454afbfc04ba199c8de2421648312dc603d0ff450aebceb0 MISC metadata.xml 464 RMD160 2ac8ec514dbbee12ae8bd7be1ca0bfc41eb3386c SHA1 ec484dafdab9c4a59d6531021e2f59742b4184c5 SHA256 ad2d2d7f242bc2f8c27bc4733d1c97460b3fe5e7ef52e27f52185b74768c542e diff --git a/dev-cpp/sptk/files/sptk-4.00-as-needed.patch b/dev-cpp/sptk/files/sptk-4.00-as-needed.patch new file mode 100644 index 000000000000..3811e9b85b45 --- /dev/null +++ b/dev-cpp/sptk/files/sptk-4.00-as-needed.patch @@ -0,0 +1,11 @@ +Index: src/CMakeLists.txt +=================================================================== +--- sptk-4.00/src/CMakeLists.txt (revision 1108) ++++ sptk-4.00/src/CMakeLists.txt (working copy) +@@ -53,7 +53,7 @@ + IF (WIN32) + SET_TARGET_PROPERTIES (sputil4 PROPERTIES LINK_FLAGS "-mwindows -mno-cygwin") + ELSE (WIN32) +- SET_TARGET_PROPERTIES (sputil4 PROPERTIES LINK_FLAGS "-lpthread") ++ TARGET_LINK_LIBRARIES (sputil4 pthread) + ENDIF (WIN32) diff --git a/dev-cpp/sptk/sptk-4.00.ebuild b/dev-cpp/sptk/sptk-4.00.ebuild new file mode 100644 index 000000000000..22bdc495aacd --- /dev/null +++ b/dev-cpp/sptk/sptk-4.00.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/sptk/sptk-4.00.ebuild,v 1.1 2010/01/19 10:59:24 iluxa Exp $ + +EAPI=1 + +inherit cmake-utils + +IUSE="fltk odbc doc sqlite excel postgres aspell mysql gnutls" + +DESCRIPTION="C++ user interface toolkit for X with database and Excel support" +SRC_URI="http://www.sptk.net/sptk-${PV}.tbz2" +HOMEPAGE="http://www.sptk.net" + +SLOT="4" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86" + +RDEPEND="fltk? ( >=x11-libs/fltk-1.1.6:1.1 ) + odbc? ( >=dev-db/unixODBC-2.2.6 ) + sqlite? ( >=dev-db/sqlite-3 ) + postgres? ( >=virtual/postgresql-base-8.0 ) + mysql? ( virtual/mysql ) + aspell? ( >=app-text/aspell-0.50 ) + gnutls? ( net-libs/gnutls )" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +CMAKE_IN_SOURCE_BUILD=1 + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/${P}-as-needed.patch" +} + +src_compile() { + local mycmakeargs="$(cmake-utils_use_no postgres POSTGRESQL) + $(cmake-utils_use_no mysql MYSQL) + $(cmake-utils_use_no sqlite SQLITE3) + $(cmake-utils_use_no odbc ODBC) + $(cmake-utils_use_no aspell ASPELL) + $(cmake-utils_use_no fltk FLTK) + $(cmake-utils_use_no excel EXCEL) + $(cmake-utils_use_no gnutls TLS)" + + mycmakeargs="${mycmakeargs} -D CMAKE_INSTALL_PREFIX:PATH=/usr -D LIBDIR=$(get_libdir) ${SPTK_OPTIONS} -DNO_EXAMPLES:BOOLEAN=TRUE" + + cmake-utils_src_configure + + cmake-utils_src_compile + if use doc; then + cd "${S}" + einfo "Fixing sptk3.doxygen" + sed -i -e 's,/cvs/sptk3/,,g' sptk3.doxygen + einfo "Building docs" + doxygen sptk3.doxygen + fi + +} + +src_install () { + + DOCS="README AUTHORS" + cmake-utils_src_install + + dodir /usr/share/doc/${PF} + cp -r "${S}"/docs/* "${D}"/usr/share/doc/${PF} + if use doc; then + rm -fr "${D}/usr/share/doc/${PF}/latex" + cp -rf "${S}/pictures" "${D}/usr/share/doc/${PF}" + fi +} |