Changeset 3f31425b48d317892afb41e7e3cb22122ff2be19
- Timestamp:
- 20/12/02 08:35:39
(6 years ago)
- Author:
- Yves Duret <yves@videolan.org>
- git-committer:
- Yves Duret <yves@videolan.org> 1040369739 +0000
- git-parent:
[1e44e520098c892698b33f9053f4a4bb6d3df103]
- git-author:
- Yves Duret <yves@videolan.org> 1040369739 +0000
- Message:
- added rawdv plugin.
- make it working again with daily CVS snapshot.
- some typos fixed.
- better workaround for broken mdk configure macro (aka don't harcore arch in name).
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r4c0de20 |
r3f31425 |
|
| 6 | 6 | %define libname lib%name%libmajor |
|---|
| 7 | 7 | |
|---|
| 8 | | %define cvs 0 |
|---|
| | 8 | %define cvs 1 |
|---|
| 9 | 9 | %if %{cvs} |
|---|
| 10 | | %define cvsdate 20021213 |
|---|
| 11 | | %define release 0.%{cvsdate} |
|---|
| 12 | | %define cvs_name %{name}-%version-cvs |
|---|
| | 10 | %define cvsrel 1 |
|---|
| | 11 | %define cvsdate 20021220 |
|---|
| | 12 | %define release 0.%{cvsdate}.%{cvsrel}mdk |
|---|
| | 13 | %define cvs_name %{name}-snapshot-%cvsdate |
|---|
| 13 | 14 | %else |
|---|
| 14 | 15 | %define release %{rel}mdk |
|---|
| … | … | |
| 30 | 31 | %define with_ggi 1 |
|---|
| 31 | 32 | %define with_svgalib 0 |
|---|
| 32 | | %define with_xosd 0 |
|---|
| | 33 | %define with_xosd 1 |
|---|
| 33 | 34 | |
|---|
| 34 | 35 | %define with_mad 1 |
|---|
| … | … | |
| 37 | 38 | %define with_dv 0 |
|---|
| 38 | 39 | %define with_dvb 0 |
|---|
| 39 | | %define with_ffmpeg 0 |
|---|
| | 40 | %define with_ffmpeg 1 |
|---|
| 40 | 41 | |
|---|
| 41 | 42 | %define with_esd 1 |
|---|
| … | … | |
| 118 | 119 | Requires: vlc-gui |
|---|
| 119 | 120 | # vlc-mad needed by ffmpeg builtin (i want MPEG4 support out of box) |
|---|
| 120 | | Requires: vlc-mad |
|---|
| | 121 | Requires: vlc-plugin-mad |
|---|
| | 122 | #DVD working out of box. |
|---|
| | 123 | Requires: vlc-plugin-a52 |
|---|
| 121 | 124 | |
|---|
| 122 | 125 | BuildRoot: %_tmppath/%name-%version-%release-root |
|---|
| … | … | |
| 469 | 472 | %else |
|---|
| 470 | 473 | %setup -q |
|---|
| 471 | | #-n %name-%version-cvs |
|---|
| 472 | 474 | %endif |
|---|
| 473 | 475 | |
|---|
| … | … | |
| 550 | 552 | --disable-vorbis \ |
|---|
| 551 | 553 | --disable-ogg \ |
|---|
| | 554 | %endif |
|---|
| | 555 | %if %with_dvb |
|---|
| | 556 | --enable-dvb --enable-dvbpsi --enable-satellite \ |
|---|
| | 557 | %else |
|---|
| | 558 | --disable-dvb --disable-dvbpsi --disable-satellite \ |
|---|
| 552 | 559 | %endif |
|---|
| 553 | 560 | %if %with_esd |
|---|
| … | … | |
| 631 | 638 | rm -f %pngdir/* |
|---|
| 632 | 639 | #rm -f %buildroot/%_libdir/vlc/demux/libts_dvbpsi_plugin.so |
|---|
| 633 | | #FIXME: why ? |
|---|
| 634 | | #mv %buildroot/%_bindir/i586-mandrake-linux-gnu-vlc %buildroot/%_bindir/vlc |
|---|
| 635 | | #mv %buildroot/%_bindir/i586-mandrake-linux-gnu-vlc-config %buildroot/%_bindir/vlc-config |
|---|
| | 640 | #FIXME: mandrake configure2_5x macro is broken (force cross compile mode) |
|---|
| | 641 | mv %buildroot/%_bindir/%_target_cpu-mandrake-linux-gnu-vlc %buildroot/%_bindir/vlc |
|---|
| | 642 | mv %buildroot/%_bindir/%_target_cpu-mandrake-linux-gnu-vlc-config %buildroot/%_bindir/vlc-config |
|---|
| 636 | 643 | |
|---|
| 637 | 644 | %post |
|---|
| … | … | |
| 646 | 653 | %defattr(-,root,root) |
|---|
| 647 | 654 | %doc README COPYING |
|---|
| 648 | | %_bindir/*vlc |
|---|
| | 655 | %_bindir/vlc |
|---|
| 649 | 656 | |
|---|
| 650 | 657 | %dir %_libdir/vlc |
|---|
| … | … | |
| 652 | 659 | %dir %_libdir/vlc/access |
|---|
| 653 | 660 | %_libdir/vlc/access/libaccess_file_plugin.so |
|---|
| | 661 | %_libdir/vlc/access/libaccess_ftp_plugin.so |
|---|
| 654 | 662 | %_libdir/vlc/access/libaccess_http_plugin.so |
|---|
| 655 | 663 | %_libdir/vlc/access/libaccess_mms_plugin.so |
|---|
| … | … | |
| 669 | 677 | |
|---|
| 670 | 678 | %dir %_libdir/vlc/audio_filter |
|---|
| 671 | | %_libdir/vlc/audio_filter/liba52tofloat32_plugin.so |
|---|
| 672 | | %_libdir/vlc/audio_filter/liba52tospdif_plugin.so |
|---|
| 673 | 679 | %_libdir/vlc/audio_filter/libfixed32tofloat32_plugin.so |
|---|
| 674 | 680 | %_libdir/vlc/audio_filter/libfixed32tos16_plugin.so |
|---|
| … | … | |
| 698 | 704 | |
|---|
| 699 | 705 | %dir %_libdir/vlc/codec |
|---|
| | 706 | %_libdir/vlc/codec/liba52_plugin.so |
|---|
| 700 | 707 | %_libdir/vlc/codec/libadpcm_plugin.so |
|---|
| 701 | 708 | %_libdir/vlc/codec/libaraw_plugin.so |
|---|
| … | … | |
| 715 | 722 | %_libdir/vlc/codec/libmpeg_audio_plugin.so |
|---|
| 716 | 723 | %_libdir/vlc/codec/libmpeg_video_plugin.so |
|---|
| | 724 | %if %with_ffmpeg |
|---|
| | 725 | %_libdir/vlc/codec/libpostprocessing_c_plugin.so |
|---|
| | 726 | %_libdir/vlc/codec/libpostprocessing_mmx_plugin.so |
|---|
| | 727 | %_libdir/vlc/codec/libpostprocessing_mmxext_plugin.so |
|---|
| | 728 | %endif |
|---|
| 717 | 729 | %_libdir/vlc/codec/libspudec_plugin.so |
|---|
| 718 | 730 | |
|---|
| … | … | |
| 733 | 745 | %_libdir/vlc/demux/libmpeg_system_plugin.so |
|---|
| 734 | 746 | %_libdir/vlc/demux/libps_plugin.so |
|---|
| | 747 | %_libdir/vlc/demux/librawdv_plugin.so |
|---|
| 735 | 748 | %_libdir/vlc/demux/libts_plugin.so |
|---|
| 736 | | %_libdir/vlc/demux/libts_dvbpsi_plugin.so |
|---|
| 737 | 749 | %_libdir/vlc/demux/libwav_plugin.so |
|---|
| 738 | 750 | |
|---|
| … | … | |
| 801 | 813 | %_libdir/*a |
|---|
| 802 | 814 | %_libdir/vlc/*a |
|---|
| 803 | | %_bindir/*vlc-config |
|---|
| | 815 | %_bindir/vlc-config |
|---|
| 804 | 816 | %_mandir/man1/vlc-config* |
|---|
| 805 | 817 | |
|---|
| … | … | |
| 810 | 822 | # FIXME: seems to be mozilla-version/plugin on Mandrake |
|---|
| 811 | 823 | #%dir %_libdir/mozilla |
|---|
| 812 | | %_libdir/mozilla/* |
|---|
| | 824 | %_libdir/mozilla*/* |
|---|
| 813 | 825 | %endif |
|---|
| 814 | 826 | |
|---|
| … | … | |
| 959 | 971 | %defattr(-,root,root) |
|---|
| 960 | 972 | %doc README |
|---|
| 961 | | %_libdir/vlc/codec/liba52_plugin.so |
|---|
| | 973 | %_libdir/vlc/audio_filter/liba52tofloat32_plugin.so |
|---|
| | 974 | %_libdir/vlc/audio_filter/liba52tospdif_plugin.so |
|---|
| 962 | 975 | %endif |
|---|
| 963 | 976 | |
|---|
| … | … | |
| 968 | 981 | %doc README |
|---|
| 969 | 982 | %_libdir/vlc/access/libsatellite_plugin.so |
|---|
| | 983 | %_libdir/vlc/demux/libts_dvbpsi_plugin.so |
|---|
| 970 | 984 | %endif |
|---|
| 971 | 985 | |
|---|