/[gentoo-x86]/media-sound/gejengel/gejengel-0.1.4-r1.ebuild
Gentoo

Contents of /media-sound/gejengel/gejengel-0.1.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Feb 6 13:46:29 2015 UTC (3 years, 6 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +5 -4 lines
add patch to build with ffmpeg2, bug #536626

Signed-off-by: aballier@gentoo.org
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/gejengel/gejengel-0.1.4-r1.ebuild,v 1.5 2013/06/22 16:54:58 scarabeus Exp $
4
5 EAPI=4
6 inherit eutils multilib flag-o-matic
7
8 DESCRIPTION="Lightweight audio player"
9 HOMEPAGE="http://code.google.com/p/gejengel"
10 SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE="+alsa audioscrobbler debug dbus +ffmpeg flac libnotify mad openal pulseaudio syslog"
16
17 RDEPEND="dev-cpp/gtkmm:2.4
18 dev-cpp/pangomm:1.4
19 media-libs/taglib
20 dev-db/sqlite:3
21 || ( media-gfx/imagemagick[cxx]
22 media-gfx/graphicsmagick[imagemagick] )
23 mad? ( media-libs/libmad )
24 flac? ( media-libs/flac[cxx] )
25 ffmpeg? ( >=virtual/ffmpeg-9 )
26 audioscrobbler? ( >=media-libs/lastfmlib-0.4 )
27 dbus? ( dev-libs/dbus-glib )
28 libnotify? ( x11-libs/libnotify )
29 openal? ( media-libs/openal )
30 alsa? ( media-libs/alsa-lib )
31 pulseaudio? ( media-sound/pulseaudio )"
32 DEPEND="${RDEPEND}
33 dev-libs/libxdg-basedir
34 dev-util/intltool
35 >=sys-devel/automake-1.11"
36
37 DOCS=( AUTHORS ChangeLog README TODO )
38
39 src_prepare() {
40 epatch "${FILESDIR}"/${P}-libnotify-0.7.patch \
41 "${FILESDIR}"/${P}-ffmpeg.patch \
42 "${FILESDIR}"/${P}-ffmpeg-1.patch \
43 "${FILESDIR}"/${P}-libav9.patch \
44 "${FILESDIR}"/${P}-ffmpeg2.patch
45 # Remove Vesion and Encoding from the desktop file
46 sed -i -e "/Version/d" -e "/Encoding/d" \
47 data/${PN}.desktop.in || die "sed failed"
48 append-cxxflags "-D__STDC_CONSTANT_MACROS"
49 }
50
51 src_configure() {
52 econf \
53 --disable-shared \
54 $(use_enable syslog logging) \
55 $(use_enable debug) \
56 $(use_enable openal) \
57 $(use_enable audioscrobbler lastfm) \
58 $(use_enable dbus) \
59 $(use_enable libnotify) \
60 $(use_enable mad) \
61 $(use_enable flac) \
62 $(use_enable ffmpeg) \
63 $(use_enable alsa) \
64 $(use_enable pulseaudio) \
65 --disable-unittests
66 }
67
68 src_compile() {
69 emake CXXFLAGS="${CXXFLAGS}"
70 }
71
72 src_install() {
73 default
74 # The libgejengel.a is used by the package when building but shouldn't end
75 # up in the installation target
76 rm -f "${ED}"usr/$(get_libdir)/libgejengel.{a,la}
77 }

  ViewVC Help
Powered by ViewVC 1.1.20