1 |
commit: 048da84f98610aa2d6ab4544d83126721cac082e |
2 |
Author: Karl-Johan Karlsson <creideiki+gentoo-guru <AT> lysator <DOT> liu <DOT> se> |
3 |
AuthorDate: Thu Oct 7 21:52:08 2021 +0000 |
4 |
Commit: Karl-Johan Karlsson <creideiki+gentoo-guru <AT> lysator <DOT> liu <DOT> se> |
5 |
CommitDate: Thu Oct 7 21:52:08 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=048da84f |
7 |
|
8 |
media-video/owncast: bump to 0.0.10 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Karl-Johan Karlsson <creideiki+gentoo-guru <AT> lysator.liu.se> |
12 |
|
13 |
media-video/owncast/Manifest | 2 + |
14 |
media-video/owncast/owncast-0.0.10.ebuild | 199 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 201 insertions(+) |
16 |
|
17 |
diff --git a/media-video/owncast/Manifest b/media-video/owncast/Manifest |
18 |
index 1ba0c6182..15c9c3474 100644 |
19 |
--- a/media-video/owncast/Manifest |
20 |
+++ b/media-video/owncast/Manifest |
21 |
@@ -155,6 +155,8 @@ DIST gopkg.in%2Fyaml.v3%2F@v%2Fv3.0.0-20200313102051-9f266ea9e77c.mod 95 BLAKE2B |
22 |
DIST gopkg.in%2Fyaml.v3%2F@v%2Fv3.0.0-20200313102051-9f266ea9e77c.zip 101467 BLAKE2B 8bb0aec8e693a4c0da59f1931e1fdcf6f94a236faba149d5af91e87284f39c693d20be65248eecde739cb555e371804fa6c723a56c69e6d02a347ba908e968b1 SHA512 bee7757d760f5ba1b9f7523af358652a5cb65f2b0064da097f78450871b2636efcbab0298a9871bbb3ce8012bf95a155949251d4f61464dde510097b936b47a8 |
23 |
DIST mvdan.cc%2Fxurls%2F@v%2Fv1.1.0.mod 22 BLAKE2B f4a4a0e41d01997f4acda7f4fdc9085fd40b0bbe9cf3ba74fccf6da3aeb72968e1056813a46273cb844224d9bc63259c527d93525b3caca10075b101c7e7422f SHA512 d6fa176f9d7eac32ae1f4c6e3c6986e27f72d4e3b2e13e5042a95747ea580026980657a9666fadc76f5d744f96e98d16fb07894d7beeae8fc79207b9e868568f |
24 |
DIST mvdan.cc%2Fxurls%2F@v%2Fv1.1.0.zip 23948 BLAKE2B 0908a0e73d5b1105f0e758f40604c0e1573ea84ce65103c341e8eab528108767ab918d749a512731bf96c7766e886ff7c2864ad7f6b62672e35361a42054c90e SHA512 913b9be7c93e37f2c8cd0bb8841b1493b4411f62e7c6387884734ff8205c5bc9f794004154d9d61f79610e5db796893f336979762e4f897a7429ca5c7a4498c8 |
25 |
+DIST owncast-0.0.10-linux-64bit.zip 14813756 BLAKE2B 1686b16514887614de22963989998abd97005de9d0d70d880624197ac8ea1c4bfe840e120a2d528f2afb128f267f95541bb3a24be80127568479e4212fdf1b73 SHA512 e702f4552a8587b28ec76532f85abcd7cb23976a383894c645057a28e6d2ebe2cdac29710895177c84f9150b7d2cc254b9e224272d1f5bee2b69d5f287170ad7 |
26 |
+DIST owncast-0.0.10.tar.gz 9606331 BLAKE2B 6bbe42fa2a41b11384410e941f214b31a25b54ea233b05f5091cc327c720a66eaa8181c920a173af00fa20b65588abba822815e52bddab8a1d84e56407d044e6 SHA512 b105059f3fe662afd112a284c1d7e131bc3a65ba1bb36f529bcffb7841ed7b7d6eb38933518103200b6a4100dde46e6c1717f2ba2d1302defd947cd475335ff3 |
27 |
DIST owncast-0.0.7-linux-64bit.zip 14054362 BLAKE2B ee594e72888592986339293141086de09af06f613603c1dc24e6b0ab59c48c73507d0b1aeaa9b2b24f43452cb84cca4c098979d3c41f702d50bf51d834847273 SHA512 087cc920580579e37bf281236424cc793829f4bd88eaafc9bab9a6e38448433f11c7d5a635514d98a0746668d3f4dd72acd32edde5e9fa32780386a7813b1bdc |
28 |
DIST owncast-0.0.7.tar.gz 8732218 BLAKE2B 12c60ac17d1694d39cb7432ca7c0ece3c18789ec3ddf55957b0f59271abe54a0744fd001196a9e389b5627b68e8dd157e38be83475e7ae3e2f89ac9c0df38c85 SHA512 19b6c30475ad41e2e0c6a0ed354e8344a5e8d7e91968816115f63c6356aa73d61cb71939d3512872953e8f52831f13a18b0f4399b01b84cf2e378d2ab4aaea3a |
29 |
DIST owncast-0.0.8-linux-64bit.zip 14520141 BLAKE2B 5a9ba9e8a35e4892658675fb5945ded361c190e142ac8849c833aabd759479a36846c721b3605c461d080061422dad7d81be2004a89778f1c1ba898d53b9c8b6 SHA512 37a8455893a3e6b868514e487763dc0fca22603087802c8bc1901d096c05a72978124336805aa84658b5ecf363e9c28a2b4112e20087d6b79aa4f41bc04f95c2 |
30 |
|
31 |
diff --git a/media-video/owncast/owncast-0.0.10.ebuild b/media-video/owncast/owncast-0.0.10.ebuild |
32 |
new file mode 100644 |
33 |
index 000000000..cf3c68f39 |
34 |
--- /dev/null |
35 |
+++ b/media-video/owncast/owncast-0.0.10.ebuild |
36 |
@@ -0,0 +1,199 @@ |
37 |
+# Copyright 1999-2021 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=8 |
41 |
+ |
42 |
+inherit go-module |
43 |
+ |
44 |
+DESCRIPTION="A self-hosted live video and web chat server" |
45 |
+HOMEPAGE="https://owncast.online/ https://github.com/owncast/owncast" |
46 |
+ |
47 |
+LICENSE="MIT Apache-2.0 ISC BSD" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ acct-user/owncast |
53 |
+ acct-group/owncast |
54 |
+ media-video/ffmpeg" |
55 |
+ |
56 |
+EGO_SUM=( |
57 |
+ "github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d" |
58 |
+ "github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d/go.mod" |
59 |
+ "github.com/amalfra/etag v0.0.0-20190921100247-cafc8de96bc5" |
60 |
+ "github.com/amalfra/etag v0.0.0-20190921100247-cafc8de96bc5/go.mod" |
61 |
+ "github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d/go.mod" |
62 |
+ "github.com/aws/aws-sdk-go v1.40.0" |
63 |
+ "github.com/aws/aws-sdk-go v1.40.0/go.mod" |
64 |
+ "github.com/aymerick/douceur v0.2.0" |
65 |
+ "github.com/aymerick/douceur v0.2.0/go.mod" |
66 |
+ "github.com/davecgh/go-spew v1.1.0/go.mod" |
67 |
+ "github.com/davecgh/go-spew v1.1.1" |
68 |
+ "github.com/davecgh/go-spew v1.1.1/go.mod" |
69 |
+ "github.com/go-ole/go-ole v1.2.4" |
70 |
+ "github.com/go-ole/go-ole v1.2.4/go.mod" |
71 |
+ "github.com/gobuffalo/here v0.6.0" |
72 |
+ "github.com/gobuffalo/here v0.6.0/go.mod" |
73 |
+ "github.com/gorilla/css v1.0.0" |
74 |
+ "github.com/gorilla/css v1.0.0/go.mod" |
75 |
+ "github.com/gorilla/websocket v1.4.2" |
76 |
+ "github.com/gorilla/websocket v1.4.2/go.mod" |
77 |
+ "github.com/grafov/m3u8 v0.11.1" |
78 |
+ "github.com/grafov/m3u8 v0.11.1/go.mod" |
79 |
+ "github.com/jmespath/go-jmespath v0.4.0" |
80 |
+ "github.com/jmespath/go-jmespath v0.4.0/go.mod" |
81 |
+ "github.com/jmespath/go-jmespath/internal/testify v1.5.1" |
82 |
+ "github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod" |
83 |
+ "github.com/jonboulle/clockwork v0.2.2" |
84 |
+ "github.com/jonboulle/clockwork v0.2.2/go.mod" |
85 |
+ "github.com/kr/pretty v0.1.0/go.mod" |
86 |
+ "github.com/kr/pty v1.1.1/go.mod" |
87 |
+ "github.com/kr/text v0.1.0" |
88 |
+ "github.com/kr/text v0.1.0/go.mod" |
89 |
+ "github.com/lestrrat-go/envload v0.0.0-20180220234015-a3eb8ddeffcc" |
90 |
+ "github.com/lestrrat-go/envload v0.0.0-20180220234015-a3eb8ddeffcc/go.mod" |
91 |
+ "github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible" |
92 |
+ "github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible/go.mod" |
93 |
+ "github.com/lestrrat-go/strftime v1.0.4" |
94 |
+ "github.com/lestrrat-go/strftime v1.0.4/go.mod" |
95 |
+ "github.com/markbates/pkger v0.17.1" |
96 |
+ "github.com/markbates/pkger v0.17.1/go.mod" |
97 |
+ "github.com/mattn/go-sqlite3 v1.14.7/go.mod" |
98 |
+ "github.com/mattn/go-sqlite3 v1.14.8" |
99 |
+ "github.com/mattn/go-sqlite3 v1.14.8/go.mod" |
100 |
+ "github.com/microcosm-cc/bluemonday v1.0.15" |
101 |
+ "github.com/microcosm-cc/bluemonday v1.0.15/go.mod" |
102 |
+ "github.com/mssola/user_agent v0.5.3" |
103 |
+ "github.com/mssola/user_agent v0.5.3/go.mod" |
104 |
+ "github.com/mvdan/xurls v1.1.0" |
105 |
+ "github.com/mvdan/xurls v1.1.0/go.mod" |
106 |
+ "github.com/nareix/joy5 v0.0.0-20200712071056-a55089207c88" |
107 |
+ "github.com/nareix/joy5 v0.0.0-20200712071056-a55089207c88/go.mod" |
108 |
+ "github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e" |
109 |
+ "github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod" |
110 |
+ "github.com/oschwald/geoip2-golang v1.5.0" |
111 |
+ "github.com/oschwald/geoip2-golang v1.5.0/go.mod" |
112 |
+ "github.com/oschwald/maxminddb-golang v1.8.0" |
113 |
+ "github.com/oschwald/maxminddb-golang v1.8.0/go.mod" |
114 |
+ "github.com/pkg/errors v0.8.1/go.mod" |
115 |
+ "github.com/pkg/errors v0.9.1" |
116 |
+ "github.com/pkg/errors v0.9.1/go.mod" |
117 |
+ "github.com/pmezard/go-difflib v1.0.0" |
118 |
+ "github.com/pmezard/go-difflib v1.0.0/go.mod" |
119 |
+ "github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5" |
120 |
+ "github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5/go.mod" |
121 |
+ "github.com/schollz/sqlite3dump v1.3.0" |
122 |
+ "github.com/schollz/sqlite3dump v1.3.0/go.mod" |
123 |
+ "github.com/shirou/gopsutil v3.21.8+incompatible" |
124 |
+ "github.com/shirou/gopsutil v3.21.8+incompatible/go.mod" |
125 |
+ "github.com/sirupsen/logrus v1.8.1" |
126 |
+ "github.com/sirupsen/logrus v1.8.1/go.mod" |
127 |
+ "github.com/spf13/cobra v0.0.4-0.20190109003409-7547e83b2d85/go.mod" |
128 |
+ "github.com/spf13/pflag v1.0.4-0.20181223182923-24fa6976df40/go.mod" |
129 |
+ "github.com/stretchr/objx v0.1.0/go.mod" |
130 |
+ "github.com/stretchr/testify v1.2.2/go.mod" |
131 |
+ "github.com/stretchr/testify v1.3.0/go.mod" |
132 |
+ "github.com/stretchr/testify v1.4.0/go.mod" |
133 |
+ "github.com/stretchr/testify v1.6.1/go.mod" |
134 |
+ "github.com/stretchr/testify v1.7.0" |
135 |
+ "github.com/stretchr/testify v1.7.0/go.mod" |
136 |
+ "github.com/teris-io/shortid v0.0.0-20171029131806-771a37caa5cf" |
137 |
+ "github.com/teris-io/shortid v0.0.0-20171029131806-771a37caa5cf/go.mod" |
138 |
+ "github.com/tklauser/go-sysconf v0.3.5" |
139 |
+ "github.com/tklauser/go-sysconf v0.3.5/go.mod" |
140 |
+ "github.com/tklauser/numcpus v0.2.2" |
141 |
+ "github.com/tklauser/numcpus v0.2.2/go.mod" |
142 |
+ "github.com/yuin/goldmark v1.4.1" |
143 |
+ "github.com/yuin/goldmark v1.4.1/go.mod" |
144 |
+ "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" |
145 |
+ "golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod" |
146 |
+ "golang.org/x/mod v0.5.0" |
147 |
+ "golang.org/x/mod v0.5.0/go.mod" |
148 |
+ "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod" |
149 |
+ "golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod" |
150 |
+ "golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod" |
151 |
+ "golang.org/x/net v0.0.0-20210614182718-04defd469f4e" |
152 |
+ "golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod" |
153 |
+ "golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod" |
154 |
+ "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" |
155 |
+ "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod" |
156 |
+ "golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod" |
157 |
+ "golang.org/x/sys v0.0.0-20191224085550-c709ea063b76/go.mod" |
158 |
+ "golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod" |
159 |
+ "golang.org/x/sys v0.0.0-20210316164454-77fc1eacc6aa/go.mod" |
160 |
+ "golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod" |
161 |
+ "golang.org/x/sys v0.0.0-20210514084401-e8d321eab015" |
162 |
+ "golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod" |
163 |
+ "golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod" |
164 |
+ "golang.org/x/text v0.3.0/go.mod" |
165 |
+ "golang.org/x/text v0.3.6" |
166 |
+ "golang.org/x/text v0.3.6/go.mod" |
167 |
+ "golang.org/x/time v0.0.0-20201208040808-7e3f01d25324" |
168 |
+ "golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod" |
169 |
+ "golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod" |
170 |
+ "golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod" |
171 |
+ "golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod" |
172 |
+ "golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod" |
173 |
+ "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod" |
174 |
+ "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod" |
175 |
+ "gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f" |
176 |
+ "gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod" |
177 |
+ "gopkg.in/yaml.v2 v2.2.2/go.mod" |
178 |
+ "gopkg.in/yaml.v2 v2.2.7/go.mod" |
179 |
+ "gopkg.in/yaml.v2 v2.2.8/go.mod" |
180 |
+ "gopkg.in/yaml.v2 v2.4.0" |
181 |
+ "gopkg.in/yaml.v2 v2.4.0/go.mod" |
182 |
+ "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c" |
183 |
+ "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod" |
184 |
+ "mvdan.cc/xurls v1.1.0" |
185 |
+ "mvdan.cc/xurls v1.1.0/go.mod" |
186 |
+) |
187 |
+ |
188 |
+go-module_set_globals |
189 |
+ |
190 |
+SRC_URI="https://github.com/owncast/owncast/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz |
191 |
+ https://github.com/owncast/owncast/releases/download/v${PV}/${P}-linux-64bit.zip |
192 |
+ ${EGO_SUM_SRC_URI}" |
193 |
+ |
194 |
+src_unpack() { |
195 |
+ go-module_src_unpack |
196 |
+ |
197 |
+ # go-module_src_unpack unpacked both the source and the binary |
198 |
+ # package. This places the binary package files in the wrong |
199 |
+ # place, but that's hopefully survivable. We need the binary |
200 |
+ # package to get the minified CSS file, which is generated using |
201 |
+ # NPM by upstream. |
202 |
+ cp "${WORKDIR}"/webroot/js/web_modules/tailwindcss/dist/tailwind.min.css "${S}"/webroot/js/web_modules/tailwindcss/dist/tailwind.min.css || die |
203 |
+} |
204 |
+ |
205 |
+src_compile() { |
206 |
+ go build -v -work -x \ |
207 |
+ -ldflags "-s -w -X github.com/${PN}/${PN}/config.BuildVersion=${PV} -X github.com/${PN}/${PN}/config.BuildPlatform=gentoo" \ |
208 |
+ -o ${PN} \ |
209 |
+ github.com/${PN}/${PN} || die |
210 |
+} |
211 |
+ |
212 |
+src_install() { |
213 |
+ dobin ${PN} |
214 |
+ |
215 |
+ dodoc README.md |
216 |
+ |
217 |
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} |
218 |
+ |
219 |
+ diropts -m 0755 -o owncast -g owncast |
220 |
+ insopts -m 0644 -o owncast -g owncast |
221 |
+ |
222 |
+ insinto /var/lib/${PN} |
223 |
+ doins -r static webroot |
224 |
+} |
225 |
+ |
226 |
+pkg_postinst() { |
227 |
+ go-module_pkg_postinst |
228 |
+ |
229 |
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then |
230 |
+ einfo "The admin interface at http://localhost:8080/admin/" |
231 |
+ einfo "has default username 'admin' and password 'abc123'." |
232 |
+ fi |
233 |
+ |
234 |
+ einfo "Hardware accelerated transcoding requires support in media-video/ffmpeg, see https://owncast.online/docs/codecs/" |
235 |
+} |