diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2012-11-18 19:38:02 +0000 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2012-11-18 19:38:02 +0000 |
commit | 7e9687929319de380d56b1d2494ba231b0f6bb58 (patch) | |
tree | 7522331a3abe3fd60968726075fbf6c63d4ea6f8 /app-editors | |
parent | [bump] dev-perl/Exception-Class-1.360.0 (diff) | |
download | gentoo-2-7e9687929319de380d56b1d2494ba231b0f6bb58.tar.gz gentoo-2-7e9687929319de380d56b1d2494ba231b0f6bb58.tar.bz2 gentoo-2-7e9687929319de380d56b1d2494ba231b0f6bb58.zip |
no-maintainer version bump, respect AR
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/scite/Manifest | 13 | ||||
-rw-r--r-- | app-editors/scite/scite-3.2.3.ebuild | 87 |
2 files changed, 89 insertions, 11 deletions
diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest index 442f6264811c..8bff70aa4886 100644 --- a/app-editors/scite/Manifest +++ b/app-editors/scite/Manifest @@ -1,17 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX scite-3.0.1-no-lua.patch 632 SHA256 30a228b95cfbdfd3c9dbe01e78a2ed887dbff92f7e3b04fbb254a5777cc66bfb SHA512 7aaf72b7e58bcfdf4278c6dce4f62f5679513f1de68744e7bc842ff7e4c6ab792c5149df07f50206c638a70d1be1261fb21e3cd1fe603c13f9350674a6bbdf45 WHIRLPOOL 770367be441ffd06a3db7d0503ba9b2a5d163afdb6ba503624c79b9ad4417e097b338ce65ba54a3bc072bdb7c99c75359df7e4fe6e4e0a90bc0dfd80d9f9a1c3 AUX scite.desktop 169 SHA256 c0db119fed9a790efa073595099147ebd3c928d195ae908f6618e2f2ccdd0bcc SHA512 520262a06db8382cf181a984a3b0d391b66f2ff798176fc1f88a44f3708c27b6b741d5d7176bf6418457f898efc17f8fab4918fdc7a128c33b6ec641e838d534 WHIRLPOOL 02c9e7722bfcb5faf3656dad61ae33ea467da67a794d4d56b859653cdf93a4a251061f4d7f6038c602970732fcb9bba19c667e358822e93793be7071a574d3c6 DIST scite310.tgz 1933322 SHA256 09b020a331f7c54edd731440fa1c717776021d5dc775e58965f8ef71673202e3 SHA512 cbb1f67c74953e2b564c040802f751cd57cfec4d9e5fbb5f2787e25c5ecec67964fffff75da627f42b4bd2980b28e410857b7a60cf4f5231b2b76e0544283353 WHIRLPOOL 0751092e69cf8a4b5db4c27e3c9ca8ba67f5bfc8caec2ce253150a97bef6e3ebac53c3debcac57b9b5885bb51eb66bf495c6f6a722265b7349ff615fd8f22347 +DIST scite323.tgz 2053250 SHA256 d0d324a5e420ff96db6cd1c6eeac23b6f4c046e7545e73c4625ab2add90e4a65 SHA512 70125c33a8bcb68d428a6f006d1043a9398ce34ef11f2287ebdcd84bab132c515d176ec247c2c0d3321b2f8cfa9f4a01c67526f48d2ae1d00d6d3429e2616990 WHIRLPOOL 5f260a7b11869dd41047fab3dbeebc8bbd0b7cb70d6129efb28459648ad42b1d99895ac9b5baf239a0d684c3a3205fbe6190213b72da66ec3daf150d4e082c67 EBUILD scite-3.1.0.ebuild 2157 SHA256 ef34760476afbe260b6632c9b0806d13dfd2dc5218e5d09b92b0ab9dc77c3b99 SHA512 34086e21b938657770eaca462b60c9f9a861d54a8d0cf12e1c6366f8a092d83f4b39a71c05de6095d8cf3692b3196b209121b22ea5d74b45b6b4359a3b4d0b05 WHIRLPOOL 7708bb2ed5383f4e9417da9a3d0fc8c69719102385d7140f68b03783badaa7d9777c549d85848cda4e440eb8c5cf93ecbb5044b57f471716124232b457d9f746 +EBUILD scite-3.2.3.ebuild 2177 SHA256 45ef5160976855f51b061b371bcde9d022704a43598ec74afd39f5aceed034fe SHA512 f0ad066fb2a16a66593b47aa433b5ae6a96396282a45894daab38092d829e0ebd4365e10751b0370436435769103e98286b1b048815506c3e253d8d4ad01446b WHIRLPOOL 23856066018268f97af6557a01cfdcefb720b4aac039f366337e24f6a043b7adb66fe9ef0cec6f9eafa1c9746e83340c4173141252886abfa30f1c05c9f00621 MISC ChangeLog 20520 SHA256 6c0d75b38d8e3101c1c3965f6fc07a0982f28600f35e9d560fa0d34f7e7416a2 SHA512 9898225c5e77658b1c7e976857be43e9134dcea5c8f6fbe32c1c1281a68c2526fb8d09ec9461c635727a519401765bd33cf81f3f36347b1c09a2a879dfd72ea8 WHIRLPOOL bdb1bb6b3a331189dc32cd8e32fae9b72ff3865698c66be36a0c9f10c26e86c1786d7c8fcb1fcc300350d38fc3dfa8ebe1118eda148adaa436ada9fed5a6f502 MISC metadata.xml 209 SHA256 ea9eb35c2edee74ca39c4e351322e86c12f3c37ce8a2bf1daa17ca5d07a578b7 SHA512 6753af3eaad0c623e7f2b21dc99a87cbcfe3757e4db03b460edabc1275ce4613b817a535a37f8a894ebbf8c03a4aa0df784f7efe6d1527561f00515f996275d8 WHIRLPOOL f7a6fd7cb0ba6fc0ab51c04599ac5e0df18c6a0260b9fe4fbd2ed2bf473603b8f8aad5a69eba9899412a117a4db2d497d643b33b5204e771f5891ba580ac5325 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) -Comment: GPGTools - http://gpgtools.org - -iEYEAREIAAYFAlBG+t4ACgkQgAnW8HDreRYZHwCgvhSx4bpsJO7w0mCFo9mGKf+M -C6sAn0bkWEBlrhCpFlZAeR9iR6PiqZah -=/k+8 ------END PGP SIGNATURE----- diff --git a/app-editors/scite/scite-3.2.3.ebuild b/app-editors/scite/scite-3.2.3.ebuild new file mode 100644 index 000000000000..3052ac7b4f2b --- /dev/null +++ b/app-editors/scite/scite-3.2.3.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/scite-3.2.3.ebuild,v 1.1 2012/11/18 19:38:02 ago Exp $ + +EAPI="4" + +inherit toolchain-funcs eutils + +MY_PV=${PV//./} +DESCRIPTION="A very powerful editor for programmers" +HOMEPAGE="http://www.scintilla.org/SciTE.html" +SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz" + +LICENSE="Scintilla" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" +IUSE="lua" + +RDEPEND="dev-libs/glib + x11-libs/cairo + x11-libs/gtk+:2 + x11-libs/gdk-pixbuf + x11-libs/pango + lua? ( >=dev-lang/lua-5 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=sys-apps/sed-4" + +S="${WORKDIR}/${PN}/gtk" + +src_prepare() { + cd "${WORKDIR}/scintilla/gtk" + sed -i makefile \ + -e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \ + -e "s#^\(CXXFLAGS=.*\)-Os#\1#" \ + -e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \ + -e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \ + -e "s#-Os##" \ + || die "error patching makefile" + + cd "${WORKDIR}/scite/gtk" + sed -i makefile \ + -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \ + || die "error patching makefile" + + cd "${S}" + sed -i makefile \ + -e 's#usr/local#usr#g' \ + -e 's#/gnome/apps/Applications#/applications#' \ + -e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \ + -e "s#^\(CXXFLAGS=.*\)-Os#\1#" \ + -e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \ + -e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \ + -e 's#${D}##' \ + -e 's#-g root#-g 0#' \ + -e "s#-Os##" \ + || die "error patching makefile" + cd "${WORKDIR}" + epatch "${FILESDIR}/${PN}-3.0.1-no-lua.patch" +} + +src_compile() { + emake -C ../../scintilla/gtk AR="$(tc-getAR)" + if use lua; then + emake + else + emake NO_LUA=1 + fi +} + +src_install() { + dodir /usr/bin + dodir /usr/share/{pixmaps,applications} + + emake prefix="${ED}/usr" install + + # we have to keep this because otherwise it'll break upgrading + mv "${ED}/usr/bin/SciTE" "${ED}/usr/bin/scite" || die + dosym /usr/bin/scite /usr/bin/SciTE + + # replace .desktop file with our own working version + rm -f "${ED}/usr/share/applications/SciTE.desktop" + domenu "${FILESDIR}/scite.desktop" + + doman ../doc/scite.1 + dodoc ../README +} |