summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kalika <max@gentoo.org>2004-02-06 16:40:04 +0000
committerMax Kalika <max@gentoo.org>2004-02-06 16:40:04 +0000
commit784881b73a73d697bd04f46da99ef0094af365c9 (patch)
treefb0ccfabd4e02b39dd14b6cfad6ea5851c073fb7 /media-plugins/mythbrowser
parentadd ~alpha (Manifest recommit) (diff)
downloadgentoo-2-784881b73a73d697bd04f46da99ef0094af365c9.tar.gz
gentoo-2-784881b73a73d697bd04f46da99ef0094af365c9.tar.bz2
gentoo-2-784881b73a73d697bd04f46da99ef0094af365c9.zip
Initial import.
Diffstat (limited to 'media-plugins/mythbrowser')
-rw-r--r--media-plugins/mythbrowser/ChangeLog10
-rw-r--r--media-plugins/mythbrowser/files/digest-mythbrowser-0.141
-rw-r--r--media-plugins/mythbrowser/metadata.xml5
-rw-r--r--media-plugins/mythbrowser/mythbrowser-0.14.ebuild43
4 files changed, 59 insertions, 0 deletions
diff --git a/media-plugins/mythbrowser/ChangeLog b/media-plugins/mythbrowser/ChangeLog
new file mode 100644
index 000000000000..a6d482c7906f
--- /dev/null
+++ b/media-plugins/mythbrowser/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-plugins/mythbrowser
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythbrowser/ChangeLog,v 1.1 2004/02/06 16:40:04 max Exp $
+
+*mythbrowser-0.14 (06 Feb 2004)
+
+ 06 Feb 2004; Max Kalika <max@gentoo.org> metadata.xml,
+ mythbrowser-0.14.ebuild:
+ Initial import.
+
diff --git a/media-plugins/mythbrowser/files/digest-mythbrowser-0.14 b/media-plugins/mythbrowser/files/digest-mythbrowser-0.14
new file mode 100644
index 000000000000..e52867dabebc
--- /dev/null
+++ b/media-plugins/mythbrowser/files/digest-mythbrowser-0.14
@@ -0,0 +1 @@
+MD5 2bce7f2fc1becb6d0a0dc5441fefea86 mythbrowser-0.14.tar.bz2 24268
diff --git a/media-plugins/mythbrowser/metadata.xml b/media-plugins/mythbrowser/metadata.xml
new file mode 100644
index 000000000000..a6b9e38a1b93
--- /dev/null
+++ b/media-plugins/mythbrowser/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-tv</herd>
+</pkgmetadata>
diff --git a/media-plugins/mythbrowser/mythbrowser-0.14.ebuild b/media-plugins/mythbrowser/mythbrowser-0.14.ebuild
new file mode 100644
index 000000000000..1aa9b7679307
--- /dev/null
+++ b/media-plugins/mythbrowser/mythbrowser-0.14.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythbrowser/mythbrowser-0.14.ebuild,v 1.1 2004/02/06 16:40:04 max Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="Web browser module for MythTV."
+HOMEPAGE="http://www.mythtv.org/"
+SRC_URI="http://www.mythtv.org/mc/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=sys-apps/sed-4
+ >=kde-base/kdelibs-3.1
+ || ( >=media-tv/mythtv-${PV} >=media-tv/mythfrontend-${PV} )"
+
+src_unpack() {
+ unpack ${A} && cd "${S}"
+
+ for i in `grep -lr "usr/local" "${S}"` ; do
+ sed -e "s:/usr/local:/usr:g" -i "${i}" || die "sed failed"
+ done
+}
+
+src_compile() {
+ local cpu="`get-flag march || get-flag mcpu`"
+ if [ ! -z "${cpu}" ] ; then
+ sed -e "s:pentiumpro:${cpu}:g" -i "settings.pro" || die "sed failed"
+ fi
+
+ echo "INCLUDEPATH += ${KDEDIR}/include" >> settings.pro
+ echo "EXTRA_LIBS += -L${KDEDIR}/lib" >> settings.pro
+
+ qmake -o "Makefile" "${PN}.pro"
+ emake || die "compile problem"
+}
+
+src_install() {
+ einstall INSTALL_ROOT="${D}"
+ dodoc AUTHORS COPYING README ChangeLog
+}