You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-video/atomicparsley/atomicparsley-0.9.0.ebuild

43 lines
1023 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/atomicparsley/atomicparsley-0.9.0.ebuild,v 1.15 2012/11/25 09:18:37 ssuominen Exp $
EAPI=4
MY_P=AtomicParsley-source-${PV}
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="command line program for reading, parsing and setting iTunes-style metadata in MPEG4 files"
HOMEPAGE="http://atomicparsley.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86"
IUSE=""
RDEPEND=""
DEPEND="app-arch/unzip"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch \
"${FILESDIR}"/${P}-glibc-2.10.patch \
"${FILESDIR}"/${P}-environment.patch
}
src_compile() {
# APar_sha1.cpp:116:47 and 117:43: warning: dereferencing type-punned
# pointer will break strict-aliasing rules
append-flags -fno-strict-aliasing
tc-export CXX
./build || die
}
src_install() {
dobin AtomicParsley
dodoc *.{txt,rtf}
}