commit:     048da84f98610aa2d6ab4544d83126721cac082e
Author:     Karl-Johan Karlsson <creideiki+gentoo-guru <AT> lysator <DOT> liu 
<DOT> se>
AuthorDate: Thu Oct  7 21:52:08 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Oct  7 21:52:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=048da84f

media-video/owncast: bump to 0.0.10

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Karl-Johan Karlsson <creideiki+gentoo-guru <AT> lysator.liu.se>

 media-video/owncast/Manifest              |   2 +
 media-video/owncast/owncast-0.0.10.ebuild | 199 ++++++++++++++++++++++++++++++
 2 files changed, 201 insertions(+)

diff --git a/media-video/owncast/Manifest b/media-video/owncast/Manifest
index 1ba0c6182..15c9c3474 100644
--- a/media-video/owncast/Manifest
+++ b/media-video/owncast/Manifest
@@ -155,6 +155,8 @@ DIST 
gopkg.in%2Fyaml.v3%2F@v%2Fv3.0.0-20200313102051-9f266ea9e77c.mod 95 BLAKE2B
 DIST gopkg.in%2Fyaml.v3%2F@v%2Fv3.0.0-20200313102051-9f266ea9e77c.zip 101467 
BLAKE2B 
8bb0aec8e693a4c0da59f1931e1fdcf6f94a236faba149d5af91e87284f39c693d20be65248eecde739cb555e371804fa6c723a56c69e6d02a347ba908e968b1
 SHA512 
bee7757d760f5ba1b9f7523af358652a5cb65f2b0064da097f78450871b2636efcbab0298a9871bbb3ce8012bf95a155949251d4f61464dde510097b936b47a8
 DIST mvdan.cc%2Fxurls%2F@v%2Fv1.1.0.mod 22 BLAKE2B 
f4a4a0e41d01997f4acda7f4fdc9085fd40b0bbe9cf3ba74fccf6da3aeb72968e1056813a46273cb844224d9bc63259c527d93525b3caca10075b101c7e7422f
 SHA512 
d6fa176f9d7eac32ae1f4c6e3c6986e27f72d4e3b2e13e5042a95747ea580026980657a9666fadc76f5d744f96e98d16fb07894d7beeae8fc79207b9e868568f
 DIST mvdan.cc%2Fxurls%2F@v%2Fv1.1.0.zip 23948 BLAKE2B 
0908a0e73d5b1105f0e758f40604c0e1573ea84ce65103c341e8eab528108767ab918d749a512731bf96c7766e886ff7c2864ad7f6b62672e35361a42054c90e
 SHA512 
913b9be7c93e37f2c8cd0bb8841b1493b4411f62e7c6387884734ff8205c5bc9f794004154d9d61f79610e5db796893f336979762e4f897a7429ca5c7a4498c8
+DIST owncast-0.0.10-linux-64bit.zip 14813756 BLAKE2B 
1686b16514887614de22963989998abd97005de9d0d70d880624197ac8ea1c4bfe840e120a2d528f2afb128f267f95541bb3a24be80127568479e4212fdf1b73
 SHA512 
e702f4552a8587b28ec76532f85abcd7cb23976a383894c645057a28e6d2ebe2cdac29710895177c84f9150b7d2cc254b9e224272d1f5bee2b69d5f287170ad7
+DIST owncast-0.0.10.tar.gz 9606331 BLAKE2B 
6bbe42fa2a41b11384410e941f214b31a25b54ea233b05f5091cc327c720a66eaa8181c920a173af00fa20b65588abba822815e52bddab8a1d84e56407d044e6
 SHA512 
b105059f3fe662afd112a284c1d7e131bc3a65ba1bb36f529bcffb7841ed7b7d6eb38933518103200b6a4100dde46e6c1717f2ba2d1302defd947cd475335ff3
 DIST owncast-0.0.7-linux-64bit.zip 14054362 BLAKE2B 
