commit:     7ba69c3a8555848b148b6e7024658daff7294b2d
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Fri Feb 13 11:35:14 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 14 05:17:10 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ba69c3a

media-sound/exaile: add 4.2.1

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/49
Merges: https://codeberg.org/gentoo/gentoo/pulls/49
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/exaile/Manifest            |   1 +
 media-sound/exaile/exaile-4.2.1.ebuild | 113 +++++++++++++++++++++++++++++++++
 2 files changed, 114 insertions(+)

diff --git a/media-sound/exaile/Manifest b/media-sound/exaile/Manifest
index 03b27d31315f..4b8d535507ca 100644
--- a/media-sound/exaile/Manifest
+++ b/media-sound/exaile/Manifest
@@ -1 +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

diff --git a/media-sound/exaile/exaile-4.2.1.ebuild 
b/media-sound/exaile/exaile-4.2.1.ebuild
new file mode 100644
index 000000000000..4e5aa896a1db
--- /dev/null
+++ b/media-sound/exaile/exaile-4.2.1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 2025-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} )
+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
+       "
+       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
+}

Reply via email to