diff options
-rw-r--r-- | Makefile-pre1.7.36 (renamed from Makefile) | 6 | ||||
-rw-r--r-- | vdr-play-9999-pre1.7.36.ebuild (renamed from vdr-play-9999.ebuild) | 13 |
2 files changed, 13 insertions, 6 deletions
diff --git a/Makefile b/Makefile-pre1.7.36 index 704ee76..2194a6e 100644 --- a/Makefile +++ b/Makefile-pre1.7.36 @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id$ +# $Id: 14fbc0969bcd384cea8b8b420b49d49a6c3ef381 $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -31,8 +31,8 @@ CONFIG += $(shell pkg-config --exists libpng && echo "-DUSE_PNG") CC ?= gcc CXX ?= g++ CFLAGS ?= -g -O2 -W -Wall -Wextra -Winit-self \ - -Wdeclaration-after-statement -CXXFLAGS ?= -g -O2 -W -Wall -Wextra -Werror=overloaded-virtual + -Wdeclaration-after-statement -fPIC +CXXFLAGS ?= -g -O2 -W -Wall -Wextra -Werror=overloaded-virtual -fPIC ### The directory environment: diff --git a/vdr-play-9999.ebuild b/vdr-play-9999-pre1.7.36.ebuild index 6af5581..cb0a331 100644 --- a/vdr-play-9999.ebuild +++ b/vdr-play-9999-pre1.7.36.ebuild @@ -20,7 +20,7 @@ HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-play" LICENSE="AGPL-3" SLOT="0" -IUSE="" +IUSE="jpeg png avfs swscale" RDEPEND=">=media-video/vdr-1.7 >=x11-libs/libxcb-1.8 @@ -28,7 +28,11 @@ RDEPEND=">=media-video/vdr-1.7 x11-libs/xcb-util-image x11-libs/xcb-util-keysyms x11-libs/xcb-util-wm - || ( media-video/mplayer media-video/mplayer2 )" + || ( media-video/mplayer media-video/mplayer2 ) + jpeg? ( virtual/jpeg ) + png? ( media-libs/libpng ) + avfs? ( sys-fs/avfs ) + swscale? ( >=virtual/ffmpeg-0.7 )" DEPEND="${RDEPEND} x11-proto/xproto sys-devel/gettext @@ -43,7 +47,10 @@ src_compile() { local myconf myconf="-DHAVE_PTHREAD_NAME" - #use jpeg && myconf="${myconf} -DUSE_JPEG" + use jpeg && myconf="${myconf} -DUSE_JPEG" + use png && myconf="${myconf} -DUSE_PNG" + use avfs && myconf="${myconf} -DUSE_AVFS" + use swscale && myconf="${myconf} -DUSE_SWSCALE" emake all CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \ LDFLAGS="${LDFLAGS}" CONFIG="${myconf}" LIBDIR="." || die |