Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106844 - An ebuild for the next generation of beep-media-player, known as 'bmpx'.
Summary: An ebuild for the next generation of beep-media-player, known as 'bmpx'.
Status: RESOLVED DUPLICATE of bug 103736
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 16:52 UTC by Brett Edgar
Modified: 2005-09-21 23:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brett Edgar 2005-09-21 16:52:19 UTC
Here is an ebuild for the next generation of the beep-media-player, AKA bmpx. 
It works for me after I unmasked the necessary packages (cairo 1.0, gtk+ 2.8,
glib 2.7, pango 1.9, etc.).

-------------------------------------

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/bmpx/bmpx-0.11.2.ebuild,v 1.1
2005/08/26 23:32:10 chainsaw Exp $

# Based off of the beep-media-player-0.9.7-r8.ebuild.  Hopefully I cleaned out
the unnecessary cruft.

IUSE="nls"

inherit flag-o-matic eutils libtool

MY_PN="bmpx"
MY_P=bmpx-${PV/_/}
S=${WORKDIR}/${MY_P}

DESCRIPTION="Beep Media Player"
HOMEPAGE="http://www.sosdg.org/~larne/w/BMP_Homepage"
SRC_URI="mirror://sourceforge/beepmp/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"

KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"

# beep-config has a runtime depend on pkg-config
RDEPEND="app-arch/unzip
	>=x11-libs/gtk+-2.8
	>=x11-libs/cairo-1.0.0
	>=media-libs/taglib-1.3.1
	>=gnome-base/libglade-2.5.1
	>=app-admin/fam-2.7
	>=media-libs/xine-lib-1.0.1 "

## In the future, bmpx will build with one or both of gstreamer and
## xine backends.  However, there is currently no ebuild for
## gstreamer > 0.9.1 which bmpx requires; so currently I build with
## xine only.  I'm really not even sure how to specify the either/or
## and both case.  My attempt is below.  For now, it is moot.
	#xine? ( >=media-libs/xine-lib-1.0.1 )
	#!xine? ( >=media-libs/gstreamer-0.9.1 )
	#gstreamer? ( >=media-libs/gstreamer-0.9.1 )
	#!gstreamer? ( >=media-libs/xine-lib-1.0.1 )"

DEPEND="${RDEPEND}
	nls? ( dev-util/intltool )"

src_unpack() {
	unpack ${A}
	cd ${S}

	elibtoolize
}

src_compile() {
	econf \
		--disable-dbus \
		--with-dev-dsp=/dev/sound/dsp \
		--with-dev-mixer=/dev/sound/mixer \
		--includedir=/usr/include/beep-media-player \
		`use_enable mmx simd` \
		`use_enable xine` \
		`use_enable gstreamer` \
		`use_enable nls` \
		|| die

	emake || die "make failed"
}

src_install() {
	make DESTDIR="${D}" install || die

	insinto /usr/share/icons/hicolor/scalable/apps
	doins icons/bmp.svg

	insinto /usr/share/pixmaps
	doins beep/beep_logo.xpm

	# XMMS skin symlinking; I think this is still valid
	# for bmpx.
	for SKIN in /usr/share/xmms/Skins/* ; do
		dosym "$SKIN" /usr/share/bmp/Skins/
	done

	dodoc AUTHORS FAQ NEWS README TODO
}

pkg_postinst() {
	echo
	einfo "Your XMMS skins, if any, have been symlinked."
	echo
}
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-21 23:27:47 UTC

*** This bug has been marked as a duplicate of 103736 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-09-21 23:28:31 UTC
Already in portage