summaryrefslogtreecommitdiff
path: root/vdr-softhddevice-9999.ebuild
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-01-25 15:30:22 +0100
committerJohns <johns98@gmx.net>2012-01-25 15:30:22 +0100
commit9d145221219eccc4748f5bd54ee7fa259421fd0b (patch)
treefe9a43b17af1cd0bc17e178cc72aa7397130f494 /vdr-softhddevice-9999.ebuild
parent2dff69dc14ef8f59e8ae9e50dfa6b973d42f3369 (diff)
downloadvdr-plugin-softhddevice-9d145221219eccc4748f5bd54ee7fa259421fd0b.tar.gz
vdr-plugin-softhddevice-9d145221219eccc4748f5bd54ee7fa259421fd0b.tar.bz2
Add jpeg support to ebuild.
Diffstat (limited to 'vdr-softhddevice-9999.ebuild')
-rw-r--r--vdr-softhddevice-9999.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/vdr-softhddevice-9999.ebuild b/vdr-softhddevice-9999.ebuild
index 578a681..5405267 100644
--- a/vdr-softhddevice-9999.ebuild
+++ b/vdr-softhddevice-9999.ebuild
@@ -21,7 +21,7 @@ SRC_URI=""
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
-IUSE="vaapi vdpau alsa oss yaepg opengl"
+IUSE="vaapi vdpau alsa oss yaepg opengl jpeg"
DEPEND=">=x11-libs/libxcb-1.7
x11-libs/xcb-util
@@ -40,6 +40,7 @@ DEPEND=">=x11-libs/libxcb-1.7
vaapi? ( x11-libs/libva )
alsa? ( media-libs/alsa-lib )
oss? ( sys-kernel/linux-headers )
+ jpeg? ( virtual/jpeg )
"
src_prepare() {
@@ -49,11 +50,12 @@ src_prepare() {
src_compile() {
local myconf
- myconf=""
+ myconf="-DHAVE_PTHREAD_NAME"
use vdpau && myconf="${myconf} -DUSE_VDPAU"
use vaapi && myconf="${myconf} -DUSE_VAAPI"
use alsa && myconf="${myconf} -DUSE_ALSA"
use oss && myconf="${myconf} -DUSE_OSS"
+ use jpeg && myconf="${myconf} -DUSE_JPEG"
emake all CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" CONFIG="${myconf}" LIBDIR="." || die