Qmmp (Xmms-like)

If there's software you need and you can't find, make a request for it.
Post Reply
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Qmmp (Xmms-like)

Post by zAchAry »

Could replace Xmms for the Winamp styled player fans ;)

- Users who don't like the need of the ~10MB installation of Xmms's dependencies/libraries, especially for Xmms.
- Users who don't like the fact that you can't play other sound from other software because Xmms is the one who's playing at the moment, and if some other software is playing audio then Xmms is the only one that can't.
- KDE users ;)

This program is an audio-player, written with help of Qt library. The user interface is similar to winamp or xmms.

http://qmmp.ylsoftware.com/index_en.php
Image
Help to make Slackware easier Donate to Salix
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Qmmp (Xmms-like)

Post by thenktor »

Any advantages compared to Audacious?
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: Qmmp (Xmms-like)

Post by zAchAry »

I really have No Clue :|

The reason I'm not using Audacious is because one night, as almost every night, I left my audio player (Audacious) opened to play me songs or streams during the night, on the next morning Audacious was still playing and hugging (memory leak) ~400MB RAM and the system was so slow, until I closed Audacious and everything went back as usual, on the other hand, it was Ubuntu 8.10 running it, so this is not a neutral experience.

Other reason is that I do not like the UI of the configurations and the very slow development cycle of Audacious.

Yes, never tried Qmmp and talking bad about Audacious... I'm very biased, but hey... free speech :P
Image
Help to make Slackware easier Donate to Salix
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Qmmp (Xmms-like)

Post by thenktor »

I've created a SLKBUILD:

Code: Select all

#Maintainer: thenktor

pkgname=qmmp
pkgver=0.4.2
pkgrel=1tm
source=("http://qmmp.ylsoftware.com/files/qmmp-$pkgver.tar.bz2")
url="http://qmmp.ylsoftware.com"
docs=('AUTHORS' 'ChangeLog' 'ChangeLog.svn' 'COPYING' 'README')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (an audio player)"
"This program is an audio-player, written with help of Qt library. The"
"user interface is similar to winamp or xmms. Alternative user"
"interfaces also are available."
)

build() {
	cd $startdir/src/${pkgname}-${pkgver}
	mkdir build
	cd build
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=Release \
		-DMAN_INSTALL_DIR=/usr/man \
		-DSYSCONF_INSTALL_DIR=/etc/kde \
		..
	make -j3 || return 1
	make DESTDIR=$startdir/pkg/ install || return 1
}
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: Qmmp (Xmms-like)

Post by zAchAry »

First off, Please write down the dependencies (and also the optional packages).

Why aren't you guys submitting some of your SLKBUILD work to SBo? SBo has Qmmp 0.4.1.
I won't try to bother you very much but I'll ask a little question, if you're willing to answer:
What are the main differences (or the main difference) between the structure of your SLKBUILD to the one that I have just referred to? (short answer, if you can)
Image
Help to make Slackware easier Donate to Salix
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: Qmmp (Xmms-like)

Post by pwatk »

A SLKBUILD is a lot easier to maintain and, like Salix itself, removes some of the mundane tasks!

For example, I have about 60-70 (could be more, that's a guess) slackbuild scripts I've wrote over time. If I decided I'd found a new and wonderful way to handle, say... man pages, then I'd have to edit every script or write another script to edit every script (still with me?).

With slkbuild the devs only need to edit the one script (/usr/bin/slkbuild) to add additional functionality and all the variable stuff (the build function etc) is handled by the packagers.

I hope this helps.

Edit: Nearly forgot the dependencies.

You may have more or less options enabled here, depends on the packages you have installed (I already had Qt, codecs, Mplayer etc installed).

build-qmmp-0.4.2-i486-1tm.log

Code: Select all

...
Transports:
HTTP support ......................enabled
MMS support .......................enabled

Input Plugins:
mp3 support .......................enabled
FLAC support ......................enabled
Ogg Vorbis support ................enabled
Musepack support ..................enabled
MOD support .......................disabled
Wave support ......................enabled
WavPack support ...................enabled
WMA support .......................enabled
AAC support .......................enabled
CUE sheet support .................enabled
Mplayer support....................enabled
CD Audio support...................enabled

Output Plugins:
ALSA support ......................enabled
OSS support .......................enabled
JACK support ......................disabled
PulseAudio support ................disabled
Null output support ...............enabled
Win32 Waveout support .............disabled

Effect Plugins:
Sample Rate Conversion ............disabled
BS2B Plugin .......................disabled
LADSPA Host .......................enabled

Visual Plugins:
Analyzer ..........................enabled
ProjectM ..........................disabled

General Plugins:
MPRIS support .....................enabled
Scrobbler .........................enabled
Tray support ......................enabled
Notifier support ..................enabled
Lyrics support ....................enabled
HAL support .......................enabled
Global hotkey support .............enabled
File operations ...................enabled
Cover manager .....................enabled
KDE4 notifications support ........enabled

File Dialogs:
QMMP File Dialog ..................enabled

Advanced:
Automatic charset detection .......disabled
...
depfinder -afp -j 3 qmmp-0.4.2-i486-1tm.txz

Code: Select all

alsa-lib,bzip2,curl,cxxlibs|gcc-g++,cyrus-sasl,expat,faad2,ffmpeg,flac,fontconfig,freetype,gcc,glib2,lame,
libICE,libSM,libX11,libXau,libXdmcp,libXext,libXrender,libcddb,libcdio,libidn,libmad,libmms,libogg,libpng,
libsndfile,libtheora,libvorbis,libxcb,mesa,musepack-tools,openldap-client,openssl,orc,qt,schroedinger,speex,
taglib,util-linux-ng,wavpack,x264,xvidcore,zlib
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Qmmp (Xmms-like)

Post by thenktor »

Install vlc with slapt-get. I guess it will install most deps needed for qmmp.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Post Reply