www-apps/converse-js: New ebuild
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
af55d9a2f0
commit
7a614be52f
1
www-apps/converse-js/Manifest
Normal file
1
www-apps/converse-js/Manifest
Normal file
|
@ -0,0 +1 @@
|
|||
DIST converse.js-6.0.1.tgz 7144353 BLAKE2B d3f61dd049cdf6896b1e3e11269c041b99c99c0732bf5f9bb11bbb0ed64b3d2acaa56433f3ab880db86cf90b555de3c59b09ae2407b6f7394ccc2808bfec11a2 SHA512 083f1aabb2c4fc2403005b08fa67cbd1f0cd34541c25d23ba5e26d055ac754e73472ef65d17d111b3bf26af12fd7afcaa1e11826f70555db5e7d7519eb8296d7
|
36
www-apps/converse-js/converse-js-6.0.1.ebuild
Normal file
36
www-apps/converse-js/converse-js-6.0.1.ebuild
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit webapp
|
||||
|
||||
MY_PN="${PN/-/.}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="Free and open-source browser XMPP chat client"
|
||||
HOMEPAGE="https://conversejs.org/"
|
||||
MY_GITHUB_AUTHOR="conversejs"
|
||||
SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${MY_PN}/releases/download/v${PV}/${MY_P}.tgz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
S="${WORKDIR}/package"
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc README.md
|
||||
rm -f README.md
|
||||
|
||||
insinto "${MY_HTDOCSDIR}/"
|
||||
doins -r .
|
||||
doins "${FILESDIR}/index.html"
|
||||
|
||||
webapp_src_install
|
||||
}
|
BIN
www-apps/converse-js/files/.index.html.swp
Normal file
BIN
www-apps/converse-js/files/.index.html.swp
Normal file
Binary file not shown.
59
www-apps/converse-js/files/index.html
Normal file
59
www-apps/converse-js/files/index.html
Normal file
|
@ -0,0 +1,59 @@
|
|||
<!doctype html>
|
||||
<html class="no-js" lang="en">
|
||||
<head>
|
||||
<title>Converse</title>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<meta name="description" content="Converse XMPP/Jabber Chat"/>
|
||||
<meta name="author" content="JC Brand" />
|
||||
<meta name="keywords" content="xmpp chat webchat converse.js" />
|
||||
<link rel="shortcut icon" type="image/ico" href="dist/favicon.ico"/>
|
||||
<script type="text/javascript" src="inverse-analytics.js"></script>
|
||||
<link rel="manifest" href="./manifest.json">
|
||||
<link type="text/css" rel="stylesheet" media="screen" href="dist/converse.min.css" />
|
||||
<script src="dist/converse.min.js"></script>
|
||||
</head>
|
||||
<body class="converse-fullscreen">
|
||||
<noscript>You need to enable JavaScript to run the Converse.js chat app.</noscript>
|
||||
<div id="conversejs-bg"></div>
|
||||
<script>
|
||||
/*
|
||||
@licstart
|
||||
This is free and unencumbered software released into the public domain.
|
||||
|
||||
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||
distribute this software, either in source code form or as a compiled
|
||||
binary, for any purpose, commercial or non-commercial, and by any
|
||||
means.
|
||||
|
||||
In jurisdictions that recognize copyright laws, the author or authors
|
||||
of this software dedicate any and all copyright interest in the
|
||||
software to the public domain. We make this dedication for the benefit
|
||||
of the public at large and to the detriment of our heirs and
|
||||
successors. We intend this dedication to be an overt act of
|
||||
relinquishment in perpetuity of all present and future rights to this
|
||||
software under copyright law.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
For more information, please refer to <http://unlicense.org/>
|
||||
@licend
|
||||
*/
|
||||
converse.initialize({
|
||||
authentication: 'login',
|
||||
auto_away: 300,
|
||||
auto_reconnect: true,
|
||||
discover_connection_methods: true,
|
||||
bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
|
||||
message_archiving: 'always',
|
||||
view_mode: 'fullscreen'
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
8
www-apps/converse-js/metadata.xml
Normal file
8
www-apps/converse-js/metadata.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>alarig@swordarmor.fr</email>
|
||||
<name>Alarig Le Lay</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Loading…
Reference in a new issue