diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-07-03 15:24:34 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-07-03 15:25:49 +0200 |
commit | d011a4ae3f9d7db2240288e47a9b1446f100dc4c (patch) | |
tree | 82f872580bf026ab43b3bb2a97390a038cc60e9a | |
parent | 5921f6fbf966274f9bb279b9a495656e167b2e16 (diff) |
basic autotoolization
-rw-r--r-- | AUTHORS | 2 | ||||
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | README | 11 | ||||
-rwxr-xr-x | autogen.sh | 4 | ||||
-rw-r--r-- | configure.ac | 9 | ||||
-rw-r--r-- | media-players/Makefile.am | 6 |
8 files changed, 35 insertions, 0 deletions
@@ -0,0 +1,2 @@ +Martin Pitt <martin.pitt@ubuntu.com> +Christophe Fergeau <cfergeau@mandriva.com> diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..b8b4107 --- /dev/null +++ b/ChangeLog @@ -0,0 +1 @@ +-- please have a look at the git history for the changelog -- diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..fe7cad7 --- /dev/null +++ b/Makefile.am @@ -0,0 +1 @@ +SUBDIRS=media-players @@ -0,0 +1 @@ +- initial release of media-player-id @@ -0,0 +1,11 @@ +media-player-id is a repository of data files describing media player +(mostly USB Mass Storage ones) capabilities. These files contain information +about the directory layout to use to add music to these devices, about the +supported file formats, ... These capabilities used to be provided by HAL but +had to be moved elsewhere as part of the big HALectomy. + +The music player capabilities are now described in .mpi files (which are +.ini-like files) which you can find in media-players/. These mpi files are +used to generate an udev rule to identify these devices. This rule associate +an ID_MEDIA_PLAYER attribute to the media player devices which specifies the +name of the .mpi file to use to find out the device capabilities. diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..73e7cf9 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +autoreconf --install --symlink +./configure $@ diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..7e7757d --- /dev/null +++ b/configure.ac @@ -0,0 +1,9 @@ +AC_INIT(media-player-id, 0.1, devkit-devel@lists.freedesktop.org) +AM_INIT_AUTOMAKE +AC_CONFIG_SRCDIR([tools/mpi2udev.py]) + +AC_OUTPUT([ +Makefile +media-players/Makefile +]) + diff --git a/media-players/Makefile.am b/media-players/Makefile.am new file mode 100644 index 0000000..feedc52 --- /dev/null +++ b/media-players/Makefile.am @@ -0,0 +1,6 @@ +mpidir = $(datadir)/udev/media-players +dist_mpi_DATA = $(shell find $(top_srcdir)/media-players -name "*.mpi" -printf "%P\n") + +udev-rules: $(dist_mpi_DATA) + $(top_srcdir)/tools/mpi2udev.py $(dist_mpi_DATA) >90-media-players.rules + |