mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
media-sound/exaile: drop 4.2.0
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/463 Merges: https://codeberg.org/gentoo/gentoo/pulls/463 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
92e9c329ad
commit
9539f3c76b
@@ -1,3 +1,2 @@
|
||||
DIST exaile-4.2.0.tar.gz 3959197 BLAKE2B dac5ca29dc3d514a46d64010ed0dbf385e5b08bf102f2b70363a2eb24fe65a67148a51468c427c8e42b0b77bb4b35d1de99911cbae0eb06decd0786fdbb77006 SHA512 61858a78b54df2a5ef842f6a4899984f618b1408be85d201f378169c532ac77819269e64497b9c615cdbe2048bc3d4bd07b78b4adf36f83cc90f22114319475f
|
||||
DIST exaile-4.2.1.tar.gz 3965450 BLAKE2B c0ef2efb78a2a2a92ab5fac1d48c824050d960381f7e42b7dd50a7fbe21ac9bf30703eb0a89fa67dc8d2b86aa9166f4713ab1c38a7dc220ca4eed9a092781e76 SHA512 9d47b711e441b6c14255f451d798e90930049ff87d4b4d5dfd07e3e02c863578de4acca30ab8b6af7e9bcf3a5aafb2dd275f15eec666387faf0fdf82d10007bd
|
||||
DIST exaile-4.2.2.tar.gz 3971946 BLAKE2B 6ff2193400a478fbffcb555182e8ccdcb213341ebd6e78f97bd2eb30220fc82f5b528cbc7ac9c02f438df5795f3c3fd5c711fce9a00eef9c3638eca90c885cf5 SHA512 141e7c3561f129a0e2f3aac7475d7521d8e670f7b080aba882cbc3a5470328ed4792f1157b3c355c5e20444c52173d16c7f78149752a4343a922d4dba1bbdabb
|
||||
|
||||
@@ -1,114 +0,0 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
inherit optfeature python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="GTK+ based media player aiming to be similar to Amarok"
|
||||
HOMEPAGE="https://www.exaile.org/"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/exaile/exaile.git"
|
||||
else
|
||||
MY_PV="${PV/_/-}"
|
||||
SRC_URI="
|
||||
https://github.com/exaile/exaile/releases/download/${MY_PV}/exaile-${MY_PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="nls test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=media-libs/gstreamer-1.16[introspection]
|
||||
>=media-libs/gst-plugins-base-1.16:1.0
|
||||
>=media-libs/gst-plugins-good-1.16:1.0
|
||||
>=media-plugins/gst-plugins-meta-1.16:1.0
|
||||
>=x11-libs/gtk+-3.24:3[introspection]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/berkeleydb[${PYTHON_USEDEP}]
|
||||
>=media-libs/mutagen-1.44[${PYTHON_USEDEP}]
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
>=dev-python/gst-python-1.16:1.0[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygobject-3.24:3[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
sys-apps/help2man
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
nls? (
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
)
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake completion desktop_files$(use nls || echo _no_locale)
|
||||
use nls && emake locale
|
||||
|
||||
# Do it by hand to avoid decompressing gzip
|
||||
LC_ALL=C help2man -n "music manager and player" -N ./exaile > build/exaile.1 || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x EXAILE_DIR="${S}"
|
||||
epytest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
PREFIX=/usr \
|
||||
LIBINSTALLDIR=/usr/$(get_libdir) \
|
||||
DESTDIR="${D}" \
|
||||
PYTHON3_CMD="${EPYTHON}" \
|
||||
install$(use nls || echo _no_locale)
|
||||
|
||||
doman build/exaile.1
|
||||
|
||||
python_optimize "${D}/usr/$(get_libdir)/${PN}"
|
||||
python_optimize "${D}/usr/share/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
# https://github.com/exaile/exaile/blob/master/DEPS
|
||||
optfeature "device detection" sys-fs/udisks
|
||||
optfeature "CD info" dev-python/discid dev-python/musicbrainzngs
|
||||
#optfeature "DAAP plugins" dev-python/spydaap dev-python/zeroconf # spydaap unpackaged
|
||||
optfeature "Last.FM integration" dev-python/pylast
|
||||
optfeature "Lyrics from lyricsmania.com" dev-python/lxml
|
||||
optfeature "Musicbrainz covers" dev-python/musicbrainzngs
|
||||
optfeature "Podcast plugin" dev-python/feedparser
|
||||
optfeature "Wikipedia info" net-libs/webkit-gtk:4.1[introspection]
|
||||
optfeature "Xlib-based hotkeys" dev-libs/keybinder:3[introspection]
|
||||
optfeature "scalable icons" gnome-base/librsvg:2
|
||||
optfeature "native notifications" x11-libs/libnotify[introspection]
|
||||
optfeature "recording streams" media-sound/streamripper
|
||||
#optfeature "Moodbar plugin" media-sound/moodbar # moodbar unpackaged
|
||||
optfeature "BPM counter plugin" media-plugins/gst-plugins-soundtouch
|
||||
|
||||
# Extras not mentioned in upstream DEPS file
|
||||
optfeature "Internet Radio" media-plugins/gst-plugins-soup
|
||||
}
|
||||
Reference in New Issue
Block a user