diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2006-01-04 02:29:46 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2006-01-04 02:29:46 +0000 |
commit | 8ceaf71f274faa41504fddbfbefa768ff465473f (patch) | |
tree | 39a5f3ff4de368d30c83f682f4f70dabead48e2c /media-plugins/vdr-mp3ng | |
parent | arm love (diff) | |
download | gentoo-2-8ceaf71f274faa41504fddbfbefa768ff465473f.tar.gz gentoo-2-8ceaf71f274faa41504fddbfbefa768ff465473f.tar.bz2 gentoo-2-8ceaf71f274faa41504fddbfbefa768ff465473f.zip |
initial ebuild, written by myself
(Portage version: 2.0.53)
Diffstat (limited to 'media-plugins/vdr-mp3ng')
-rw-r--r-- | media-plugins/vdr-mp3ng/ChangeLog | 11 | ||||
-rw-r--r-- | media-plugins/vdr-mp3ng/Manifest | 7 | ||||
-rw-r--r-- | media-plugins/vdr-mp3ng/files/confd | 32 | ||||
-rw-r--r-- | media-plugins/vdr-mp3ng/files/digest-vdr-mp3ng-0.9.13_pre3 | 2 | ||||
-rw-r--r-- | media-plugins/vdr-mp3ng/files/mp3ngsources | 3 | ||||
-rw-r--r-- | media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.9.13_pre3-gentoo.diff | 31 | ||||
-rw-r--r-- | media-plugins/vdr-mp3ng/metadata.xml | 14 | ||||
-rw-r--r-- | media-plugins/vdr-mp3ng/vdr-mp3ng-0.9.13_pre3.ebuild | 53 |
8 files changed, 153 insertions, 0 deletions
diff --git a/media-plugins/vdr-mp3ng/ChangeLog b/media-plugins/vdr-mp3ng/ChangeLog new file mode 100644 index 000000000000..c31506e6286f --- /dev/null +++ b/media-plugins/vdr-mp3ng/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-plugins/vdr-mp3ng +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mp3ng/ChangeLog,v 1.1 2006/01/04 02:29:46 hd_brummy Exp $ + +*vdr-mp3ng-0.9.13_pre3 (04 Jan 2006) + + 04 Jan 2006; Joerg Bornkessel <hd_brummy@gentoo.org> + +files/vdr-mp3ng-0.9.13_pre3-gentoo.diff, +files/confd, + +files/mp3ngsources, +metadata.xml, +vdr-mp3ng-0.9.13_pre3.ebuild: + initial ebuild, written by myself + diff --git a/media-plugins/vdr-mp3ng/Manifest b/media-plugins/vdr-mp3ng/Manifest new file mode 100644 index 000000000000..6fa1dc18a15c --- /dev/null +++ b/media-plugins/vdr-mp3ng/Manifest @@ -0,0 +1,7 @@ +MD5 bc4557e9807204db251fc3ab095980ee ChangeLog 381 +MD5 3ce6e8a1fc5ab9055013bc60ea7f3efd files/confd 1671 +MD5 a9eb9beb21097a63ccc0b0adccb47115 files/digest-vdr-mp3ng-0.9.13_pre3 154 +MD5 64850f83317e8aab4bfa1e9f88eddeeb files/mp3ngsources 251 +MD5 c2e80e832f8316d741e9a0f9fab97c4f files/vdr-mp3ng-0.9.13_pre3-gentoo.diff 1313 +MD5 6a8a6784a889090822eb1f33ae8552d0 metadata.xml 479 +MD5 882a7bdb7f6f055177656d39fdebb405 vdr-mp3ng-0.9.13_pre3.ebuild 1399 diff --git a/media-plugins/vdr-mp3ng/files/confd b/media-plugins/vdr-mp3ng/files/confd new file mode 100644 index 000000000000..98a3254c5955 --- /dev/null +++ b/media-plugins/vdr-mp3ng/files/confd @@ -0,0 +1,32 @@ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mp3ng/files/confd,v 1.1 2006/01/04 02:29:46 hd_brummy Exp $ + +# Global config file for vdr rc-scripts + +# The default mount script is "mount.sh". This script is called from the +# plugin with 2 options on commandline. The first is +# one of mount/unmount/eject/status and gives the action to perform. The +# second one is the base directory as defined in "mp3ngsources". +# The script must return the exit code 0 if the action was +# successfull and 1 if the action failed (see the comments in the example +# "mount.sh" script which comes with the archive). +#MOUNT="/usr/bin/mount-mp3ng.sh" + +# If you are using cdfs, the MP3 plugin is able to query a CDDB database for +# the song information (like title, artist). Local CDDB lookups can be enable +# from the setup menu and you must give the path to your local CDDB files. +# The database layout follows the xmcd standard +# (one subdirectory level for the categories, individual files for every disc). +# The settings for remote CDDB lookups can be found in the setup menu, too. +# Any information retrieved from a remote host is stored to your local CDDB +# database, so the user running VDR needs write access to this directory. +#CDDB="/var/cddb" + +# If you are using any of the networking capabilities and you have a dial-up +# network you can use this script. +# This script is called before and after any network access and receives one +# option on commandline. This can either be "up" or "down", depending on if it's +# before or after the network access. In the "up" case the script should not +# return before the network is connected and useable. By default the plugin +# assumes that network access can be done at any time without prior action. +#NETWORK="/usr/bin/network.sh" + diff --git a/media-plugins/vdr-mp3ng/files/digest-vdr-mp3ng-0.9.13_pre3 b/media-plugins/vdr-mp3ng/files/digest-vdr-mp3ng-0.9.13_pre3 new file mode 100644 index 000000000000..fd4510a3a6a4 --- /dev/null +++ b/media-plugins/vdr-mp3ng/files/digest-vdr-mp3ng-0.9.13_pre3 @@ -0,0 +1,2 @@ +MD5 266dd352da9b01c8d2c325f399076dfc vdr-mp3ng-0.9.13-MKIV-pre3.tar.gz 128289 +MD5 9d9eaba46085c01075fcff5e97bf46b0 vdr-mp3ng-pictures-0.0.1.tar.gz 170089 diff --git a/media-plugins/vdr-mp3ng/files/mp3ngsources b/media-plugins/vdr-mp3ng/files/mp3ngsources new file mode 100644 index 000000000000..b33a71701cee --- /dev/null +++ b/media-plugins/vdr-mp3ng/files/mp3ngsources @@ -0,0 +1,3 @@ +/VDR/data/local_music;Lokale Musik;0;*.mp3/*.ogg/*.wav/*.MP3/*.OGG/*.WAV/*.m3u/*.M3U/*.pls/*.PLS +/mnt/cdrom;CD-Rom;1;*.mp3/*.wav/*.MP3/*.WAV/*.m3u/*.M3U/*.pls/*.PLS +/mnt/usbstick;USB-Stick;1;*.mp3/*.ogg/*.wav/*.MP3/*.OGG/*.WAV/*.m3u/*.M3U/*.pls/*.PLS diff --git a/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.9.13_pre3-gentoo.diff b/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.9.13_pre3-gentoo.diff new file mode 100644 index 000000000000..be3b3442ef04 --- /dev/null +++ b/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.9.13_pre3-gentoo.diff @@ -0,0 +1,31 @@ +--- mp3ng.c 2005-11-21 12:54:36.000000000 +0100 ++++ mp3ng-gentoo.c 2005-12-20 10:29:24.070051500 +0100 +@@ -1775,10 +1775,10 @@ + { + if(!CheckVDRVersion(1,1,29,"mp3ng")) return false; + i18n_name=Name(); +- MP3Sources.Load(AddDirectory(ConfigDirectory(),"mp3sources.conf")); ++ MP3Sources.Load(AddDirectory(ConfigDirectory(),"mp3ng/mp3ngsources")); + if(MP3Sources.Count()<1) { +- esyslog("ERROR: you should have defined at least one source in mp3sources.conf"); +- fprintf(stderr,"No source(s) defined in mp3sources.conf\n"); ++ esyslog("ERROR: you should have defined at least one source in mp3ngsources"); ++ fprintf(stderr,"No source(s) defined in mp3ngsources\n"); + return false; + } + InfoCache.Load(); + +--- player-mp3.c 2005-11-15 23:15:41.000000000 +0100 ++++ player-mp3-gentoo.c 2006-01-04 01:39:21.178251500 +0100 +@@ -2073,9 +2073,9 @@ + + if (!strlen (coverpicture)) { + if (!isStream) +- strcpy(coverpicture, "/var/cache/images/mp3MKIV-defaultcover.jpg"); ++ strcpy(coverpicture, "/usr/share/vdr/mp3ng/mp3MKIV-defaultcover.jpg"); + else +- strcpy(coverpicture, "/var/cache/images/mp3MKIV-streamcover.jpg"); ++ strcpy(coverpicture, "/usr/share/vdr/mp3ng/mp3MKIV-streamcover.jpg"); + } + + // printf("DEBUG 101b: cover = %s\n", imageFile); diff --git a/media-plugins/vdr-mp3ng/metadata.xml b/media-plugins/vdr-mp3ng/metadata.xml new file mode 100644 index 000000000000..753ace09c8b9 --- /dev/null +++ b/media-plugins/vdr-mp3ng/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-tv</herd> +<maintainer> + <email>hd_brummy@gentoo.org</email> + <description> + Please contacts maintainer before you something change. + </description> +</maintainer> + <longdescription>VDR Plugin to play audio files, supports mp3, wav and ogg audio format. + You can provide and edit your own playlists. + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-mp3ng/vdr-mp3ng-0.9.13_pre3.ebuild b/media-plugins/vdr-mp3ng/vdr-mp3ng-0.9.13_pre3.ebuild new file mode 100644 index 000000000000..1d978f60955b --- /dev/null +++ b/media-plugins/vdr-mp3ng/vdr-mp3ng-0.9.13_pre3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mp3ng/vdr-mp3ng-0.9.13_pre3.ebuild,v 1.1 2006/01/04 02:29:46 hd_brummy Exp $ + +inherit vdr-plugin + +MY_P=${P/_pre3}-MKIV-pre3 + +S=${WORKDIR}/mp3ng-0.9.13-MKIV-pre3 + +DESCRIPTION="Plugin to play mp3 and ogg on VDR" +HOMEPAGE="http://www.glaserei-franz.de/VDR/Moronimo2/vdrplugins.htm" +SRC_URI="http://www.glaserei-franz.de/VDR/Moronimo2/downloads/${MY_P}.tar.gz + mirror://gentoo/${PN}-pictures-0.0.1.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="vorbis oss imagemagick" + +DEPEND=">=media-video/vdr-1.2.6 + media-libs/libmad + media-libs/libid3tag + sys-libs/zlib + media-libs/libsndfile + vorbis? ( media-libs/libvorbis ) + imagemagick? ( media-gfx/imagemagick ) + !imagemagick? ( media-libs/imlib2 )" + +src_unpack() { +vdr-plugin_src_unpack + + epatch ${FILESDIR}/${P}-gentoo.diff + + use !vorbis && sed -i "s:#WITHOUT_LIBVORBISFILE:WITHOUT_LIBVORBISFILE:" Makefile + use oss && sed -i "s:#WITH_OSS_OUTPUT:WITH_OSS_OUTPUT:" Makefile + use imagemagick && sed -i Makefile -e "s:HAVE_IMLIB2:#HAVE_IMLIB2:" \ + -e "s:#HAVE_MAGICK:HAVE_MAGICK:" +} + +src_install() { +vdr-plugin_src_install + + insinto /etc/vdr/plugins/mp3ng + doins ${FILESDIR}/mp3ngsources + + insinto /usr/share/vdr/mp3ng + doins ${WORKDIR}/${PN}-pictures-0.0.1/*.jpg + + newbin examples/mount.sh.example mount-mp3ng.sh + + dodoc HISTORY MANUAL README README-MORONIMO examples/network.sh.example +} |