New commits:
commit 224e89fa9221287b37fd2529296263af4eaf1943
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
lirc: optional X11 dependency
commit c8db5d703af5484d6ee57ac153c352385bdd8898
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
lirc: rework configuration, make build work again
commit c1b2d42ef43b57a081ae1dfbdbd52b9ae5350d22
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
lirc: update to CVS snapshot (needed to work now)
diff --git a/kernels/lirc/BUILD b/kernels/lirc/BUILD
index 5445c42..a7a91e7 100755
--- a/kernels/lirc/BUILD
+++ b/kernels/lirc/BUILD
@@ -1,11 +1,8 @@
# Remove their CFLAGS, but make sure only literal CFLAGS definition is gone.
sedit 's|^CFLAGS="[^$]*"$|#\0|g' configure &&
-
-message "Custom configuration: $LIRCOPTS" &&
-OPTS="
- $OPTS
- $LIRCOPTS
- --with-kerneldir=${INSTALL_ROOT}/usr/src/linux-$(get_kernel_version)
- --with-moduledir=/lib/modules/$(get_kernel_version)/misc
-" &&
+if [[ "$LIRC_ALL" == y ]]; then
+ OPTS="$OPTS --with-driver=all"
+else
+ OPTS="$OPTS --with-driver=$LIRC_DRIVER"
+fi &&
default_build
diff --git a/kernels/lirc/CONFIGURE b/kernels/lirc/CONFIGURE
new file mode 100755
index 0000000..753185c
--- /dev/null
+++ b/kernels/lirc/CONFIGURE
@@ -0,0 +1,17 @@
+config_query LIRC_ALL "Compile all drivers instead of selecting from list
(some may well not build)?" n &&
+if [[ "$LIRC_ALL" == n ]]; then
+ local drivers=$(<"$SCRIPT_DIRECTORY/drivers") &&
+ while true
+ do
+ message "${MESSAGE_COLOR}So, choose some drivers from this
list:$DEFAULT_COLOR" &&
+ message $drivers &&
+ config_query_string LIRC_DRIVER "Your selection of _one_ entry:" serial
&&
+ if list_find "$drivers" "$LIRC_DRIVER"; then
+ message "${MESSAGE_COLOR}OK, seems to be one of the
options...$DEFAULT_COLOR"
+ break
+ else
+ message "${MESSAGE_COLOR}Hey, please select something from the
list!$DEFAULT_COLOR"
+ persistent_remove LIRC_DRIVER
+ fi
+ done
+fi
diff --git a/kernels/lirc/DEPENDS b/kernels/lirc/DEPENDS
index d2df149..3d39d4d 100755
--- a/kernels/lirc/DEPENDS
+++ b/kernels/lirc/DEPENDS
@@ -1 +1,2 @@
-depends which
+depends which &&
+optional_depends X11-LIBS --with-x --without-x "GUI tools"
diff --git a/kernels/lirc/DETAILS b/kernels/lirc/DETAILS
index 5ce8672..185eec5 100755
--- a/kernels/lirc/DETAILS
+++ b/kernels/lirc/DETAILS
@@ -1,9 +1,12 @@
SPELL=lirc
- VERSION=0.8.3
-
SOURCE_HASH=sha512:037b17f85ff71b87a32120d5850b9e404f81954f5f746a1d8060a9b9e8de34a3be7224119fc3f5f5c4a600c2d9b537af11a28126e7a79a090c2ece643414d1e8
+ VERSION=20080823
+
SOURCE_HASH=sha512:7f7da617dc0ef30bb13694d8f086859d397eb8ac938cccb199890740203cc04fad60b9905e3bbef13037dd61592d050498ac2ea19710b6c510b121f1c96ad77b
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- SOURCE_URL=${SOURCEFORGE_URL}/$SPELL/$SOURCE
+# That is a temporary source for the CVS snapshot.
+ SOURCE_URL=http://sobukus.de/$SOURCE
+# That is the real source... re-enable for new release.
+# SOURCE_URL=${SOURCEFORGE_URL}/$SPELL/$SOURCE
WEB_SITE=http://www.lirc.org
ENTERED=20020630
KEYWORDS="kernels"
diff --git a/kernels/lirc/HISTORY b/kernels/lirc/HISTORY
index fbbd727..8763e2d 100644
--- a/kernels/lirc/HISTORY
+++ b/kernels/lirc/HISTORY
@@ -1,5 +1,9 @@
2008-08-23 Thomas Orgis <sobukus AT sourcemage.org>
* DETAILS: update to 0.8.3
+ * DETAILS: update to CVS snapshot 20080823 (needed for kernel 2.6.26)
+ * CONFIGURE, BUILD, PRE_BUILD, *diff, drivers:
+ New, simpler (and working) driver configuration, asking for one or
all drivers.
+ * DEPENDS: optional on X11-LIBS