/[gentoo-x86]/media-video/ccextractor/ccextractor-0.69.ebuild
Gentoo

Contents of /media-video/ccextractor/ccextractor-0.69.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Apr 25 18:28:18 2014 UTC (5 years, 11 months ago) by beandog
Branch: MAIN
CVS Tags: HEAD
Version bumps, bug 504978

(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)

1 beandog 1.1 # Copyright 1999-2014 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     EAPI=5
6    
7     inherit eutils toolchain-funcs
8    
9     DESCRIPTION="Extract closed captioning subtitles from video to SRT"
10     HOMEPAGE="http://ccextractor.sourceforge.net/"
11     SRC_URI="mirror://sourceforge/ccextractor/${PN}.src.${PV}.zip"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15     KEYWORDS="~amd64 ~x86"
16     IUSE=""
17    
18     DEPEND="app-arch/unzip
19     media-libs/libpng
20     sys-libs/zlib"
21    
22     S="${WORKDIR}/${PN}"
23    
24     src_prepare() {
25     rm -r src/libpng src/zlib || die
26     }
27    
28     src_compile() {
29     cd src
30     $(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -DHAVE_LIBPNG -DGPAC_CONFIG_LINUX -D_FILE_OFFSET_BITS=64 -Igpacmp4/ -o ccextractor $(find . -name '*.cpp') $(find . -name '*.c') -lpng || die
31     }
32    
33     src_install() {
34     dobin src/ccextractor
35     dodoc docs/*.TXT
36     }

  ViewVC Help
Powered by ViewVC 1.1.20