aboutsummaryrefslogblamecommitdiffstats
path: root/net-news/miniflux/miniflux-2.0.21-r1.ebuild
blob: d2fa1b06d1e030db24dcf69ddbafe6d62ce1a5cc (plain) (tree)




































































































































                                                                                                                           
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit go-module

EGO_SUM=(
	"cloud.google.com/go v0.34.0/go.mod"
	"github.com/PuerkitoBio/goquery v1.5.0"
	"github.com/PuerkitoBio/goquery v1.5.0/go.mod"
	"github.com/andybalholm/cascadia v1.0.0"
	"github.com/andybalholm/cascadia v1.0.0/go.mod"
	"github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927/go.mod"
	"github.com/coreos/go-oidc v2.2.1+incompatible"
	"github.com/coreos/go-oidc v2.2.1+incompatible/go.mod"
	"github.com/davecgh/go-spew v1.1.0"
	"github.com/davecgh/go-spew v1.1.0/go.mod"
	"github.com/dustin/go-humanize v1.0.0/go.mod"
	"github.com/fsnotify/fsnotify v1.4.7/go.mod"
	"github.com/golang/protobuf v1.2.0"
	"github.com/golang/protobuf v1.2.0/go.mod"
	"github.com/golang/protobuf v1.3.1/go.mod"
	"github.com/golang/protobuf v1.3.2"
	"github.com/golang/protobuf v1.3.2/go.mod"
	"github.com/gorilla/mux v1.7.3"
	"github.com/gorilla/mux v1.7.3/go.mod"
	"github.com/lib/pq v1.2.0"
	"github.com/lib/pq v1.2.0/go.mod"
	"github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2/go.mod"
	"github.com/pmezard/go-difflib v1.0.0"
	"github.com/pmezard/go-difflib v1.0.0/go.mod"
	"github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35"
	"github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35/go.mod"
	"github.com/spf13/pflag v1.0.3/go.mod"
	"github.com/stretchr/objx v0.1.0/go.mod"
	"github.com/stretchr/testify v1.4.0"
	"github.com/stretchr/testify v1.4.0/go.mod"
	"github.com/tdewolff/minify v2.3.6+incompatible"
	"github.com/tdewolff/minify/v2 v2.7.2"
	"github.com/tdewolff/minify/v2 v2.7.2/go.mod"
	"github.com/tdewolff/parse/v2 v2.4.2"
	"github.com/tdewolff/parse/v2 v2.4.2/go.mod"
	"github.com/tdewolff/test v1.0.6/go.mod"
	"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
	"golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod"
	"golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod"
	"golang.org/x/crypto v0.0.0-20191112222119-e1110fd1c708"
	"golang.org/x/crypto v0.0.0-20191112222119-e1110fd1c708/go.mod"
	"golang.org/x/lint v0.0.0-20200130185559-910be7a94367"
	"golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod"
	"golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod"
	"golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01/go.mod"
	"golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod"
	"golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod"
	"golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod"
	"golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
	"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
	"golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod"
	"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
	"golang.org/x/net v0.0.0-20191112182307-2180aed22343"
	"golang.org/x/net v0.0.0-20191112182307-2180aed22343/go.mod"
	"golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45"
	"golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod"
	"golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4"
	"golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod"
	"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
	"golang.org/x/sys v0.0.0-20181031143558-9b800f95dbbc/go.mod"
	"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
	"golang.org/x/sys v0.0.0-20190412213103-97732733099d"
	"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
	"golang.org/x/sys v0.0.0-20190606165138-5da285871e9c"
	"golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod"
	"golang.org/x/sys v0.0.0-20190904154756-749cb33beabd"
	"golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod"
	"golang.org/x/text v0.3.0"
	"golang.org/x/text v0.3.0/go.mod"
	"golang.org/x/text v0.3.2"
	"golang.org/x/text v0.3.2/go.mod"
	"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
	"golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod"
	"golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7"
	"golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod"
	"golang.org/x/tools v0.0.0-20200216192241-b320d3a0f5a2"
	"golang.org/x/tools v0.0.0-20200216192241-b320d3a0f5a2/go.mod"
	"golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod"
	"google.golang.org/appengine v1.4.0"
	"google.golang.org/appengine v1.4.0/go.mod"
	"google.golang.org/appengine v1.6.2"
	"google.golang.org/appengine v1.6.2/go.mod"
	"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405"
	"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
	"gopkg.in/square/go-jose.v2 v2.4.1"
	"gopkg.in/square/go-jose.v2 v2.4.1/go.mod"
	"gopkg.in/yaml.v2 v2.2.2"
	"gopkg.in/yaml.v2 v2.2.2/go.mod"
)

go-module_set_globals

KEYWORDS="amd64 x86"
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz ${EGO_SUM_SRC_URI}"

DESCRIPTION="Minimalist and opinionated feed reader"
HOMEPAGE="https://miniflux.app/"

LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RESTRICT="mirror"

DEPEND="
	acct-user/miniflux
	acct-group/miniflux"

RDEPEND="${DEPEND}
	>=dev-db/postgresql-9.5"

src_compile() {
	go build -ldflags="-X miniflux.app/version.Version=${PV} -X miniflux.app/version.BuildDate=$(date +%FT%T%z)" || die
}

src_install() {
	newbin ${PN}.app ${PN}
	doman ${PN}.1

	insinto /etc/miniflux
	doins "${FILESDIR}/miniflux.conf"
	fowners root:miniflux /etc/miniflux
	fperms 0750 /etc/miniflux

	newinitd "${FILESDIR}/miniflux.initd" miniflux
}