Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 188229 Details for
Bug 265997
unified gst-plugins.eclass and outdated ebuilds
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
easily-clickable version of eclass
gst-plugins.eclass (text/plain), 3.64 KB, created by
Peter Alfredsen (RETIRED)
on 2009-04-13 13:32:06 UTC
(
hide
)
Description:
easily-clickable version of eclass
Filename:
MIME Type:
Creator:
Peter Alfredsen (RETIRED)
Created:
2009-04-13 13:32:06 UTC
Size:
3.64 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins.eclass,v 1.34 2007/06/28 13:46:45 peper Exp $ > ># Author : foser <foser@gentoo.org> > ># gst-plugins eclass ># ># eclass to make external gst-plugins emergable on a per-plugin basis ># to solve the problem with gst-plugins generating far too much unneeded deps ># ># 3rd party applications using gstreamer now should depend on a set of plugins as ># defined in the source, in case of spider usage obtain recommended plugins to use from ># Gentoo developers responsible for gstreamer <gnome@gentoo.org>, the application developer ># or the gstreamer team. > >inherit eutils libtool autotools versionator multilib > > >### ># variable declarations >### > ># Create a major/minor combo for our SLOT and executables suffix >PV_MAJ_MIN=$(get_version_component_range 1-2) >MY_P=gst-plugins-${TARBALL}-${PV} > >GST_PLUGINS_BUILD_DIR=${GST_PLUGINS_BUILD_DIR:-${PN/gst-plugins-/}} > >HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-plugins.html" >LICENSE="GPL-2" > >SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-${TARBALL}/${MY_P}.tar.bz2" > >SLOT=${PV_MAJ_MIN} > >S=${WORKDIR}/${MY_P} > >RESTRICT="test" > >if [[ "${GST_PLUGINS_BUILD_DIR}" != "${TARBALL}" ]] >then > DESCRIPTION="The ${PN/gst-plugins-/} plugin for gstreamer" >else > RDEPEND="" > DESCRIPTION="Library package for the gst-plugins-${TARBALL} source package. No external libs needed." > unset GST_PLUGINS_BUILD_DIR >fi > >[[ -n ${NEED_GST} ]] && RDEPEND="${RDEPEND} >=media-libs/gstreamer-${NEED_GST}" >[[ -n ${NEED_GST_BASE} ]] && RDEPEND="${RDEPEND} >=media-libs/gst-plugins-base-${NEED_GST_BASE}" >[[ -n ${NEED_GST_BASE_STRICT} ]] && RDEPEND="${RDEPEND} =media-libs/gst-plugins-base-${NEED_GST_BASE_STRICT}*" >[[ -n ${NEED_GST_GOOD} ]] && RDEPEND="${RDEPEND} >=media-libs/gst-plugins-good-${NEED_GST_GOOD}" >[[ -n ${NEED_GST_BAD} ]] && RDEPEND="${RDEPEND} >=media-libs/gst-plugins-bad-${NEED_GST_BAD}" >[[ -n ${NEED_GST_UGLY} ]] && RDEPEND="${RDEPEND} >=media-libs/gst-plugins-ugly-${NEED_GST_GOOD}" > >DEPEND="${RDEPEND} > dev-util/pkgconfig > >=sys-apps/sed-4" > >gst-plugins_find_plugin_dir() { > [[ -z ${GST_PLUGINS_BUILD_DIR} ]] && { cd "${S}"; return 0; } > > if ! [[ -d "${S}"/ext/${GST_PLUGINS_BUILD_DIR} ]] > then > if ! [[ -d ${S}/sys/${GST_PLUGINS_BUILD_DIR} ]] > then > eerror "No such plugin directory" > die > fi > cd ${S}/sys/${GST_PLUGINS_BUILD_DIR} > else > cd ${S}/ext/${GST_PLUGINS_BUILD_DIR} > fi >} > >gst-plugins_src_unpack() { > unpack ${A} >} > > >gst-plugins_src_prepare() { > # Needed for sane .so versioning on -bsd > elibtoolize > # Link with the syswide installed interfaces if needed > gst-plugins_find_plugin_dir > for sed in "${GST_SEDS[@]}" > do > sed -i \ > -e 's:$(top_builddir)/gst-libs/gst/'"${sed}"'/libgst'"${sed}"':/usr/'$(get_libdir)'/libgst'"${sed}"':' \ > Makefile.in || die "Sed for ${sed} failed" > done >} > >gst-plugins_src_configure() { > econf --disable-static --disable-dependency-tracking ${GSTCONF} "$@" || die "./configure failure" >} > > >gst-plugins_src_compile() { > if [[ -n ${GST_PLUGINS_BUILD_DIR} ]] > then > rm -rf ext/Makefile &> /dev/null > rm -rf sys/Makefile &> /dev/null > rm -rf Makefile &> /dev/null > else > neuterdirs=${neuterdirs:-ext sys tests} > for dir in ${neuterdirs} > do > echo "all: " > $dir/Makefile > echo "install: " >> $dir/Makefile > done > fi > gst-plugins_find_plugin_dir > emake || die "compile failure" >} > >gst-plugins_src_install() { > gst-plugins_find_plugin_dir > emake DESTDIR="${D}" install || die "make install failed" > for doc in "${DOCS[@]}" > do > dodoc ${doc} || die "dodoc ${doc}" failed > done >} > >EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 265997
:
188227
| 188229 |
188233
|
188235