ee594e72888592986339293141086de09af06f613603c1dc24e6b0ab59c48c73507d0b1aeaa9b2b24f43452cb84cca4c098979d3c41f702d50bf51d834847273
 SHA512 
087cc920580579e37bf281236424cc793829f4bd88eaafc9bab9a6e38448433f11c7d5a635514d98a0746668d3f4dd72acd32edde5e9fa32780386a7813b1bdc
 DIST owncast-0.0.7.tar.gz 8732218 BLAKE2B 
12c60ac17d1694d39cb7432ca7c0ece3c18789ec3ddf55957b0f59271abe54a0744fd001196a9e389b5627b68e8dd157e38be83475e7ae3e2f89ac9c0df38c85
 SHA512 
19b6c30475ad41e2e0c6a0ed354e8344a5e8d7e91968816115f63c6356aa73d61cb71939d3512872953e8f52831f13a18b0f4399b01b84cf2e378d2ab4aaea3a
 DIST owncast-0.0.8-linux-64bit.zip 14520141 BLAKE2B 
5a9ba9e8a35e4892658675fb5945ded361c190e142ac8849c833aabd759479a36846c721b3605c461d080061422dad7d81be2004a89778f1c1ba898d53b9c8b6
 SHA512 
37a8455893a3e6b868514e487763dc0fca22603087802c8bc1901d096c05a72978124336805aa84658b5ecf363e9c28a2b4112e20087d6b79aa4f41bc04f95c2

