2021-07-21 15:10:25 +02:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
VALA_USE_DEPEND="vapigen"
|
|
|
|
|
|
|
|
inherit vala meson gnome2-utils git-r3 xdg
|
|
|
|
|
|
|
|
DESCRIPTION="Cawbird is a fork of the Corebird Twitter client from Baedert."
|
|
|
|
HOMEPAGE="https://github.com/IBBoard/cawbird"
|
|
|
|
SRC_URI="https://github.com/IBBoard/cawbird/archive/refs/tags/v${PV}.tar.gz"
|
|
|
|
EGIT_REPO_URI="https://github.com/IBBoard/cawbird.git"
|
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86 ~amd64 ~arm64"
|
|
|
|
IUSE="+introspection +vala"
|
|
|
|
REQUIRED_USE="vala? ( introspection )"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
gui-libs/gtk
|
2021-07-21 15:16:13 +02:00
|
|
|
>=x11-libs/gtk+-3.22
|
|
|
|
>=dev-libs/glib-2.44
|
|
|
|
>=dev-libs/json-glib-1.0
|
|
|
|
>=dev-db/sqlite-3.0
|
|
|
|
>=net-libs/libsoup-2.4
|
|
|
|
net-libs/liboauth
|
|
|
|
>=sys-devel/gettext-0.19
|
|
|
|
media-libs/gst-plugins-base
|
|
|
|
media-libs/gst-plugins-bad
|
|
|
|
media-plugins/gst-plugins-libav
|
|
|
|
>=app-text/gspell-1.0
|
2021-07-21 15:10:25 +02:00
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND="
|
|
|
|
vala? ( $(vala_depend) )
|
|
|
|
dev-util/meson
|
|
|
|
dev-libs/gobject-introspection
|
|
|
|
"
|
|
|
|
|
|
|
|
S="${WORKDIR}/$PN-${PV}"
|
|
|
|
|
2021-07-21 23:24:15 +02:00
|
|
|
src_configure() {
|
|
|
|
local emesonargs=(
|
2021-07-21 23:28:04 +02:00
|
|
|
-Dconsumer_key_base64=VmY5dG9yRFcyWk93MzJEZmhVdEk5Y3NMOA==
|
|
|
|
-Dconsumer_secret_base64=MThCRXIxbWRESDQ2Y0podzVtVU13SGUyVGlCRXhPb3BFRHhGYlB6ZkpybG5GdXZaSjI=
|
2021-07-21 23:24:58 +02:00
|
|
|
)
|
2021-07-21 23:24:15 +02:00
|
|
|
meson_src_configure
|
2021-07-21 23:24:58 +02:00
|
|
|
}
|
2021-07-21 23:24:15 +02:00
|
|
|
|
2021-07-21 15:10:25 +02:00
|
|
|
src_install() {
|
2021-07-21 23:24:15 +02:00
|
|
|
meson_src_install
|
2021-07-21 15:10:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
2021-07-24 03:49:41 +02:00
|
|
|
xdg_icon_cache_update
|
2021-07-21 15:10:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
2021-07-24 03:49:41 +02:00
|
|
|
xdg_icon_cache_update
|
2021-07-21 15:10:25 +02:00
|
|
|
}
|