summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2004-07-14 20:18:27 +0000
committerChris White <chriswhite@gentoo.org>2004-07-14 20:18:27 +0000
commit4a444326b94933d2bd4fef189d5b26c9af207d39 (patch)
tree40df6c8c127e89bc8edb662dbc6128c58e9e3d5f /media-video/helixplayer
parentsync IUSE (missing) (diff)
downloadgentoo-2-4a444326b94933d2bd4fef189d5b26c9af207d39.tar.gz
gentoo-2-4a444326b94933d2bd4fef189d5b26c9af207d39.tar.bz2
gentoo-2-4a444326b94933d2bd4fef189d5b26c9af207d39.zip
Initial helixplayer source ebuild commit. Please don't break.
Diffstat (limited to 'media-video/helixplayer')
-rw-r--r--media-video/helixplayer/ChangeLog12
-rw-r--r--media-video/helixplayer/files/50helix1
-rw-r--r--media-video/helixplayer/files/buildrc1
-rw-r--r--media-video/helixplayer/files/digest-helixplayer-1.0_beta11
-rw-r--r--media-video/helixplayer/files/gcc_versioncheck.patch11
-rw-r--r--media-video/helixplayer/files/gentoo_bif.patch218
-rw-r--r--media-video/helixplayer/files/installer-naming.patch11
-rw-r--r--media-video/helixplayer/helixplayer-1.0_beta1.ebuild127
-rw-r--r--media-video/helixplayer/metadata.xml10
9 files changed, 392 insertions, 0 deletions
diff --git a/media-video/helixplayer/ChangeLog b/media-video/helixplayer/ChangeLog
new file mode 100644
index 000000000000..b0145ea24e23
--- /dev/null
+++ b/media-video/helixplayer/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for media-video/helixplayer
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/helixplayer/ChangeLog,v 1.1 2004/07/14 20:18:27 chriswhite Exp $
+
+*helixplayer-1.0_beta1 (15 Jul 2004)
+
+ 15 Jul 2004; Chris White <chriswhite@gentoo.org> +metadata.xml,
+ +files/50helix, +files/buildrc, +files/gcc_versioncheck.patch,
+ +files/gentoo_bif.patch, +files/installer-naming.patch,
+ +helixplayer-1.0_beta1.ebuild:
+ New ebuild based on submission by Chris White
+
diff --git a/media-video/helixplayer/files/50helix b/media-video/helixplayer/files/50helix
new file mode 100644
index 000000000000..b517200f7421
--- /dev/null
+++ b/media-video/helixplayer/files/50helix
@@ -0,0 +1 @@
+PATH=/opt/HelixPlayer
diff --git a/media-video/helixplayer/files/buildrc b/media-video/helixplayer/files/buildrc
new file mode 100644
index 000000000000..7d7e4eb96a90
--- /dev/null
+++ b/media-video/helixplayer/files/buildrc
@@ -0,0 +1 @@
+SetSDKPath("oggvorbissdk", "/usr")
diff --git a/media-video/helixplayer/files/digest-helixplayer-1.0_beta1 b/media-video/helixplayer/files/digest-helixplayer-1.0_beta1
new file mode 100644
index 000000000000..80b891c86321
--- /dev/null
+++ b/media-video/helixplayer/files/digest-helixplayer-1.0_beta1
@@ -0,0 +1 @@
+MD5 e8148f6dd290752cf628d522dc6c0211 helixplayer-1.0_beta1-beta-source.tar.bz2 13273365
diff --git a/media-video/helixplayer/files/gcc_versioncheck.patch b/media-video/helixplayer/files/gcc_versioncheck.patch
new file mode 100644
index 000000000000..c965083a36cb
--- /dev/null
+++ b/media-video/helixplayer/files/gcc_versioncheck.patch
@@ -0,0 +1,11 @@
+--- player_all-bingo-beta-20040615/build/lib/sysinfo.py 2004-06-04 09:24:43.000000000 +0900
++++ player_all-bingo-beta-20040615_2/build/lib/sysinfo.py 2004-07-08 18:20:57.000000000 +0900
+@@ -818,7 +818,7 @@
+ set_platform('linux-2.0-libc6-i386')
+ return
+
+- gcc_version=os.popen("gcc -v 2>&1 | sed -n 's/^gcc version //gp'").read()
++ gcc_version=os.popen("gcc -dumpversion").read()
+ gcc_version=string.strip(gcc_version)
+
+ if gcc_version[0] == "3":
diff --git a/media-video/helixplayer/files/gentoo_bif.patch b/media-video/helixplayer/files/gentoo_bif.patch
new file mode 100644
index 000000000000..e7d16a5a9ea8
--- /dev/null
+++ b/media-video/helixplayer/files/gentoo_bif.patch
@@ -0,0 +1,218 @@
+--- player_all-bingo-beta-20040615/build/build/BIF/build.bif 2004-06-16 03:43:15.000000000 +0900
++++ player_all-bingo-beta-20040615_2/build/build/BIF/build.bif 2004-07-09 09:29:50.369449208 +0900
+@@ -13,21 +13,21 @@
+ <cvstag id="bingo-beta" type="branch"/>
+
+ <sdk name="faad2_include" path="c:/faad2/include">
+- NOTE: This module needs the faad2 library in order
+- to build. See datatype/aac/codec/readme.txt for more
+- information on the faad2 library. Developers may
+- put the faad2 library anywhere they wish on their disk,
+- but in order to link in this library, developers should
+- have the following two lines in their .buildrc file:
+- SetSDKPath("faad2_include", "/path/to/faad2/includedir")
+- SetSDKPath("faad2_lib", "/path/to/faad2library")
+- The "/path/to/faad2/includedir" should be changed to
+- the path to the faad2 library's include directory.
+- The "/path/to/faad2library" should be changed to the
+- file name with full path to the faad2 library binary.
+- Note that these paths will be platform-specific.
+- See BUILD_ROOT/build/doc/buildrc.html for more
+- information about .buildrc files and SetSDKPath().
++ NOTE: This module needs the faad2 library in order
++ to build. See datatype/aac/codec/readme.txt for more
++ information on the faad2 library. Developers may
++ put the faad2 library anywhere they wish on their disk,
++ but in order to link in this library, developers should
++ have the following two lines in their .buildrc file:
++ SetSDKPath("faad2_include", "/path/to/faad2/includedir")
++ SetSDKPath("faad2_lib", "/path/to/faad2library")
++ The "/path/to/faad2/includedir" should be changed to
++ the path to the faad2 library's include directory.
++ The "/path/to/faad2library" should be changed to the
++ file name with full path to the faad2 library binary.
++ Note that these paths will be platform-specific.
++ See BUILD_ROOT/build/doc/buildrc.html for more
++ information about .buildrc files and SetSDKPath().
+ </sdk>
+ <sdk name="faad2_lib" path="c:/faad2/faad2.lib"/>
+
+@@ -4933,13 +4933,13 @@
+ <cvstag id="bingo-beta" type="branch"/>
+
+ <sdk name="dxsdk" path="c:/dxsdk">
+- NOTE: This module needs the DirectX SDK in order
+- to build. Developers may put the SDK anywhere they wish on
+- their disk. But to inform the build system of its location,
+- developers should have the following line in their .buildrc file:
+- SetSDKPath("dxsdk", "/path/to/DirectXSDK")
+- See BUILD_ROOT/build/doc/buildrc.html for more
+- information about .buildrc files and SetSDKPath().
++ NOTE: This module needs the DirectX SDK in order
++ to build. Developers may put the SDK anywhere they wish on
++ their disk. But to inform the build system of its location,
++ developers should have the following line in their .buildrc file:
++ SetSDKPath("dxsdk", "/path/to/DirectXSDK")
++ See BUILD_ROOT/build/doc/buildrc.html for more
++ information about .buildrc files and SetSDKPath().
+ </sdk>
+
+ <attribute id="no_build"/>
+@@ -5071,13 +5071,13 @@
+ <cvstag id="bingo-beta" type="branch"/>
+
+ <sdk name="gapi" path="c:\gapi">
+- NOTE: This module needs the GAPI (Game API) SDK in order
+- to build. Developers may put the SDK anywhere they wish on
+- their disk. But to inform the build system of its location,
+- developers should have the following line in their .buildrc file:
+- SetSDKPath("gapi", "/path/to/GAPISDK")
+- See BUILD_ROOT/build/doc/buildrc.html for more
+- information about .buildrc files and SetSDKPath().
++ NOTE: This module needs the GAPI (Game API) SDK in order
++ to build. Developers may put the SDK anywhere they wish on
++ their disk. But to inform the build system of its location,
++ developers should have the following line in their .buildrc file:
++ SetSDKPath("gapi", "/path/to/GAPISDK")
++ See BUILD_ROOT/build/doc/buildrc.html for more
++ information about .buildrc files and SetSDKPath().
+ </sdk>
+
+ <attribute id="no_build"/>
+@@ -5094,13 +5094,13 @@
+ <cvstag id="bingo-beta" type="branch"/>
+
+ <sdk name="gtk2sdk" path="c:/Dev-C++">
+- NOTE: This module needs the Dropline Gtk+ Windows SDK in order
+- to build. Developers may put the SDK anywhere they wish on
+- their disk. But to inform the build system of its location,
+- developers should have the following line in their .buildrc file:
+- SetSDKPath("gtk2sdk", "/path/to/gtk2sdk")
+- See BUILD_ROOT/build/doc/buildrc.html for more
+- information about .buildrc files and SetSDKPath().
++ NOTE: This module needs the Dropline Gtk+ Windows SDK in order
++ to build. Developers may put the SDK anywhere they wish on
++ their disk. But to inform the build system of its location,
++ developers should have the following line in their .buildrc file:
++ SetSDKPath("gtk2sdk", "/path/to/gtk2sdk")
++ See BUILD_ROOT/build/doc/buildrc.html for more
++ information about .buildrc files and SetSDKPath().
+ </sdk>
+
+ <attribute id="no_build"/>
+@@ -5207,14 +5207,14 @@
+ <cvstag id="bingo-beta" type="branch"/>
+
+ <sdk name="mspsdk_81">
+- NOTE: This module needs the MS 8.1 SDK
+- to build. Developers may put the SDK anywhere they wish on
+- their disk. But to inform the build system of its location,
+- developers should have the following line in their .buildrc file:
+- SetSDKPath("mspsdk_81_include", "/path/to/ms_81_sdk/include")
+- SetSDKPath("mspsdk_81_lib", "/path/to/ms_81_sdk/lib")
+- See BUILD_ROOT/build/doc/buildrc.html for more
+- information about .buildrc files and SetSDKPath().
++ NOTE: This module needs the MS 8.1 SDK
++ to build. Developers may put the SDK anywhere they wish on
++ their disk. But to inform the build system of its location,
++ developers should have the following line in their .buildrc file:
++ SetSDKPath("mspsdk_81_include", "/path/to/ms_81_sdk/include")
++ SetSDKPath("mspsdk_81_lib", "/path/to/ms_81_sdk/lib")
++ See BUILD_ROOT/build/doc/buildrc.html for more
++ information about .buildrc files and SetSDKPath().
+ </sdk>
+
+ <attribute id="no_build"/>
+@@ -5243,13 +5243,13 @@
+ <cvstag id="bingo-beta" type="branch"/>
+
+ <sdk name="oggvorbissdk" path="c:/oggvorbissdk">
+- NOTE: This module needs the Ogg-Vorbis SDK in order
+- to build. Developers may put the SDK anywhere they wish on
+- their disk. But to inform the build system of its location,
+- developers should have the following line in their .buildrc file:
+- SetSDKPath("oggvorbissdk", "/path/to/oggvorbisSDK")
+- See BUILD_ROOT/build/doc/buildrc.html for more
+- information about .buildrc files and SetSDKPath().
++ NOTE: This module needs the Ogg-Vorbis SDK in order
++ to build. Developers may put the SDK anywhere they wish on
++ their disk. But to inform the build system of its location,
++ developers should have the following line in their .buildrc file:
++ SetSDKPath("oggvorbissdk", "/path/to/oggvorbisSDK")
++ See BUILD_ROOT/build/doc/buildrc.html for more
++ information about .buildrc files and SetSDKPath().
+ </sdk>
+
+ <attribute id="no_build"/>
+@@ -5370,6 +5370,27 @@
+ player_widget
+ </dependlist>
+ </module>
++
++ <!-- PLAYER_GENTOO -->
++ <module id="player_gentoo" name="player/app/gtk" group="player">
++ <cvs root="helix"/>
++ <cvstag id="bingo-beta" type="branch"/>
++
++ <attribute id="has_version_file"/>
++
++ <includeplatforms>
++ unix win32
++ </includeplatforms>
++
++ <dependlist>
++ player_mime_util player_widget common_runtime common_system common_container
++ common_dbgtool common_util common_unittest
++ player_installer_postinst player_installer_archive player_installer_stage1
++ </dependlist>
++ <source_dependlist>
++ player_mime_include player_widget filesystem_http
++ </source_dependlist>
++ </module>
+
+ <!-- PLAYER_GTK -->
+ <module id="player_gtk" name="player/app/gtk" group="player">
+@@ -7588,14 +7609,14 @@
+ <cvstag id="bingo-beta" type="branch"/>
+
+ <sdk name="qt5sdk">
+- NOTE: This module needs the QuickTime 5 SDK in order
+- to build. Developers may put the SDK anywhere they wish on
+- their disk. But to inform the build system of its location,
+- developers should have the following line in their .buildrc file:
+- SetSDKPath("qt5sdk_include", "/path/to/QuickTime5SDK/CIncludes")
+- SetSDKPath("qt5sdk_lib", "/path/to/QuickTime5SDK/Libraries")
+- See BUILD_ROOT/build/doc/buildrc.html for more
+- information about .buildrc files and SetSDKPath().
++ NOTE: This module needs the QuickTime 5 SDK in order
++ to build. Developers may put the SDK anywhere they wish on
++ their disk. But to inform the build system of its location,
++ developers should have the following line in their .buildrc file:
++ SetSDKPath("qt5sdk_include", "/path/to/QuickTime5SDK/CIncludes")
++ SetSDKPath("qt5sdk_lib", "/path/to/QuickTime5SDK/Libraries")
++ See BUILD_ROOT/build/doc/buildrc.html for more
++ information about .buildrc files and SetSDKPath().
+ </sdk>
+
+ <attribute id="no_build"/>
+@@ -9558,13 +9579,13 @@
+ <cvstag id="bingo-beta" type="branch"/>
+
+ <sdk name="wtlce" path="c:\wtlce">
+- NOTE: This module needs the WTLCE (Windows Template Library for CE) SDK in order
+- to build. Developers may put the SDK anywhere they wish on
+- their disk. But to inform the build system of its location,
+- developers should have the following line in their .buildrc file:
+- SetSDKPath("wtlce", "/path/to/wtlcesdk")
+- See BUILD_ROOT/build/doc/buildrc.html for more
+- information about .buildrc files and SetSDKPath().
++ NOTE: This module needs the WTLCE (Windows Template Library for CE) SDK in order
++ to build. Developers may put the SDK anywhere they wish on
++ their disk. But to inform the build system of its location,
++ developers should have the following line in their .buildrc file:
++ SetSDKPath("wtlce", "/path/to/wtlcesdk")
++ See BUILD_ROOT/build/doc/buildrc.html for more
++ information about .buildrc files and SetSDKPath().
+ </sdk>
+
+ <attribute id="no_build"/>
diff --git a/media-video/helixplayer/files/installer-naming.patch b/media-video/helixplayer/files/installer-naming.patch
new file mode 100644
index 000000000000..f4ca93eb7d34
--- /dev/null
+++ b/media-video/helixplayer/files/installer-naming.patch
@@ -0,0 +1,11 @@
+--- player_all-bingo-beta-20040615/installer/common/scripts/installer.backup 2004-04-21 09:09:34.000000000 +0900
++++ player_all-bingo-beta-20040615/installer/common/scripts/installer.py 2004-07-11 14:22:35.037901736 +0900
+@@ -294,7 +294,7 @@
+ else:
+ ext = self.archive_type
+
+- dest_arch = "%s%s-%s.%s" % (name, verstr, sysinfo.id, ext)
++ dest_arch = "%s.%s" % ("helixplayer", ext)
+ project.writeln("copy:")
+ project.writeln("\t %s %s %s" %
+ (platform.copy.cmd, self.archive_file,
diff --git a/media-video/helixplayer/helixplayer-1.0_beta1.ebuild b/media-video/helixplayer/helixplayer-1.0_beta1.ebuild
new file mode 100644
index 000000000000..e1db8d7d4f5e
--- /dev/null
+++ b/media-video/helixplayer/helixplayer-1.0_beta1.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/helixplayer/helixplayer-1.0_beta1.ebuild,v 1.1 2004/07/14 20:18:27 chriswhite Exp $
+
+DESCRIPTION="A free open-source media player by real"
+HOMEPAGE="http://www.helixplayer.org/"
+SRC_URI="https://helixcommunity.org/download.php/487/${P}-beta-source.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="mozilla"
+DEPEND="media-libs/libtheora
+ media-libs/libogg"
+RDEPEND=">=dev-libs/glib-2
+ >=x11-libs/pango-1.2
+ >=x11-libs/gtk+-2.2"
+
+inherit nsplugins eutils
+
+# Had to change the source directory because of this somewhat
+# non-standard naming convention
+S=${WORKDIR}/player_all-bingo-beta-20040615
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ #fixes gcc version checking with non C based locales
+ epatch ${FILESDIR}/gcc_versioncheck.patch
+
+ #fixes the .bif file to create a gentoo_player custom target
+ epatch ${FILESDIR}/gentoo_bif.patch
+
+ #fixes the strange tarball name that gets created
+ epatch ${FILESDIR}/installer-naming.patch
+}
+
+src_compile() {
+
+ #copies our buildrc file over with information on where
+ #ogg and theora libs are kept
+ cp ${FILESDIR}/buildrc ${S}
+
+ export BUILDRC="${S}/buildrc"
+ export BUILD_ROOT="${S}/build"
+
+ #now we can begin the build
+ ${S}/build/bin/build -m bingo-beta -trelease -k -P helix-client-all-defines-free player_gentoo || die
+}
+
+src_install() {
+
+ #you're probably thinking "what on earth is he doing?!"
+ #well.. you're right
+ #the fact is.. the only way to get the directory structure helixplayer uses
+ #is to use their archive installer, unpack it, then copy all the files over
+ #This will be fixed soon.. don't worry :)
+ mkdir ${S}/release/HelixPlayer
+ tar -jxf ${S}/release/helixplayer.tar.bz2 -C ${S}/release/HelixPlayer
+
+ #Ok, now that that little hack is over with ;)
+ if use mozilla ; then
+ cd ${S}/release/HelixPlayer/mozilla
+ exeinto /opt/netscape/plugins
+ doexe nphelix.so
+ inst_plugin /opt/netscape/plugins/nphelix.so
+ fi
+
+ cd ${S}/release/HelixPlayer/codecs
+ insinto /opt/HelixPlayer/codecs
+ insopts -m755
+ doins *
+
+ cd ${S}/release/HelixPlayer/common
+ insinto /opt/HelixPlayer/common
+ insopts -m755
+ doins *
+
+ cd ${S}/release/HelixPlayer/doc
+ insinto /opt/HelixPlayer/doc
+ doins *
+
+ cd ${S}/release/HelixPlayer/lib
+ insinto /opt/HelixPlayer/lib
+ insopts -m755
+ doins *
+
+ cd ${S}/release/HelixPlayer/plugins
+ insinto /opt/HelixPlayer/plugins
+ insopts -m755
+ doins *
+
+ cd ${S}/release/HelixPlayer/share
+ insinto /opt/HelixPlayer/share
+ doins *
+
+ cd ${S}/release/HelixPlayer/share/default
+ insinto /opt/HelixPlayer/share/default
+ insopts -m644
+ doins *
+
+ cd ${S}/release/HelixPlayer/share/hxplay
+ insinto /opt/HelixPlayer/share/hxplay
+ insopts -m644
+ doins *
+
+ cd ${S}/release/HelixPlayer/share/icons
+ insinto /opt/HelixPlayer/share/icons
+ insopts -m644
+ doins *
+
+ cd ${S}/release/HelixPlayer/share/locale
+ insinto /opt/HelixPlayer/share/locale
+ insopts -m755
+ doins *
+
+ cd ${S}/release/HelixPlayer/
+ insinto /opt/HelixPlayer
+ insopts -m755
+ doins hxplay hxplay.bin
+ insopts -m644
+ doins LICENSE README
+
+ insinto /etc/env.d
+ insopts -m644
+ doins ${FILESDIR}/50helix
+}
diff --git a/media-video/helixplayer/metadata.xml b/media-video/helixplayer/metadata.xml
new file mode 100644
index 000000000000..223f9374a77a
--- /dev/null
+++ b/media-video/helixplayer/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-video</herd>
+<maintainer>
+ <email>chriswhite@gentoo.org</email>
+</maintainer>
+<longdescription>An open-source version of realplayer
+that supports formats such as ogg and theora</longdescription>
+</pkgmetadata>