diff --git a/media-video/owncast/owncast-0.0.10.ebuild 
b/media-video/owncast/owncast-0.0.10.ebuild
new file mode 100644
index 000000000..cf3c68f39
--- /dev/null
+++ b/media-video/owncast/owncast-0.0.10.ebuild
@@ -0,0 +1,199 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="A self-hosted live video and web chat server"
+HOMEPAGE="https://owncast.online/ https://github.com/owncast/owncast";
+
+LICENSE="MIT Apache-2.0 ISC BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       acct-user/owncast
+       acct-group/owncast
+       media-video/ffmpeg"
+
+EGO_SUM=(
+       "github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d"
+       "github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d/go.mod"
+       "github.com/amalfra/etag v0.0.0-20190921100247-cafc8de96bc5"
+       "github.com/amalfra/etag v0.0.0-20190921100247-cafc8de96bc5/go.mod"
+       "github.com/asaskevich/govalidator 
v0.0.0-20210307081110-f21760c49a8d/go.mod"
+       "github.com/aws/aws-sdk-go v1.40.0"
+       "github.com/aws/aws-sdk-go v1.40.0/go.mod"
+       "github.com/aymerick/douceur v0.2.0"
+       "github.com/aymerick/douceur v0.2.0/go.mod"
+       "github.com/davecgh/go-spew v1.1.0/go.mod"
+       "github.com/davecgh/go-spew v1.1.1"
+       "github.com/davecgh/go-spew v1.1.1/go.mod"
+       "github.com/go-ole/go-ole v1.2.4"
+       "github.com/go-ole/go-ole v1.2.4/go.mod"
+       "github.com/gobuffalo/here v0.6.0"
+       "github.com/gobuffalo/here v0.6.0/go.mod"
+       "github.com/gorilla/css v1.0.0"
+       "github.com/gorilla/css v1.0.0/go.mod"
+       "github.com/gorilla/websocket v1.4.2"
+       "github.com/gorilla/websocket v1.4.2/go.mod"
+       "github.com/grafov/m3u8 v0.11.1"
+       "github.com/grafov/m3u8 v0.11.1/go.mod"
+       "github.com/jmespath/go-jmespath v0.4.0"
+       "github.com/jmespath/go-jmespath v0.4.0/go.mod"
+       "github.com/jmespath/go-jmespath/internal/testify v1.5.1"
+       "github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod"
+       "github.com/jonboulle/clockwork v0.2.2"
+       "github.com/jonboulle/clockwork v0.2.2/go.mod"
+       "github.com/kr/pretty v0.1.0/go.mod"
+       "github.com/kr/pty v1.1.1/go.mod"
+       "github.com/kr/text v0.1.0"
+       "github.com/kr/text v0.1.0/go.mod"
+       "github.com/lestrrat-go/envload v0.0.0-20180220234015-a3eb8ddeffcc"
+       "github.com/lestrrat-go/envload 
v0.0.0-20180220234015-a3eb8ddeffcc/go.mod"
+       "github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible"
+       "github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible/go.mod"
+       "github.com/lestrrat-go/strftime v1.0.4"
+       "github.com/lestrrat-go/strftime v1.0.4/go.mod"
+       "github.com/markbates/pkger v0.17.1"
+       "github.com/markbates/pkger v0.17.1/go.mod"
+       "github.com/mattn/go-sqlite3 v1.14.7/go.mod"
+       "github.com/mattn/go-sqlite3 v1.14.8"
+       "github.com/mattn/go-sqlite3 v1.14.8/go.mod"
+       "github.com/microcosm-cc/bluemonday v1.0.15"
+       "github.com/microcosm-cc/bluemonday v1.0.15/go.mod"
+       "github.com/mssola/user_agent v0.5.3"
+       "github.com/mssola/user_agent v0.5.3/go.mod"
+       "github.com/mvdan/xurls v1.1.0"
+       "github.com/mvdan/xurls v1.1.0/go.mod"
+       "github.com/nareix/joy5 v0.0.0-20200712071056-a55089207c88"
+       "github.com/nareix/joy5 v0.0.0-20200712071056-a55089207c88/go.mod"
+       "github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e"
+       "github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod"
+       "github.com/oschwald/geoip2-golang v1.5.0"
+       "github.com/oschwald/geoip2-golang v1.5.0/go.mod"
+       "github.com/oschwald/maxminddb-golang v1.8.0"
+       "github.com/oschwald/maxminddb-golang v1.8.0/go.mod"
+       "github.com/pkg/errors v0.8.1/go.mod"
+       "github.com/pkg/errors v0.9.1"
+       "github.com/pkg/errors v0.9.1/go.mod"
+       "github.com/pmezard/go-difflib v1.0.0"
+       "github.com/pmezard/go-difflib v1.0.0/go.mod"
+       "github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5"
+       "github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5/go.mod"
+       "github.com/schollz/sqlite3dump v1.3.0"
+       "github.com/schollz/sqlite3dump v1.3.0/go.mod"
+       "github.com/shirou/gopsutil v3.21.8+incompatible"
+       "github.com/shirou/gopsutil v3.21.8+incompatible/go.mod"
+       "github.com/sirupsen/logrus v1.8.1"
+       "github.com/sirupsen/logrus v1.8.1/go.mod"
+       "github.com/spf13/cobra v0.0.4-0.20190109003409-7547e83b2d85/go.mod"
+       "github.com/spf13/pflag v1.0.4-0.20181223182923-24fa6976df40/go.mod"
+       "github.com/stretchr/objx v0.1.0/go.mod"
+       "github.com/stretchr/testify v1.2.2/go.mod"
+       "github.com/stretchr/testify v1.3.0/go.mod"
+       "github.com/stretchr/testify v1.4.0/go.mod"
+       "github.com/stretchr/testify v1.6.1/go.mod"
+       "github.com/stretchr/testify v1.7.0"
+       "github.com/stretchr/testify v1.7.0/go.mod"
+       "github.com/teris-io/shortid v0.0.0-20171029131806-771a37caa5cf"
+       "github.com/teris-io/shortid v0.0.0-20171029131806-771a37caa5cf/go.mod"
+       "github.com/tklauser/go-sysconf v0.3.5"
+       "github.com/tklauser/go-sysconf v0.3.5/go.mod"
+       "github.com/tklauser/numcpus v0.2.2"
+       "github.com/tklauser/numcpus v0.2.2/go.mod"
+       "github.com/yuin/goldmark v1.4.1"
+       "github.com/yuin/goldmark v1.4.1/go.mod"
+       "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
+       "golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod"
+       "golang.org/x/mod v0.5.0"
+       "golang.org/x/mod v0.5.0/go.mod"
+       "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
+       "golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod"
+       "golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
+       "golang.org/x/net v0.0.0-20210614182718-04defd469f4e"
+       "golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod"
+       "golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
+       "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
+       "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
+       "golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod"
+       "golang.org/x/sys v0.0.0-20191224085550-c709ea063b76/go.mod"
+       "golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
+       "golang.org/x/sys v0.0.0-20210316164454-77fc1eacc6aa/go.mod"
+       "golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod"
+       "golang.org/x/sys v0.0.0-20210514084401-e8d321eab015"
+       "golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod"
+       "golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
+       "golang.org/x/text v0.3.0/go.mod"
+       "golang.org/x/text v0.3.6"
+       "golang.org/x/text v0.3.6/go.mod"
+       "golang.org/x/time v0.0.0-20201208040808-7e3f01d25324"
+       "golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod"
+       "golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
+       "golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod"
+       "golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
+       "golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod"
+       "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
+       "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod"
+       "gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f"
+       "gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod"
+       "gopkg.in/yaml.v2 v2.2.2/go.mod"
+       "gopkg.in/yaml.v2 v2.2.7/go.mod"
+       "gopkg.in/yaml.v2 v2.2.8/go.mod"
+       "gopkg.in/yaml.v2 v2.4.0"
+       "gopkg.in/yaml.v2 v2.4.0/go.mod"
+       "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c"
+       "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod"
+       "mvdan.cc/xurls v1.1.0"
+       "mvdan.cc/xurls v1.1.0/go.mod"
+)
+
+go-module_set_globals
+
+SRC_URI="https://github.com/owncast/owncast/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz
+       
https://github.com/owncast/owncast/releases/download/v${PV}/${P}-linux-64bit.zip
+       ${EGO_SUM_SRC_URI}"
+
+src_unpack() {
+       go-module_src_unpack
+
+       # go-module_src_unpack unpacked both the source and the binary
+       # package. This places the binary package files in the wrong
+       # place, but that's hopefully survivable. We need the binary
+       # package to get the minified CSS file, which is generated using
+       # NPM by upstream.
+       cp 
"${WORKDIR}"/webroot/js/web_modules/tailwindcss/dist/tailwind.min.css 
"${S}"/webroot/js/web_modules/tailwindcss/dist/tailwind.min.css || die
+}
+
+src_compile() {
+       go build -v -work -x \
+          -ldflags "-s -w -X github.com/${PN}/${PN}/config.BuildVersion=${PV} 
-X github.com/${PN}/${PN}/config.BuildPlatform=gentoo" \
+          -o ${PN} \
+          github.com/${PN}/${PN} || die
+}
+
+src_install() {
+       dobin ${PN}
+
+       dodoc README.md
+
+       newinitd "${FILESDIR}"/${PN}.initd ${PN}
+
+       diropts -m 0755 -o owncast -g owncast
+       insopts -m 0644 -o owncast -g owncast
+
+       insinto /var/lib/${PN}
+       doins -r static webroot
+}
+
+pkg_postinst() {
+       go-module_pkg_postinst
+
+       if [[ -z "${REPLACING_VERSIONS}" ]] ; then
+               einfo "The admin interface at http://localhost:8080/admin/";
+               einfo "has default username 'admin' and password 'abc123'."
+       fi
+
+       einfo "Hardware accelerated transcoding requires support in 
media-video/ffmpeg, see https://owncast.online/docs/codecs/";
+}

Reply via email to