mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-plugins/qmmp-plugin-pack: add 2.2.2, add useflags
* add useflags because ffmpeg is not a tiny dep * deps: add media-libs/modplug (useflag modplug) add virtual/pkgconfig rm yasm, no longer used for ffap since 1.5 (therefore noexecstack removal) * add optfeature for yt-dlp Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/41378 Closes: https://github.com/gentoo/gentoo/pull/41378 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
96179986aa
commit
df21b6cdaf
@@ -1 +1,2 @@
|
||||
DIST qmmp-plugin-pack-2.1.2.tar.bz2 247016 BLAKE2B a854c72d04ca131a16cf2d24d92cf76a6aad9171111c6919aa8a87dedb853eb7df1103639e1060b9c85c0cf0b94477acb4bd059101264726818cb0b19f23cc0a SHA512 b9c3464e93b910351bfe453e30e04d8a9f55a9e8ed18677ee309610f5246b0bd9fc68e1e24bc92a85ca2da51732a7de57fcacf4cdf50b36a1273ef5e8b39cc99
|
||||
DIST qmmp-plugin-pack-2.2.2.tar.bz2 248813 BLAKE2B a1a1263b7a1626639864c621ce21f426c2f42b9f1cc463997f712762d0cf7a13388325111142e62341d55a5f5608ab788b8973e56dae3cd88a9fd39434370a25 SHA512 56b54e4377f8580964ad7ce08314e415e33a53d5d01b7cd56912c8821664511acf040b5d1e3835ea53d709103eb737bda890019cf0070bb8a95e0b203d9f4ec1
|
||||
|
||||
44
media-plugins/qmmp-plugin-pack/qmmp-plugin-pack-2.2.2.ebuild
Normal file
44
media-plugins/qmmp-plugin-pack/qmmp-plugin-pack-2.2.2.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake optfeature
|
||||
|
||||
DESCRIPTION="Set of extra plugins for Qmmp"
|
||||
HOMEPAGE="https://qmmp.ylsoftware.com/"
|
||||
SRC_URI="https://qmmp.ylsoftware.com/files/${PN}/$(ver_cut 1-2)/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ffmpeg +libsamplerate modplug"
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtbase:6[gui,network,widgets]
|
||||
media-libs/taglib:=
|
||||
=media-sound/qmmp-$(ver_cut 1-2)*
|
||||
ffmpeg? ( media-video/ffmpeg:= )
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
modplug? ( media-libs/libmodplug )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-qt/qttools:6[linguist]
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
# enabled by default as taglib is already required by qmmp
|
||||
-DUSE_FFAP=ON
|
||||
-DUSE_FFVIDEO=$(usex ffmpeg)
|
||||
-DUSE_MODPLUG=$(usex modplug)
|
||||
-DUSE_SRC=$(usex libsamplerate)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "audio playback from YouTube" net-misc/yt-dlp
|
||||
}
|
||||
Reference in New Issue
Block a user