summaryrefslogtreecommitdiff
path: root/package/ffmpeg
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
commit05d0076d97ed69a531df1aa5cde3a1e6ed17f922 (patch)
treee605e2d5de96fe9afe7ad8724fe57e9e5c5417e1 /package/ffmpeg
parenta2e96ddb9519a2f40857f11501b88e465d25082d (diff)
replace mksh scripts with faster C programs
depmaker and pkgmaker is replaced by C programs. scan-pkgs.sh will be replaced by another mechanism. scan-pkgs.sh is needed to recognize package flavour changes, so that a package is rebuild. Generation of meta-data is a lot faster now. Fix or add new PKG variables to fulfill the needs of the new programs. Documentation will follow as soon as it is stable.
Diffstat (limited to 'package/ffmpeg')
-rw-r--r--package/ffmpeg/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/package/ffmpeg/Makefile b/package/ffmpeg/Makefile
index 142c6fa07..5d4306cbc 100644
--- a/package/ffmpeg/Makefile
+++ b/package/ffmpeg/Makefile
@@ -10,20 +10,22 @@ PKG_MD5SUM:= d6142a9a5821d6a6262a6edb903faa24
PKG_DESCR:= record, convert and stream audio & video
PKG_SECTION:= libs
PKG_DEPENDS:= libfaad2
-PKG_BUILDDEP+= faad2 sdl
+PKG_BUILDDEP:= faad2
PKG_URL:= http://www.ffmpeg.org/
PKG_SITES:= http://www.ffmpeg.org/releases/
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+PKG_SUBPKGS:= FFMPEG FFPLAY
+PKGSD_FFPLAY:= ffmpeg based video player
+PKGSC_FFPLAY:= multimedia
+PKGSS_FFPLAY:= libsdl libpthread ffmpeg
+PKGSB_FFPLAY:= sdl
-PKG_SECTION_FFPLAY:= multimedia
-PKG_DESCR_FFPLAY:= ffmpeg based video player
-PKG_DEPENDS_FFPLAY:= libsdl libpthread ffmpeg
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FFMPEG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,FFPLAY,ffplay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_FFPLAY},${PKG_DESCR_FFPLAY},${PKG_SECTION_FFPLAY}))
+$(eval $(call PKG_template,FFPLAY,ffplay,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_FFPLAY},${PKGSD_FFPLAY},${PKGSC_FFPLAY}))
SUB_INSTALLS-y:=
SUB_INSTALLS-m:=