diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-01-18 17:19:38 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-01-18 17:19:38 +0000 |
commit | 8eb05defe272a6ac043544944f06685965f4e36c (patch) | |
tree | 84823b55802ba70117a8f3dd429392db9dfe48d9 /media-sound | |
parent | Delete older ebuild. (diff) | |
download | historical-8eb05defe272a6ac043544944f06685965f4e36c.tar.gz historical-8eb05defe272a6ac043544944f06685965f4e36c.tar.bz2 historical-8eb05defe272a6ac043544944f06685965f4e36c.zip |
Add kio-file patch. Thanks to Sebastian Pipping <sping@gentoo.org>
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/qmmp/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/qmmp/Manifest | 4 | ||||
-rw-r--r-- | media-sound/qmmp/files/qmmp-0.3.2-kio-file-path-fix.patch | 19 | ||||
-rw-r--r-- | media-sound/qmmp/qmmp-0.3.2-r1.ebuild | 88 |
4 files changed, 117 insertions, 2 deletions
diff --git a/media-sound/qmmp/ChangeLog b/media-sound/qmmp/ChangeLog index f32f95cb6c06..0092d6ed3ca7 100644 --- a/media-sound/qmmp/ChangeLog +++ b/media-sound/qmmp/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/qmmp # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/qmmp/ChangeLog,v 1.25 2010/01/13 17:56:55 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/qmmp/ChangeLog,v 1.26 2010/01/18 17:19:38 hwoarang Exp $ + +*qmmp-0.3.2-r1 (18 Jan 2010) + + 18 Jan 2010; <hwoarang@gentoo.org> +qmmp-0.3.2-r1.ebuild, + +files/qmmp-0.3.2-kio-file-path-fix.patch: + Add kio-file patch. Thanks to Sebastian Pipping <sping@gentoo.org> *qmmp-0.3.2 (13 Jan 2010) diff --git a/media-sound/qmmp/Manifest b/media-sound/qmmp/Manifest index 97ad8326d200..b826a555b93a 100644 --- a/media-sound/qmmp/Manifest +++ b/media-sound/qmmp/Manifest @@ -1,9 +1,11 @@ +AUX qmmp-0.3.2-kio-file-path-fix.patch 652 RMD160 8bb6bd88b2eb72ec52a956c339a9aea3283647c2 SHA1 bac4c97d762f7a0fb32c74b4418cb0068b1b31a2 SHA256 ca2740d55b658db2c7c33e459b3ffe51b57a5b2d28ff91aaa2f7eaaf73cb2258 DIST qmmp-0.3.0.tar.bz2 486650 RMD160 ff51ff434299b616da736467a0d33977d379f6c4 SHA1 3bbe00daa0227e64d97f797002ffff49b27e01a0 SHA256 b2e3b253ea0a2a9c6f464cf247539e4a83897ae9a92c6389805f6bf1ca89bfe3 DIST qmmp-0.3.1.tar.bz2 490423 RMD160 ffce4cb387015db1ff6c1ff2b83fdf3c1f849984 SHA1 1cc604bd89a7b26fe248d31ed1cd3a668f303ab1 SHA256 4e76099604ba9069783cd00dc0fd51ba0578e86fc86049480a42b3b6aff6fcd3 DIST qmmp-0.3.2.tar.bz2 491479 RMD160 a51f2ac118ed999f85e6e4d77f3ccc132f5b9a0e SHA1 84f66a0ab85ab257a3e8b02e12871ceebe30c4fc SHA256 3bfbc954591ad261459344182d8885c3a05683ea6f440504c17c5ecfdbb8be78 EBUILD qmmp-0.3.0-r1.ebuild 2453 RMD160 24fd7e92a8037c38f40ff2f31d90541171717fc6 SHA1 22fa76e615dce1c43867aab631782fb72f12f6a0 SHA256 fcd8636379af69be42a2d9bf7ec42d8ea71535b0d35ca89ac3e7146250e21b11 EBUILD qmmp-0.3.1.ebuild 2454 RMD160 0709115e951b88f1ca2dfa6b1de3114344487c33 SHA1 976cde537f269c525e899f20f21220b0c7dd3383 SHA256 74e8a0b5f25cba68c0e9555bfc36c5d106c81c48ad8225c703adce2dc139956b +EBUILD qmmp-0.3.2-r1.ebuild 2514 RMD160 03b6ac72923c10b1d3c5feadaee0ef0d2e9ba821 SHA1 659db7cc6a2d00d85630e7fa009f45c9d3d58dbd SHA256 80b3d8359d25a5dbe7ebbf5b164ad758b6963a212e7ea733833ad52bf4c639ba EBUILD qmmp-0.3.2.ebuild 2454 RMD160 c90b6b0ed620e5ed3e489124262cb5aa7b54c2d2 SHA1 31b0383c56e4255f386ce758a139abeacc009f2c SHA256 2a402a0f091436a8c798338be15749e84881db3bf9f98eb5cf0480b4925df6eb EBUILD qmmp-9999.ebuild 2441 RMD160 3e7c8d277050050f3a36a87c0a218677a402def5 SHA1 f0b82ba85cf4c542d1ee9626dcf7753e940228a6 SHA256 b54406bc9c189fff2c695d45cb6a4acfd74acf0ff24f09c90c64b4ff883fd438 -MISC ChangeLog 3608 RMD160 70800982dfe6d790a31624e5bef3a5c0f07b9ccb SHA1 26e1a580033eff2c597009f23e4fec2e5897f677 SHA256 270a610558ca7a507d56803ca2c22a46a95dab7ad290fa4a9b1d212cb1854d21 +MISC ChangeLog 3813 RMD160 bf797a76e775b870a0f173661404cd5b6619868b SHA1 457da74c41a1248c0b401da17897c47f2c1b0e81 SHA256 543737adb7c1ee75f9dd1d3ca0342305595628a7b67e37eee71c08a3348219c4 MISC metadata.xml 409 RMD160 1b1111c050fd665ca2eb3662e104fc051d0d817a SHA1 4d17839362ce6cda9f2dd7153e457d2d0a042798 SHA256 de8224b3db3607762ad766e5afa3ec0e4971bc3dfbb4ddaed1ee973761a13bac diff --git a/media-sound/qmmp/files/qmmp-0.3.2-kio-file-path-fix.patch b/media-sound/qmmp/files/qmmp-0.3.2-kio-file-path-fix.patch new file mode 100644 index 000000000000..cc0c5a99e679 --- /dev/null +++ b/media-sound/qmmp/files/qmmp-0.3.2-kio-file-path-fix.patch @@ -0,0 +1,19 @@ +--- src/qmmpui/filedialog.cpp_BACKUP 2010-01-17 20:05:16.000000000 +0100 ++++ src/qmmpui/filedialog.cpp 2010-01-17 20:06:14.000000000 +0100 +@@ -184,13 +184,13 @@ + QStringList paths; + paths << "/usr/lib/kde4/kio_file.so"; + paths << "/usr/lib64/kde4/kio_file.so"; +- paths << "/usr/local/kde4/lib/kde4/kio_file.so"; +- foreach(QString path, paths) ++ foreach(const QString &path, paths) + { + if(QFile::exists(path)) + { +- QLibrary *l = new QLibrary("/usr/lib/kde4/kio_file.so", qApp); ++ QLibrary *l = new QLibrary(path, qApp); + l->load(); ++ break; + } + } + #endif diff --git a/media-sound/qmmp/qmmp-0.3.2-r1.ebuild b/media-sound/qmmp/qmmp-0.3.2-r1.ebuild new file mode 100644 index 000000000000..ee71119bff39 --- /dev/null +++ b/media-sound/qmmp/qmmp-0.3.2-r1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/qmmp/qmmp-0.3.2-r1.ebuild,v 1.1 2010/01/18 17:19:38 hwoarang Exp $ + +EAPI="2" + +inherit cmake-utils +[ "$PV" == "9999" ] && inherit subversion + +DESCRIPTION="Qt4-based audio player with winamp/xmms skins support" +HOMEPAGE="http://qmmp.ylsoftware.com/index_en.php" +if [ "$PV" != "9999" ]; then + SRC_URI="http://qmmp.ylsoftware.com/files/${P}.tar.bz2" + KEYWORDS="~amd64 ~x86" +else + SRC_URI="" + ESVN_REPO_URI="http://qmmp.googlecode.com/svn/trunk/qmmp/" + KEYWORDS="amd64 x86" +fi + +LICENSE="GPL-2" +SLOT="0" +# KEYWORDS further up +IUSE="aac +alsa +dbus bs2b ffmpeg flac jack libsamplerate +mad modplug musepack oss projectm pulseaudio scrobbler sndfile +vorbis wavpack" + +RDEPEND="x11-libs/qt-gui:4 + media-libs/taglib + alsa? ( media-libs/alsa-lib ) + bs2b? ( media-libs/libbs2b ) + dbus? ( sys-apps/dbus ) + aac? ( media-libs/faad2 ) + flac? ( media-libs/flac ) + libsamplerate? ( media-libs/libsamplerate ) + mad? ( media-libs/libmad ) + musepack? ( >=media-sound/musepack-tools-444 ) + modplug? ( >=media-libs/libmodplug-0.8.4 ) + vorbis? ( media-libs/libvorbis + media-libs/libogg ) + jack? ( media-sound/jack-audio-connection-kit + media-libs/libsamplerate ) + ffmpeg? ( media-video/ffmpeg ) + projectm? ( >=media-libs/libprojectm-2.0.1 ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.9 ) + wavpack? ( media-sound/wavpack ) + scrobbler? ( net-misc/curl ) + sndfile? ( media-libs/libsndfile )" +DEPEND="${RDEPEND}" + +DOCS="AUTHORS ChangeLog README" + +CMAKE_IN_SOURCE_BUILD="1" + +PATCHES=( + "${FILESDIR}"/${P}-kio-file-path-fix.patch +) + +qmmp_use_enable() { + # uses completely non standard cmake options... + if use ${1}; then + echo "-DUSE_${2}:BOOL=TRUE" + else + echo "-DUSE_${2}:BOOL=FALSE" + fi +} + +src_configure() { + mycmakeargs="${mycmakeargs} + $(qmmp_use_enable alsa ALSA) + $(qmmp_use_enable aac AAC) + $(qmmp_use_enable bs2b BS2B) + $(qmmp_use_enable dbus DBUS) + $(qmmp_use_enable ffmpeg FFMPEG) + $(qmmp_use_enable flac FLAC) + $(qmmp_use_enable jack JACK) + $(qmmp_use_enable mad MAD) + $(qmmp_use_enable modplug MODPLUG) + $(qmmp_use_enable musepack MPC) + $(qmmp_use_enable oss OSS) + $(qmmp_use_enable projectm PROJECTM) + $(qmmp_use_enable pulseaudio PULSE) + $(qmmp_use_enable scrobbler SCROBBLER) + $(qmmp_use_enable sndfile SNDFILE) + $(qmmp_use_enable libsamplerate SRC) + $(qmmp_use_enable vorbis VORBIS) + $(qmmp_use_enable wavpack WAVPACK)" + + cmake-utils_src_configure +} |