public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-video/bino/files: bino-1.4.2-lirc-detect.patch bino.html
@ 2013-05-12 17:25 Markos Chandras (hwoarang)
  0 siblings, 0 replies; only message in thread
From: Markos Chandras (hwoarang) @ 2013-05-12 17:25 UTC (permalink / raw
  To: gentoo-commits

hwoarang    13/05/12 17:25:00

  Added:                bino-1.4.2-lirc-detect.patch bino.html
  Log:
  Revbump to add missing files. Raise media-libs/openal dependency. Bug #465172. Thanks to Jožka Kejzlar (cuchac)
  
  (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)

Revision  Changes    Path
1.1                  media-video/bino/files/bino-1.4.2-lirc-detect.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/bino/files/bino-1.4.2-lirc-detect.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/bino/files/bino-1.4.2-lirc-detect.patch?rev=1.1&content-type=text/plain

Index: bino-1.4.2-lirc-detect.patch
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -284,14 +284,30 @@
     [AS_HELP_STRING([--without-liblircclient], [Disable remote control support via liblircclient (enabled by default)])],
     [if test "$withval" = "yes"; then lirc="yes"; else lirc="no"; fi], [lirc="yes"])
 if test "$lirc" = "yes"; then
-    PKG_CHECK_MODULES([liblircclient], [liblircclient0 >= 0.0], [HAVE_LIBLIRCCLIENT=1], [HAVE_LIBLIRCCLIENT=0])
+    CPPFLAGS_BAK="$CPPFLAGS"
+    CPPFLAGS="$CPPFLAGS $xliblircclient_CFLAGS"
+    AC_SUBST([liblircclient_CFLAGS])
+    AC_CHECK_HEADERS([lirc_client.h],
+                     [HAVE_LIBLIRCCLIENT=1],
+                     [HAVE_LIBLIRCCLIENT=0])
+    if test "HAVE_LIBLIRCCLIENT" = "1"; then
+        LDFLAGS_BAK="$LDFLAGS"
+        LDFLAGS="$LDFLAGS $xliblircclient_LDFLAGS"
+        AC_SUBST([liblircclient_LDFLAGS])
+        AC_CHECK_LIB([lirc_client],
+                     [lirc_deinit],
+                     [HAVE_LIBLIRCCLIENT=1],
+                     [HAVE_LIBLIRCCLIENT=0])
+        LDFLAGS="$LDFLAGS_BAK"
+    fi
+    CPPFLAGS="$CPPFLAGS_BAK"
     if test "$HAVE_LIBLIRCCLIENT" != "1"; then
         AC_MSG_WARN([optional library liblircclient not found:])
         AC_MSG_WARN([$liblircclient_PKG_ERRORS])
         AC_MSG_WARN([liblircclient is provided by LIRC; Debian package: liblircclient-dev])
 	lirc="no"
     else
-        LIBLIRCCLIENT_PKGCONFIG_VERSION="\"`$PKG_CONFIG --modversion liblircclient0`\""
+        LIBLIRCCLIENT_PKGCONFIG_VERSION="\"system\""
     fi
 else
     HAVE_LIBLIRCCLIENT=0



1.1                  media-video/bino/files/bino.html

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/bino/files/bino.html?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/bino/files/bino.html?rev=1.1&content-type=text/plain

Index: bino.html
===================================================================
<html lang="en">
<head>
<title>Bino</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="Bino">
<meta http-equiv="Content-Style-Type" content="text/css">
</head>

<body>
<h1 class="settitle">Bino</h1>
<div class="node">
<p><hr>
Up:&nbsp;<a rel="up" accesskey="u" href="../">(dir)</a>
</div>

<h2 class="unnumbered">Warning</h2>

<p>You have chosen not to install the documentation of Bino.
<p>If you want to have the documentation installed, please enable the <b>doc</b> use flag of <i>media-video/bino</i>.
<p>Alternatively you may do a:
<pre>
USE="doc" emerge media-video/bino
</pre>
</body></html>





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-12 17:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-12 17:25 [gentoo-commits] gentoo-x86 commit in media-video/bino/files: bino-1.4.2-lirc-detect.patch bino.html Markos Chandras (hwoarang)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox