summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2012-07-12 11:29:15 +0000
committerBen de Groot <yngwin@gentoo.org>2012-07-12 11:29:15 +0000
commit5aaf8300aff397c2d74cfcf05c7cb1fe0bf8ec0c (patch)
tree0c1bf64a944df7512e8a4e8104173fa097757b42 /media-sound/bempc
parentStable for amd64, wrt bug #406039 (diff)
downloadgentoo-2-5aaf8300aff397c2d74cfcf05c7cb1fe0bf8ec0c.tar.gz
gentoo-2-5aaf8300aff397c2d74cfcf05c7cb1fe0bf8ec0c.tar.bz2
gentoo-2-5aaf8300aff397c2d74cfcf05c7cb1fe0bf8ec0c.zip
Initial commit. Ebuild by Franz Fellner and Sergey Popov in bug #425212. The latter stepped up to maintain this package by proxy. Adding qt herd as fallback.
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/bempc')
-rw-r--r--media-sound/bempc/ChangeLog11
-rw-r--r--media-sound/bempc/Manifest3
-rw-r--r--media-sound/bempc/bempc-0.11.ebuild44
-rw-r--r--media-sound/bempc/metadata.xml9
4 files changed, 67 insertions, 0 deletions
diff --git a/media-sound/bempc/ChangeLog b/media-sound/bempc/ChangeLog
new file mode 100644
index 000000000000..a116fdbe0309
--- /dev/null
+++ b/media-sound/bempc/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-sound/bempc
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/bempc/ChangeLog,v 1.1 2012/07/12 11:29:15 yngwin Exp $
+
+*bempc-0.11 (12 Jul 2012)
+
+ 12 Jul 2012; Ben de Groot <yngwin@gentoo.org> +bempc-0.11.ebuild,
+ +metadata.xml:
+ Initial commit. Ebuild by Franz Fellner and Sergey Popov in bug #425212. The
+ latter stepped up to maintain this package by proxy. Adding qt herd as
+ fallback.
diff --git a/media-sound/bempc/Manifest b/media-sound/bempc/Manifest
new file mode 100644
index 000000000000..3fa1e4dab9b1
--- /dev/null
+++ b/media-sound/bempc/Manifest
@@ -0,0 +1,3 @@
+DIST bempc-0.11.tar.xz 182588 SHA256 62ce13e82c42b891d2e49ff691f2c7c60b8d62809ea44f729af5e1685a108703 SHA512 ec1cd82d7b93b45c16ff54e6e14f0625af0042b863c65f72e06eeaf67933384fd527f6db15725363fc02ca1ce9a6855fbf215da2bef2e8c52e8fec70d742de5c WHIRLPOOL 1e72200c28928aee34a3458a45012990ca22619024c8adf700b6a789e188b6a6ab7526a317945dde7a5ce567240b1a9154364a2a2d2eb0d5c75538d56e72a113
+EBUILD bempc-0.11.ebuild 1146 SHA256 5190489343c1267972546d98535f5aa781361373852f8a3b837c41455fc529f6 SHA512 cb729c34f95640699f80b973f29fad584e7def716a8f7375f408d35fe6d53ab204c26dfc85b38475dd42efb2588155cb699eaf084779dfab0ef375d8343166ec WHIRLPOOL 1c1f251833305fedea6ae54445b6d5136922b49b392714dcb23d6eb5a946505b81e08f20a9beced4be2769d0f418cb20a266a326170982f5bf0517542455a930
+MISC metadata.xml 255 SHA256 33a28e6e145d8f0ebc1019c3c78dfa08ed30a81145322e0080788118bebc564e SHA512 534c3a65e9bdf070af689a8a60649715d329713646f6551e604f61d40dc2927737c2ce3119b16fcd8d6874ca2d30124f9f7c80a81be8fc5f910c0f04b3f62e19 WHIRLPOOL 5f5c1e8281420c832932f6400bc81a56355fc0df13ec7eab93c774fd0450c949b90393c4985af91b3469b209432310da1dccdf1233be0d7467524f0cfde7fed2
diff --git a/media-sound/bempc/bempc-0.11.ebuild b/media-sound/bempc/bempc-0.11.ebuild
new file mode 100644
index 000000000000..a1ef8049403f
--- /dev/null
+++ b/media-sound/bempc/bempc-0.11.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/bempc/bempc-0.11.ebuild,v 1.1 2012/07/12 11:29:15 yngwin Exp $
+
+EAPI=4
+LANGS="cs de"
+inherit qt4-r2 fdo-mime
+
+DESCRIPTION="Qt4 MPD client with experimental UI"
+HOMEPAGE="http://qt-apps.org/content/show.php?content=137091"
+SRC_URI="http://qt-apps.org/CONTENT/content-files/137091-${P}.txz -> ${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libmpdclient
+ >=x11-libs/qt-core-4.6:4
+ >=x11-libs/qt-gui-4.6:4"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ local INSTALLED_LANGS= LANG=
+
+ # Install on live fs should be done by portage itself
+ sed -ie 's/postinstall/#postinstall/g' be.mpc.pro
+
+ # Install only chosen locales
+ for LANG in ${LINGUAS}; do
+ if has ${LANG} ${LANGS}; then
+ INSTALLED_LANGS="${INSTALLED_LANGS} be.mpc_${LANG}.qm"
+ fi
+ done
+ sed -ie "s/i18n.files += be.mpc_cs.qm be.mpc_de.qm/i18n.files += ${INSTALLED_LANGS}/" be.mpc.pro
+
+ # Fix invalid desktop file
+ sed -ie 's/Categories=Application;Qt;Audio;/Categories=Qt;AudioVideo;Audio;/' be.mpc.desktop
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/media-sound/bempc/metadata.xml b/media-sound/bempc/metadata.xml
new file mode 100644
index 000000000000..7ed0b7eef1c9
--- /dev/null
+++ b/media-sound/bempc/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>admin@pinkbyte.ru</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <herd>qt</herd>
+</pkgmetadata>