summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-11-29 19:33:13 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-11-29 19:45:37 +0100
commitd8f6f106dcbd261b992ee54c9b5a0669893173d6 (patch)
treed20a957a4c03177fa06e691ed9443f1f5a9c0880 /media-sound/qmmp
parentmedia-sound/qmmp: Bump to version 1.2.0 (diff)
downloadgentoo-d8f6f106dcbd261b992ee54c9b5a0669893173d6.tar.gz
gentoo-d8f6f106dcbd261b992ee54c9b5a0669893173d6.tar.bz2
gentoo-d8f6f106dcbd261b992ee54c9b5a0669893173d6.zip
media-sound/qmmp: Sync live ebuild.
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'media-sound/qmmp')
-rw-r--r--media-sound/qmmp/qmmp-9999.ebuild31
1 files changed, 24 insertions, 7 deletions
diff --git a/media-sound/qmmp/qmmp-9999.ebuild b/media-sound/qmmp/qmmp-9999.ebuild
index f3b0a524c058..f7eff28d1dbe 100644
--- a/media-sound/qmmp/qmmp-9999.ebuild
+++ b/media-sound/qmmp/qmmp-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit cmake-utils
+inherit cmake-utils xdg-utils
[[ ${PV} = 9999 ]] && inherit subversion
DESCRIPTION="Qt5-based audio player with winamp/xmms skins support"
@@ -12,18 +12,22 @@ if [[ ${PV} != 9999 ]]; then
SRC_URI="http://qmmp.ylsoftware.com/files/${P}.tar.bz2"
KEYWORDS="~amd64 ~x86"
else
- QMMP_DEV_BRANCH="1.1"
+ QMMP_DEV_BRANCH="1.2"
ESVN_REPO_URI="svn://svn.code.sf.net/p/${PN}-dev/code/branches/${PN}-${QMMP_DEV_BRANCH}"
fi
LICENSE="GPL-2"
SLOT="0"
# KEYWORDS further up
-IUSE="aac +alsa analyzer bs2b cdda cover crossfade cue curl +dbus enca ffmpeg flac game gnome
-jack ladspa libav lyrics +mad midi mms modplug mplayer musepack notifier opus oss projectm
-pulseaudio qsui qtmedia scrobbler sid sndfile soxr stereo tray udisks +vorbis wavpack"
+IUSE="aac +alsa analyzer archive bs2b cdda cover crossfade cue curl +dbus enca ffmpeg flac game
+gnome jack ladspa libav lyrics +mad midi mms modplug mplayer musepack notifier opus oss projectm
+pulseaudio qsui qtmedia scrobbler shout sid sndfile soxr stereo tray udisks +vorbis wavpack"
-REQUIRED_USE="gnome? ( dbus ) udisks? ( dbus )"
+REQUIRED_USE="
+ gnome? ( dbus )
+ shout? ( soxr vorbis )
+ udisks? ( dbus )
+"
RDEPEND="
dev-qt/qtcore:5
@@ -35,6 +39,7 @@ RDEPEND="
x11-libs/libX11
aac? ( media-libs/faad2 )
alsa? ( media-libs/alsa-lib )
+ archive? ( app-arch/libarchive )
bs2b? ( media-libs/libbs2b )
cdda? (
dev-libs/libcdio:=
@@ -70,8 +75,9 @@ RDEPEND="
pulseaudio? ( >=media-sound/pulseaudio-0.9.9 )
qtmedia? ( dev-qt/qtmultimedia:5 )
scrobbler? ( net-misc/curl )
- sndfile? ( media-libs/libsndfile )
+ shout? ( media-libs/libshout )
sid? ( >=media-libs/libsidplayfp-1.1.0 )
+ sndfile? ( media-libs/libsndfile )
soxr? ( media-libs/soxr )
udisks? ( sys-fs/udisks:2 )
vorbis? (
@@ -101,6 +107,7 @@ src_configure() {
-DUSE_AAC="$(usex aac)"
-DUSE_ALSA="$(usex alsa)"
-DUSE_ANALYZER="$(usex analyzer)"
+ -DUSE_ARCHIVE="$(usex archive)"
-DUSE_BS2B="$(usex bs2b)"
-DUSE_CDA="$(usex cdda)"
-DUSE_COVER="$(usex cover)"
@@ -111,6 +118,7 @@ src_configure() {
-DUSE_MPRIS="$(usex dbus)"
-DUSE_ENCA="$(usex enca)"
-DUSE_FFMPEG="$(usex ffmpeg)"
+ -DUSE_FILEWRITER="$(usex vorbis)"
-DUSE_FLAC="$(usex flac)"
-DUSE_GME="$(usex game)"
-DUSE_GNOMEHOTKEY="$(usex gnome)"
@@ -132,6 +140,7 @@ src_configure() {
-DUSE_QSUI="$(usex qsui)"
-DUSE_QTMULTIMEDIA="$(usex qtmedia)"
-DUSE_SCROBBLER="$(usex scrobbler)"
+ -DUSE_SHOUT="$(usex shout)"
-DUSE_SID="$(usex sid)"
-DUSE_SNDFILE="$(usex sndfile)"
-DUSE_SOXR="$(usex soxr)"
@@ -144,3 +153,11 @@ src_configure() {
cmake-utils_src_configure
}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}