From patchwork Wed Sep 26 19:34:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valentine Barshak X-Patchwork-Id: 187185 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id BE4AD2C007F for ; Thu, 27 Sep 2012 05:34:48 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C2BA82019A; Wed, 26 Sep 2012 19:34:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eWzDmkDfheYi; Wed, 26 Sep 2012 19:34:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id CC47A2019E; Wed, 26 Sep 2012 19:34:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 989508F74A for ; Wed, 26 Sep 2012 19:34:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9645A89CC2 for ; Wed, 26 Sep 2012 19:34:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NRLcpcTwUWbM for ; Wed, 26 Sep 2012 19:34:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id E27C38A0BE for ; Wed, 26 Sep 2012 19:34:07 +0000 (UTC) Received: by lbom4 with SMTP id m4so5155524lbo.16 for ; Wed, 26 Sep 2012 12:34:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:reply-to:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=PZRQurUNkhcM/ro0Y5+kOHDVlshVp6W+3OJPfKjXyoc=; b=dKOWGZvnnCI8GYfmD2HDVCwq+cJeZ++i9FNgLemYzmjb5fN0DQe32c5dsOab7QnPU3 lCUp61K622UO/CZFYOWF2S2ZU4gEnXL9ARaY+YReS0/WzOf+//ZUALm2ma9e68mjsnra JrvIdfa3H1Yp2LYCE6SgAASkyrJMj+OMxETJYJi67lxq8FslM8hKpBjHqRxSmx+J9WeH gFGxNN+WtQfEft1t2j4MkqiW0GmWhVOzDsUiKeX7yrVc6S+Z4ZHTEvHT70AMFOSYOXLS 0QecNjZL1lQog/g+TJy0HUAPS6RPyRvlin/bPaDRsLowepSalgooSz6FOkjwRyKIrsRZ 9BMA== Received: by 10.112.36.138 with SMTP id q10mr806988lbj.63.1348688045770; Wed, 26 Sep 2012 12:34:05 -0700 (PDT) Received: from gmail.com ([93.100.122.208]) by mx.google.com with ESMTPS id gt19sm1145928lab.8.2012.09.26.12.34.05 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 26 Sep 2012 12:34:05 -0700 (PDT) Date: Wed, 26 Sep 2012 23:34:51 +0400 From: Valentine Barshak To: buildroot@busybox.net Message-ID: <20120926193451.GA3983@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120926193155.GA3942@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: [Buildroot] [PATCH 3/3] mplayer: Fix external libdvdread and libdvdnav support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Valentine Barshak List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net This sets paths to dvdread-config and dvdnav-config, and configuration options to enable external libdvdread and libdvdnav support. Signed-off-by: Valentine Barshak --- package/multimedia/mplayer/mplayer.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/package/multimedia/mplayer/mplayer.mk b/package/multimedia/mplayer/mplayer.mk index 05120bf..9ff4b8a 100644 --- a/package/multimedia/mplayer/mplayer.mk +++ b/package/multimedia/mplayer/mplayer.mk @@ -42,6 +42,21 @@ else MPLAYER_CONF_OPTS += --disable-freetype endif +ifeq ($(BR2_PACKAGE_LIBDVDREAD),y) +MPLAYER_CONF_OPTS += \ + --enable-dvdread \ + --disable-dvdread-internal \ + --with-dvdread-config=$(STAGING_DIR)/usr/bin/dvdread-config +MPLAYER_DEPENDENCIES += libdvdread +endif + +ifeq ($(BR2_PACKAGE_LIBDVDNAV),y) +MPLAYER_CONF_OPTS += \ + --enable-dvdnav \ + --with-dvdnav-config=$(STAGING_DIR)/usr/bin/dvdnav-config +MPLAYER_DEPENDENCIES += libdvdnav +endif + ifeq ($(BR2_PACKAGE_MPLAYER_MPLAYER),y) MPLAYER_CONF_OPTS += --enable-mplayer else