Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
libdvdread
Commits
0b2efc96
Commit
0b2efc96
authored
Jun 02, 2008
by
Nico Sabbi
Browse files
fixed building with autoshit
parent
4b97bc4c
Changes
7
Hide whitespace changes
Inline
Side-by-side
Makefile.am
View file @
0b2efc96
...
...
@@ -2,7 +2,7 @@ include $(top_srcdir)/misc/Makefile.common
AUTOMAKE_OPTIONS
=
1.3
SUBDIRS
=
src
examples doc
misc m4
SUBDIRS
=
src misc m4
EXTRA_DIST
=
autogen.sh
\
AUTHORS
\
...
...
configure.ac
View file @
0b2efc96
dnl --------------------------------------------------------------
dnl Configure.ac for libdvd
nav
dnl Configure.ac for libdvd
read
dnl --------------------------------------------------------------
AC_INIT
AC_CONFIG_SRCDIR([src/dvd
nav.c
])
AC_CONFIG_SRCDIR([src/dvd
_reader.h
])
dnl --------------------------------------------------------------
dnl Require autoconf version 2.53
...
...
@@ -11,26 +11,26 @@ dnl --------------------------------------------------------------
AC_PREREQ(2.53)
dnl --------------------------------------------------------------
dnl Making releases: DVD
NAV
_SUB += 1; change DVD
NAV
_LT_* accordingly
dnl Making releases: DVD
READ
_SUB += 1; change DVD
READ
_LT_* accordingly
dnl --------------------------------------------------------------
DVD
NAV
_MAJOR=0
DVD
NAV
_MINOR=2
DVD
NAV
_SUB=1
DVD
NAV
_PRE="cvs"
DVD
READ
_MAJOR=0
DVD
READ
_MINOR=2
DVD
READ
_SUB=1
DVD
READ
_PRE="cvs"
AC_SUBST(DVD
NAV
_MAJOR)
AC_SUBST(DVD
NAV
_MINOR)
AC_SUBST(DVD
NAV
_SUB)
AC_SUBST(DVD
READ
_MAJOR)
AC_SUBST(DVD
READ
_MINOR)
AC_SUBST(DVD
READ
_SUB)
dnl The libtool version numbers (DVD
NAV
_LT_*); Don't even think about faking this!
dnl The libtool version numbers (DVD
READ
_LT_*); Don't even think about faking this!
dnl
dnl immediately before every release do:
dnl ===================================
dnl if (the interface is totally unchanged from previous release)
dnl DVD
NAV
_LT_REVISION ++;
dnl DVD
READ
_LT_REVISION ++;
dnl else { /* interfaces have been added, removed or changed */
dnl DVD
NAV
_LT_REVISION = 0;
dnl DVD
NAV
_LT_CURRENT ++;
dnl DVD
READ
_LT_REVISION = 0;
dnl DVD
READ
_LT_CURRENT ++;
dnl if (any interfaces have been _added_ since last release)
dnl AGE ++;
dnl if (any interfaces have been _removed_ or _incompatibly changed_)
...
...
@@ -38,47 +38,47 @@ dnl AGE = 0;
dnl }
dnl
dnl If you want to know more about what you are doing, here are some details:
dnl * DVD
NAV
_LT_CURRENT is the current API version
dnl * DVD
NAV
_LT_REVISION is an internal revision number which is increased when the API
dnl * DVD
READ
_LT_CURRENT is the current API version
dnl * DVD
READ
_LT_REVISION is an internal revision number which is increased when the API
dnl itself did not change
dnl * DVD
NAV
_LT_AGE is the number of previous API versions still supported by this library
dnl * DVD
READ
_LT_AGE is the number of previous API versions still supported by this library
dnl * libtool has its own numbering scheme, because local library numbering schemes
dnl are platform dependent
dnl * in Linux, the library will be named
dnl libname.so.(DVD
NAV
_LT_CURRENT - DVD
NAV
_LT_AGE).DVD
NAV
_LT_AGE.DVD
NAV
_LT_REVISION
dnl libname.so.(DVD
READ
_LT_CURRENT - DVD
READ
_LT_AGE).DVD
READ
_LT_AGE.DVD
READ
_LT_REVISION
DVD
NAV
_LT_CURRENT=5
DVD
NAV
_LT_AGE=1
DVD
NAV
_LT_REVISION=1
DVD
READ
_LT_CURRENT=5
DVD
READ
_LT_AGE=1
DVD
READ
_LT_REVISION=1
AC_SUBST(DVD
NAV
_LT_CURRENT)
AC_SUBST(DVD
NAV
_LT_AGE)
AC_SUBST(DVD
NAV
_LT_REVISION)
AC_SUBST(DVD
READ
_LT_CURRENT)
AC_SUBST(DVD
READ
_LT_AGE)
AC_SUBST(DVD
READ
_LT_REVISION)
PACKAGE="libdvdread"
RELEASE="1"
TAR_NAME=$PACKAGE-$DVD
NAV
_MAJOR.$DVD
NAV
_MINOR.$DVD
NAV
_SUB$DVD
NAV
_PRE
SPEC_VERSION=$DVD
NAV
_MAJOR.$DVD
NAV
_MINOR.$DVD
NAV
_SUB$DVD
NAV
_PRE
TAR_NAME=$PACKAGE-$DVD
READ
_MAJOR.$DVD
READ
_MINOR.$DVD
READ
_SUB$DVD
READ
_PRE
SPEC_VERSION=$DVD
READ
_MAJOR.$DVD
READ
_MINOR.$DVD
READ
_SUB$DVD
READ
_PRE
AC_SUBST(TAR_NAME)
AC_SUBST(SPEC_VERSION)
AC_SUBST(PACKAGE)
AC_SUBST(RELEASE)
LIBNAME=libdvd
nav$DVDNAV
_MAJOR
LIBNAME=libdvd
read$DVDREAD
_MAJOR
AC_SUBST(LIBNAME)
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE("libdvd
nav
", $DVD
NAV
_MAJOR.$DVD
NAV
_MINOR.$DVD
NAV
_SUB$DVD
NAV
_PRE)
AM_INIT_AUTOMAKE("libdvd
read
", $DVD
READ
_MAJOR.$DVD
READ
_MINOR.$DVD
READ
_SUB$DVD
READ
_PRE)
dnl --------------------------------------------------------------
dnl Make possible to build for another arch.
dnl --------------------------------------------------------------
if test x$DVD
NAV
_BUILD != "x"; then
AC_MSG_RESULT(*** build forced to $DVD
NAV
_BUILD ***)
build=$DVD
NAV
_BUILD
host=$DVD
NAV
_BUILD
if test x$DVD
READ
_BUILD != "x"; then
AC_MSG_RESULT(*** build forced to $DVD
READ
_BUILD ***)
build=$DVD
READ
_BUILD
host=$DVD
READ
_BUILD
else
check_athlon=yes
fi
...
...
@@ -129,26 +129,6 @@ AC_TYPE_SIZE_T
dnl AC_CHECK_TYPES([ptrdiff_t])
AC_C_BIGENDIAN
dnl ---------------------------------------------
dnl threads
dnl ---------------------------------------------
case $host in
*-*-freebsd*)
THREAD_LIBS="-L/usr/local/lib -pthread"
THREAD_CFLAGS="-I/usr/local/include -D_THREAD_SAFE"
CFLAGS="$THREAD_CFLAGS $CFLAGS"
;;
*mingw32* | *cygwin*)
;;
*)
AC_CHECK_LIB(pthread, pthread_create,
[THREAD_LIBS="-lpthread"],
AC_MSG_ERROR(pthread needed))
;;
esac
AC_SUBST(THREAD_LIBS)
AC_SUBST(THREAD_CFLAGS)
dnl ---------------------------------------------
dnl dynamic linker
dnl ---------------------------------------------
...
...
@@ -207,7 +187,7 @@ AC_CHECK_PROG(DOXYGEN, doxygen, doxygen, no)
dnl ---------------------------------------------
dnl Some include paths ( !!! DO NOT REMOVE !!! )
dnl ---------------------------------------------
INCLUDES='-I$(top_srcdir) $(DVD
NAV
_CFLAGS)'
INCLUDES='-I$(top_srcdir) $(DVD
READ
_CFLAGS)'
AC_SUBST(INCLUDES)
dnl ---------------------------------------------
...
...
@@ -224,13 +204,9 @@ dnl ---------------------------------------------
AC_OUTPUT([
Makefile
src/Makefile
src/libdvdread/Makefile
src/vm/Makefile
misc/Makefile
misc/dvd
nav
-config
misc/libdvd
nav
.spec
misc/dvd
read
-config
misc/libdvd
read
.spec
misc/relchk.sh
m4/Makefile
doc/Makefile
examples/Makefile
])
m4/Makefile.am
View file @
0b2efc96
include
$(top_srcdir)/misc/Makefile.common
EXTRA_DIST
=
dvd
nav
.m4
EXTRA_DIST
=
dvd
read
.m4
if
INSTALL_M4
m4datadir
=
@ACLOCAL_DIR@
...
...
@@ -8,4 +8,4 @@ else
m4datadir
=
$(datadir)
/aclocal
endif
m4data_DATA
=
dvd
nav
.m4
m4data_DATA
=
dvd
read
.m4
m4/dvdread.m4
View file @
0b2efc96
dnl Configure paths for DVD
NAV
dnl Configure paths for DVD
READ
dnl
dnl Copyright (C) 2001 Daniel Caujolle-Bert <segfault@club-internet.fr>
dnl
...
...
@@ -23,68 +23,68 @@ dnl script generated by Autoconf, you may include it under the same
dnl distribution terms that you use for the rest of that program.
dnl
dnl AM_PATH_DVD
NAV
([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
dnl Test for DVD
NAV
, and define DVD
NAV
_CFLAGS and DVD
NAV
_LIBS
dnl AM_PATH_DVD
READ
([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
dnl Test for DVD
READ
, and define DVD
READ
_CFLAGS and DVD
READ
_LIBS
dnl
AC_DEFUN([AM_PATH_DVD
NAV
],
AC_DEFUN([AM_PATH_DVD
READ
],
[dnl
dnl Get the cflags and libraries from the dvd
nav
-config script
dnl Get the cflags and libraries from the dvd
read
-config script
dnl
AC_ARG_WITH(dvd
nav
-prefix,
AC_HELP_STRING([--with-dvd
nav
-prefix=DIR], [prefix where DVD
NAV
is installed (optional)]),
dvd
nav
_config_prefix="$withval", dvd
nav
_config_prefix="")
AC_ARG_WITH(dvd
nav
-exec-prefix,
AC_HELP_STRING([--with-dvd
nav
-exec-prefix=DIR], [exec prefix where DVD
NAV
is installed (optional)]),
dvd
nav
_config_exec_prefix="$withval", dvd
nav
_config_exec_prefix="")
AC_ARG_ENABLE(dvd
nav
test,
AC_HELP_STRING([--disable-dvd
nav
test], [do not try to compile and run a test DVD
NAV
program]),
enable_dvd
nav
test=$enableval, enable_dvd
nav
test=yes)
AC_ARG_WITH(dvd
read
-prefix,
AC_HELP_STRING([--with-dvd
read
-prefix=DIR], [prefix where DVD
READ
is installed (optional)]),
dvd
read
_config_prefix="$withval", dvd
read
_config_prefix="")
AC_ARG_WITH(dvd
read
-exec-prefix,
AC_HELP_STRING([--with-dvd
read
-exec-prefix=DIR], [exec prefix where DVD
READ
is installed (optional)]),
dvd
read
_config_exec_prefix="$withval", dvd
read
_config_exec_prefix="")
AC_ARG_ENABLE(dvd
read
test,
AC_HELP_STRING([--disable-dvd
read
test], [do not try to compile and run a test DVD
READ
program]),
enable_dvd
read
test=$enableval, enable_dvd
read
test=yes)
if test x$dvd
nav
_config_exec_prefix != x ; then
dvd
nav
_config_args="$dvd
nav
_config_args --exec-prefix=$dvd
nav
_config_exec_prefix"
if test x${DVD
NAV
_CONFIG+set} != xset ; then
DVD
NAV
_CONFIG=$dvd
nav
_config_exec_prefix/bin/dvd
nav
-config
if test x$dvd
read
_config_exec_prefix != x ; then
dvd
read
_config_args="$dvd
read
_config_args --exec-prefix=$dvd
read
_config_exec_prefix"
if test x${DVD
READ
_CONFIG+set} != xset ; then
DVD
READ
_CONFIG=$dvd
read
_config_exec_prefix/bin/dvd
read
-config
fi
fi
if test x$dvd
nav
_config_prefix != x ; then
dvd
nav
_config_args="$dvd
nav
_config_args --prefix=$dvd
nav
_config_prefix"
if test x${DVD
NAV
_CONFIG+set} != xset ; then
DVD
NAV
_CONFIG=$dvd
nav
_config_prefix/bin/dvd
nav
-config
if test x$dvd
read
_config_prefix != x ; then
dvd
read
_config_args="$dvd
read
_config_args --prefix=$dvd
read
_config_prefix"
if test x${DVD
READ
_CONFIG+set} != xset ; then
DVD
READ
_CONFIG=$dvd
read
_config_prefix/bin/dvd
read
-config
fi
fi
min_dvd
nav
_version=ifelse([$1], ,0.0.0,$1)
if test "x$enable_dvd
nav
test" != "xyes" ; then
AC_MSG_CHECKING([for DVD
NAV
-LIB version >= $min_dvd
nav
_version])
min_dvd
read
_version=ifelse([$1], ,0.0.0,$1)
if test "x$enable_dvd
read
test" != "xyes" ; then
AC_MSG_CHECKING([for DVD
READ
-LIB version >= $min_dvd
read
_version])
else
AC_PATH_PROG(DVD
NAV
_CONFIG, dvd
nav
-config, no)
AC_MSG_CHECKING([for DVD
NAV
-LIB version >= $min_dvd
nav
_version])
no_dvd
nav
=""
if test "$DVD
NAV
_CONFIG" = "no" ; then
no_dvd
nav
=yes
AC_PATH_PROG(DVD
READ
_CONFIG, dvd
read
-config, no)
AC_MSG_CHECKING([for DVD
READ
-LIB version >= $min_dvd
read
_version])
no_dvd
read
=""
if test "$DVD
READ
_CONFIG" = "no" ; then
no_dvd
read
=yes
else
DVD
NAV
_CFLAGS=`$DVD
NAV
_CONFIG $dvd
nav
_config_args --cflags`
DVD
NAV
_LIBS=`$DVD
NAV
_CONFIG $dvd
nav
_config_args --libs`
dvd
nav
_config_major_version=`$DVD
NAV
_CONFIG $dvd
nav
_config_args --version | \
DVD
READ
_CFLAGS=`$DVD
READ
_CONFIG $dvd
read
_config_args --cflags`
DVD
READ
_LIBS=`$DVD
READ
_CONFIG $dvd
read
_config_args --libs`
dvd
read
_config_major_version=`$DVD
READ
_CONFIG $dvd
read
_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
dvd
nav
_config_minor_version=`$DVD
NAV
_CONFIG $dvd
nav
_config_args --version | \
dvd
read
_config_minor_version=`$DVD
READ
_CONFIG $dvd
read
_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
dvd
nav
_config_sub_version=`$DVD
NAV
_CONFIG $dvd
nav
_config_args --version | \
dvd
read
_config_sub_version=`$DVD
READ
_CONFIG $dvd
read
_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
dnl if test "x$enable_dvd
nav
test" = "xyes" ; then
dnl if test "x$enable_dvd
read
test" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $DVD
NAV
_CFLAGS"
LIBS="$DVD
NAV
_LIBS $LIBS"
CFLAGS="$CFLAGS $DVD
READ
_CFLAGS"
LIBS="$DVD
READ
_LIBS $LIBS"
dnl
dnl Now check if the installed DVD
NAV
is sufficiently new. (Also sanity
dnl checks the results of dvd
nav
-config to some extent
dnl Now check if the installed DVD
READ
is sufficiently new. (Also sanity
dnl checks the results of dvd
read
-config to some extent
dnl
AC_LANG_SAVE()
AC_LANG_C()
rm -f conf.dvd
nav
test
rm -f conf.dvd
read
test
AC_TRY_RUN([
#include <dvd
nav
.h>
#include <dvd
read
.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
...
...
@@ -95,66 +95,66 @@ main ()
int major, minor, sub;
char *tmp_version;
system ("touch conf.dvd
nav
test");
system ("touch conf.dvd
read
test");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = (char *) strdup("$min_dvd
nav
_version");
tmp_version = (char *) strdup("$min_dvd
read
_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &sub) != 3) {
printf("%s, bad version string\n", "$min_dvd
nav
_version");
printf("%s, bad version string\n", "$min_dvd
read
_version");
exit(1);
}
if (($dvd
nav
_config_major_version > major) ||
(($dvd
nav
_config_major_version == major) && ($dvd
nav
_config_minor_version > minor)) ||
(($dvd
nav
_config_major_version == major) && ($dvd
nav
_config_minor_version == minor) && ($dvd
nav
_config_sub_version >= sub))) {
if (($dvd
read
_config_major_version > major) ||
(($dvd
read
_config_major_version == major) && ($dvd
read
_config_minor_version > minor)) ||
(($dvd
read
_config_major_version == major) && ($dvd
read
_config_minor_version == minor) && ($dvd
read
_config_sub_version >= sub))) {
return 0;
} else {
printf("\n*** An old version of libdvd
nav
(%d.%d.%d) was found.\n",
$dvd
nav
_config_major_version, $dvd
nav
_config_minor_version, $dvd
nav
_config_sub_version);
printf("*** You need a version of libdvd
nav
newer than %d.%d.%d. The latest version of\n",
printf("\n*** An old version of libdvd
read
(%d.%d.%d) was found.\n",
$dvd
read
_config_major_version, $dvd
read
_config_minor_version, $dvd
read
_config_sub_version);
printf("*** You need a version of libdvd
read
newer than %d.%d.%d. The latest version of\n",
major, minor, sub);
printf("*** libdvd
nav
is always available from:\n");
printf("*** libdvd
read
is always available from:\n");
printf("*** http://dvd.sourceforge.net\n");
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the dvd
nav
-config shell script is\n");
printf("*** probably means that the wrong copy of the dvd
read
-config shell script is\n");
printf("*** being found. The easiest way to fix this is to remove the old version\n");
printf("*** of libdvd
nav
, but you can also set the DVD
NAV
_CONFIG environment to point to the\n");
printf("*** correct copy of dvd
nav
-config. (In this case, you will have to\n");
printf("*** of libdvd
read
, but you can also set the DVD
READ
_CONFIG environment to point to the\n");
printf("*** correct copy of dvd
read
-config. (In this case, you will have to\n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
return 1;
}
],, no_dvd
nav
=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
],, no_dvd
read
=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_dvd
nav
" = x ; then
if test "x$no_dvd
read
" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$DVD
NAV
_CONFIG" = "no" ; then
echo "*** The dvd
nav
-config script installed by DVD
NAV
could not be found"
echo "*** If DVD
NAV
was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the DVD
NAV
_CONFIG environment variable to the"
echo "*** full path to dvd
nav
-config."
if test "$DVD
READ
_CONFIG" = "no" ; then
echo "*** The dvd
read
-config script installed by DVD
READ
could not be found"
echo "*** If DVD
READ
was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the DVD
READ
_CONFIG environment variable to the"
echo "*** full path to dvd
read
-config."
else
if test -f conf.dvd
nav
test ; then
if test -f conf.dvd
read
test ; then
:
else
echo "*** Could not run DVD
NAV
test program, checking why..."
CFLAGS="$CFLAGS $DVD
NAV
_CFLAGS"
LIBS="$LIBS $DVD
NAV
_LIBS"
echo "*** Could not run DVD
READ
test program, checking why..."
CFLAGS="$CFLAGS $DVD
READ
_CFLAGS"
LIBS="$LIBS $DVD
READ
_LIBS"
AC_TRY_LINK([
#include <dvd
nav
.h>
#include <dvd
read
.h>
#include <stdio.h>
], [ return 0; ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding DVD
NAV
or finding the wrong"
echo "*** version of DVD
NAV
. If it is not finding DVD
NAV
, you'll need to set your"
echo "*** that the run-time linker is not finding DVD
READ
or finding the wrong"
echo "*** version of DVD
READ
. If it is not finding DVD
READ
, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
...
...
@@ -163,19 +163,19 @@ main ()
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
echo "***"],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means DVD
NAV
was incorrectly installed"
echo "*** or that you have moved DVD
NAV
since it was installed. In the latter case, you"
echo "*** may want to edit the dvd
nav
-config script: $DVD
NAV
_CONFIG" ])
echo "*** exact error that occured. This usually means DVD
READ
was incorrectly installed"
echo "*** or that you have moved DVD
READ
since it was installed. In the latter case, you"
echo "*** may want to edit the dvd
read
-config script: $DVD
READ
_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
DVD
NAV
_CFLAGS=""
DVD
NAV
_LIBS=""
DVD
READ
_CFLAGS=""
DVD
READ
_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(DVD
NAV
_CFLAGS)
AC_SUBST(DVD
NAV
_LIBS)
AC_SUBST(DVD
READ
_CFLAGS)
AC_SUBST(DVD
READ
_LIBS)
AC_LANG_RESTORE()
rm -f conf.dvd
nav
test
rm -f conf.dvd
read
test
])
misc/Makefile.am
View file @
0b2efc96
include
$(top_srcdir)/misc/Makefile.common
EXTRA_DIST
=
dvdnav-config.in
libdvd
nav
.spec.in libdvd
nav
.spec Makefile.common relchk.sh relchk.sh.in
EXTRA_DIST
=
libdvd
read
.spec.in libdvd
read
.spec Makefile.common relchk.sh relchk.sh.in
bin_SCRIPTS
=
dvd
nav
-config
bin_SCRIPTS
=
dvd
read
-config
misc/libdvdnav.spec.in
deleted
100644 → 0
View file @
4b97bc4c
%define prefix @prefix@
%define name @PACKAGE@
%define ver @SPEC_VERSION@
%define rel 0
Name: %{name}
Summary: Low level DVD access library
Version: %{ver}
Release: %{rel}
Group: Development/Libraries
Copyright: GPL
Url: http://dvd.sourceforge.net/
Source: %{name}-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
libdvdread provides support to applications wishing to make use of basic
DVD reading features.
%prep
%setup
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
make
%install
rm -rf $RPM_BUILD_ROOT
make install-strip DESTDIR=$RPM_BUILD_ROOT
%clean
rm -r $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL README
%{prefix}/bin/dvdread-config
%{prefix}/lib/libdvdread*.la
%{prefix}/lib/libdvdread*.so.*
%{prefix}/lib/libdvdread*.so
%{prefix}/include/libdvdread/*
@INSTALL_M4_TRUE@@ACLOCAL_DIR@/dvdread.m4
%changelog
* Sun Mar 18 2002 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
- Add missing files. Fix rpm generation.
* Tue Mar 12 2002 Rich Wareham <richwareham@users.sourceforge.net>
- Canabalisation to form libdvdnav spec file.
* Sun Sep 09 2001 Thomas Vander Stichele <thomas@apestaart.org>
- first spec file
src/Makefile.am
View file @
0b2efc96
...
...
@@ -2,7 +2,7 @@ include $(top_srcdir)/misc/Makefile.common
includedir
=
${prefix}
/include/libdvdread
AM_CPPFLAGS
=
-DDVDNAV_COMPILE
-I
$(top_srcdir)
/src
/vm
AM_CPPFLAGS
=
-I
$(top_srcdir)
/src
lib_LTLIBRARIES
=
libdvdread.la
...
...
@@ -12,7 +12,7 @@ libdvdread_la_SOURCES = dvd_reader.c nav_read.c ifo_read.c \
libdvdread_la_LIBADD
=
$(DYNAMIC_LD_LIBS)
libdvdread_la_LDFLAGS
=
-version-info
$(DVD
NAV
_LT_CURRENT)
:
$(DVD
NAV
_LT_REVISION)
:
$(DVD
NAV
_LT_AGE)
\
libdvdread_la_LDFLAGS
=
-version-info
$(DVD
READ
_LT_CURRENT)
:
$(DVD
READ
_LT_REVISION)
:
$(DVD
READ
_LT_AGE)
\
-export-symbols-regex
"(^dvd.*|^nav.*|^ifo.*|^DVD.*|^UDF.*)"
include_HEADERS
=
dvd_reader.h nav_read.h ifo_read.h
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment