summaryrefslogtreecommitdiff
path: root/net-misc/mediatomb
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-04-30 23:36:59 +0000
committerrandomdan <randomdan@localhost>2010-04-30 23:36:59 +0000
commitf8f89a56ac9356ef9dc0711d84f454da5b72ddc7 (patch)
treefc0e250992a020ee801862cc80a04404a9c527a1 /net-misc/mediatomb
parentNew slony1 (diff)
downloadportage-f8f89a56ac9356ef9dc0711d84f454da5b72ddc7.tar.bz2
portage-f8f89a56ac9356ef9dc0711d84f454da5b72ddc7.tar.xz
portage-f8f89a56ac9356ef9dc0711d84f454da5b72ddc7.zip
Remove old stuff
Diffstat (limited to 'net-misc/mediatomb')
-rw-r--r--net-misc/mediatomb/Manifest1
-rw-r--r--net-misc/mediatomb/mediatomb-0.11.9999.ebuild140
2 files changed, 0 insertions, 141 deletions
diff --git a/net-misc/mediatomb/Manifest b/net-misc/mediatomb/Manifest
deleted file mode 100644
index b4e4055..0000000
--- a/net-misc/mediatomb/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-EBUILD mediatomb-0.11.9999.ebuild 3655 RMD160 b50defa7af4977f13160ccc646392698d2d4391a SHA1 0d546b82d0c6f7066b85c42d2987520fee4fad04 SHA256 f1b07414d7b95a3a2aae7cb559466c01ae65600ddfa008ded0dbbb3ff73d9008
diff --git a/net-misc/mediatomb/mediatomb-0.11.9999.ebuild b/net-misc/mediatomb/mediatomb-0.11.9999.ebuild
deleted file mode 100644
index 3f08723..0000000
--- a/net-misc/mediatomb/mediatomb-0.11.9999.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvs/lportage/net-misc/mediatomb/mediatomb-0.11.9999.ebuild,v 1.1 2010-02-22 22:43:20 randomdan Exp $
-
-EAPI=2
-
-WANT_AUTOCONF=latest
-WANT_AUTOMAKE=latest
-
-inherit eutils linux-mod autotools subversion
-
-ESVN_REPO_URI="http://svn.mediatomb.cc/svnroot/mediatomb/trunk/mediatomb"
-
-DESCRIPTION="MediaTomb is an open source UPnP MediaServer"
-HOMEPAGE="http://www.mediatomb.cc/"
-#SRC_URI="mirror://sourceforge/mediatomb/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug +exif +ffmpeg inotify +javascript lastfm +mp4 mysql +taglib thumbnail"
-
-DEPEND="
- mysql? ( virtual/mysql )
- !mysql? ( >=dev-db/sqlite-3 )
- javascript? ( dev-lang/spidermonkey )
- dev-libs/expat
- taglib? ( media-libs/taglib )
- !taglib? ( media-libs/id3lib )
- lastfm? ( >=media-libs/lastfmlib-0.4 )
- exif? ( media-libs/libexif )
- mp4? ( media-libs/libmp4v2 )
- ffmpeg? ( media-video/ffmpeg )
- thumbnail? ( media-video/ffmpegthumbnailer[jpeg] )
- net-misc/curl
- sys-apps/file
- sys-libs/zlib
- virtual/libiconv"
-
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- if use inotify; then
- ebegin "Checking for Inotify support"
- linux-mod_pkg_setup
-
- if ! linux_chkconfig_present INOTIFY_USER; then
- eerror "Please enable Inotify support in your kernel:"
- eerror
- eerror " File systems --->"
- eerror " [*] Inotify support for userspace"
- eerror
- die "Inotify support not detetced!"
- fi
- fi
-
- enewgroup mediatomb
- enewuser mediatomb -1 -1 /dev/null mediatomb
-}
-
-src_unpack() {
- subversion_src_unpack
- cd "${S}"
- eautoreconf
-}
-
-src_configure() {
- if use thumbnail; then
- myconf="${myconf} --enable-ffmpegthumbnailer --enable-ffmpeg"
- else
- myconf="${myconf} $(use_enable thumbnail ffmpegthumbnailer) $(use_enable ffmpeg)"
- fi
-
- econf \
- --prefix=/usr \
- $(use_enable debug tombdebug) \
- $(use_enable exif libexif) \
- $(use_enable inotify) \
- $(use_enable javascript libjs) \
- $(use_enable lastfm lastfmlib) \
- $(use_enable mp4 libmp4v2) \
- $(use_enable mysql) $(use_enable !mysql sqlite3) \
- $(use_enable taglib) $(use_enable !taglib id3lib) \
- --enable-atrailers \
- --enable-curl \
- --enable-external-transcoding \
- --enable-libmagic \
- --enable-protocolinfo-extension \
- --enable-weborama \
- --enable-youtube \
- --enable-zlib \
- ${myconf} \
- || die "Configure failed!"
-}
-
-src_compile() {
- emake || die "Make failed!"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "Install failed!"
-
- dodoc AUTHORS ChangeLog NEWS README TODO
-
- sed -e "s:#MYSQL#:$(use mysql && ! built_with_use dev-db/mysql minimal && echo "mysql"):" \
- "${FILESDIR}/mediatomb.initd" \
- > "${T}/mediatomb.initd"
- newinitd "${T}/mediatomb.initd" mediatomb
- newconfd "${FILESDIR}/mediatomb.confd" mediatomb
-
- insinto /etc/mediatomb
- newins "${FILESDIR}/${P}.config" config.xml
- fperms 0600 /etc/mediatomb/config.xml
- fowners mediatomb:mediatomb /etc/mediatomb/config.xml
-
- keepdir /var/lib/mediatomb
- fowners mediatomb:mediatomb /var/lib/mediatomb
-}
-
-pkg_postinst() {
- if use mysql; then
- elog "MediaTomb has been built with MySQL support and needs"
- elog "to be configured before being started."
- elog "For more information, please consult the MediaTomb"
- elog "documentation: http://mediatomb.cc/pages/documentation"
- elog
- fi
-
- elog "To configure MediaTomb edit:"
- elog "/etc/mediatomb/config.xml"
- elog
- elog "To start MediaTomb:"
- elog "/etc/init.d/mediatomb start"
- elog
- elog "To start MediaTomb at boot:"
- elog "rc-update add mediatomb default"
- elog
- elog "The MediaTomb web interface can be reached at:"
- elog "http://localhost:49152/"
-}