Commit ce7f470c authored by Alexander B. Ustinov's avatar Alexander B. Ustinov
Browse files

element; shortwave

parent 2fa38cb5
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools meson gnome2
DESCRIPTION="Listen to internet radio"
HOMEPAGE="https://gitlab.gnome.org/World/Shortwave"
if [[ ${PV} == *9999* ]]; then
inherit git-r3
unset SRC_URI
KEYWORDS=""
else
SRC_URI="https://gitlab.gnome.org/World/Shortwave/-/archive/${PV}/${P}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
RDEPEND="
>=dev-db/sqlite-3
>=dev-libs/openssl-1
>=sys-apps/dbus-1
>=sys-libs/glibc-2
>=dev-libs/glib-2
>=gui-libs/gtk-4
>=x11-libs/gdk-pixbuf-2
>=media-libs/gstreamer-1.16
>=media-plugins/gst-plugins-meta-1.16[mp3,http,aac,opus]
>=media-libs/gst-plugins-base-1.16
>=media-libs/gst-plugins-bad-1.16
>=media-libs/gst-plugins-good-1.16
>=gui-libs/libadwaita-1.0.0
>=gui-libs/libshumate-1.0.0
"
DEPEND="${RDEPEND}"
BDEPEND=""
RESTRICT=network-sandbox
src_unpack() {
if [[ ${PV} != *9999* ]]; then
default
S=${WORKDIR}/`ls $WORKDIR`
else
base_uri="https://gitlab.gnome.org/World/Shortwave.git"
branch="master"
git-r3_fetch "${base_uri}/${PN}/core" "refs/heads/${branch}"
git-r3_checkout "${base_uri}/${PN}/core"
S="${WORKDIR}/Shortwave"
fi
}
src_configure() {
meson_src_configure
}
src_compile() {
meson_src_compile ${MAKEOPTS}
}
src_install() {
meson_src_install
rmdir "${ED}/var/lib" 2>/dev/null
rmdir "${ED}/var" 2>/dev/null
rm -fr "${ED}/usr/share/applications/mimeinfo.cache"
}
pkg_preinst() {
gnome2_pkg_preinst
}
pkg_postinst() {
gnome2_pkg_postinst
}
pkg_postrm() {
gnome2_pkg_postrm
}
DIST element-v1.10.14.tar.gz 17539241 BLAKE2B 37095170ebfb50c2cc70268d8d342aa60a64e7bc1e319b839208e5e2c450a757eb4f6235354427b91e48c4070b9f802a63f75fc3e502bfce8f051d902709f24c SHA512 6b849f26054568f183cfe4ce12c3729b37771f3e1c7dac9f3a22d22671cd47598b4b53f90d6e9009862e2f239411e183d94b2a56ef9422a140719910ee8dfc15
EBUILD element-1.10.14.ebuild 850 BLAKE2B c740f44704637b343d2ecb7842b3cc84631c34d65f453fb38f185861d62a9324a1d8a6623ebaef4b531d0a36cf1e7227d1ea584f42cf816d36064bbf10125daa SHA512 d463c7901db03814290f1b4f602c06a3c5bc71a897ead141467bed8700ada84224d26df8c407658d5ca87c2e324bd2ba5250aebdfcc6963bece42649815f2413
DIST element-v1.10.15.tar.gz 17538557 BLAKE2B 3087cd7245e84ee55fdd45b041f6b36c6cc057a0db60f98bc444b07c3a8123219039fcd5c4dbe42244804c50a6c6c0246ba3561c3813dfc042f5a97ea377162e SHA512 73d2571c11b6830e67b6a20fc1f75f92f8bec289828a260a9eb0ef57eed8fbe2a2cae89233ca03fb35804e2df7f10a2345d8fc954105962f3ab61dd4bf55d79e
EBUILD element-1.10.15.ebuild 850 BLAKE2B c740f44704637b343d2ecb7842b3cc84631c34d65f453fb38f185861d62a9324a1d8a6623ebaef4b531d0a36cf1e7227d1ea584f42cf816d36064bbf10125daa SHA512 d463c7901db03814290f1b4f602c06a3c5bc71a897ead141467bed8700ada84224d26df8c407658d5ca87c2e324bd2ba5250aebdfcc6963bece42649815f2413
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment