diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/pidgintex |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/pidgintex')
-rw-r--r-- | x11-plugins/pidgintex/Manifest | 5 | ||||
-rw-r--r-- | x11-plugins/pidgintex/metadata.xml | 12 | ||||
-rw-r--r-- | x11-plugins/pidgintex/pidgintex-1.1.2_p20170107.ebuild | 54 |
3 files changed, 71 insertions, 0 deletions
diff --git a/x11-plugins/pidgintex/Manifest b/x11-plugins/pidgintex/Manifest new file mode 100644 index 000000000000..c9cff6cb65a0 --- /dev/null +++ b/x11-plugins/pidgintex/Manifest @@ -0,0 +1,5 @@ +DIST pidgintex-1.1.2_p20170107.tar.gz 50671 SHA256 48c79474aa5c41270756022a481935b0f4321380c2e58455cc42369e48cc1d59 SHA512 fbbe6eb4e2a0a5c9086e65d967133ab1cdd09292ce0b0cc474b82fbbcfc6b9abbb49ed3828c8e7094b7fef629a372833ec6f143ed4eb1b7d5c4fbd32e98a0271 WHIRLPOOL a61e27562e879de12ecd7a3a295c4d22169e2863c0e551b16940330372cee116b0e6818f775b46ea0143114005df0c1d632c370cf633b068165b8904c83da631 +EBUILD pidgintex-1.1.2_p20170107.ebuild 1404 SHA256 38f529e0813cf2d44cc414ac9b6625740cee6c223232d3700ebbd14845996873 SHA512 a28db7d121302250353b03cbcae395a31349693e60cbe733ce3710d74c4d4ec023e07d5ab71743307167ab0055185b6bb624995bdc67e3b34fd4e85b635fa4c2 WHIRLPOOL ba8da7614198cd3817f55896ce9584fd070c6c716bd571d1d084abc2bf05979ea5a028d5484abc0a8d75e1611b99a5d990dec6311ad6d576b62a5e139ff287e8 +MISC ChangeLog 3102 SHA256 6922da7683141d10cb75aced76c5731a8ca010d917dd4bff57760b64a9e69854 SHA512 313a6e009546c46bdea782977adf38b6506e45128d9a76b410afd4c88811974e7e9842fb9d892920843cc8c1c3eb9e050b03b4906e9fc20fb55d3e90c3b37d64 WHIRLPOOL 2f784bf236c0b8692ee6340725f6d8858efffc1926df13c4c43496db6541c1e06b8579182681e40c66d1dd16d1a55fcf5532bf223897f06d8a634f94d1d99bfc +MISC ChangeLog-2015 990 SHA256 de45af546e52198f2d08631990aa2f32314e40768e55d54794c70a9d84d8432d SHA512 8de36484144fabf434f9b5d574683a77529c5d4554959be9a24a97562aeed91c2cdd6e8c5e2bd620c97714b76aa1213e5dee9e12ff903dd8f23f3fb385f70adb WHIRLPOOL 65054cac23a4a6d36e5afcaaf2d05ec24399f1de4ae61c818146367c85fa34b48b65a75f45f37fd1a8dfdb43989e2635c67770c94e549806e773a7eed7074b75 +MISC metadata.xml 571 SHA256 856976ed7222355bacd298be350056bfebf8ce3bfe7d230c46b9ab5dce145952 SHA512 35b6c07e1d309e01240a787aba8355dcd58a1f1267fdfe8be6b2428e696ae48920c5c449f01e3d3ce83a371e22e7d048ed00e8f8a16d833fd8d0884e0556d282 WHIRLPOOL 3557fe7baca77666be9613ba2be375062d4324c18e32f1e6a73b97a6936de3c8f4e19c7d5f7f152b88011098fe4c43c1c3d9ecf5bba314f6f11f060ea06b4da7 diff --git a/x11-plugins/pidgintex/metadata.xml b/x11-plugins/pidgintex/metadata.xml new file mode 100644 index 000000000000..ce13fc0a9c24 --- /dev/null +++ b/x11-plugins/pidgintex/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <longdescription>pidginTeX is a fast plugin for the instant messaging client Pidgin and uses +mimeTeX or mathTeX to render LaTeX expressions in messages and chat. It is +intended for math but mathTeX is fully compatible with LaTeX and any package can +be used and mimeTeX also supports many other features.</longdescription> + <upstream> + <remote-id type="github">Micket/pidgintex</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-plugins/pidgintex/pidgintex-1.1.2_p20170107.ebuild b/x11-plugins/pidgintex/pidgintex-1.1.2_p20170107.ebuild new file mode 100644 index 000000000000..d4ee0bc14c58 --- /dev/null +++ b/x11-plugins/pidgintex/pidgintex-1.1.2_p20170107.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs vcs-snapshot + +MY_COMMIT_HASH="a8f618cf1bf92279b43c7b737010fd7e42c8e5d3" + +DESCRIPTION="Pidgin plugin to render LaTeX expressions in messages" +HOMEPAGE="https://github.com/Micket/pidgintex" +SRC_URI="https://github.com/Micket/${PN}/archive/${MY_COMMIT_HASH}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND="net-im/pidgin[gtk] + app-text/mathtex + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -e "s:\(^CC.*=\).*:\1 $(tc-getCC):" \ + -e "s:\(^STRIP.*=\).*:\1 true:" \ + -e "s:\(^CFLAGS[[:space:]]*\)=:\1+=:" \ + -e "/LIB_INSTALL_DIR/{s:/lib/purple-2:/$(get_libdir)/pidgin:;}" \ + -i Makefile || die + # set default renderer to mathtex + sed -e "/purple_prefs_add_string.*PREFS_RENDERER/{s:mimetex:mathtex:;}" \ + -i pidginTeX.c || die + + if ! use nls; then + sed -e '/ENABLE_NLS = 1/ d;' -i Makefile || die + fi + + default +} + +src_compile() { + emake PREFIX=/usr +} + +src_install() { + emake PREFIX="${ED%/}/usr" install + einstalldocs +} + +pkg_postinst() { + elog 'Note, to see formulas either disable "Conversation Colors" plugin or' + elog 'switch off "ignore incoming format" option in plugin configuration.' + elog 'For details, take a look (and vote) at http://developer.pidgin.im/ticket/2772' +} |