Changeset 647a7ada7ba25b2f779d796e9f181ef2ebb5f913
- Timestamp:
- 04/11/08 13:52:55
(5 months ago)
- Author:
- Jean-Paul Saman <jean-paul.saman@m2x.nl>
- git-committer:
- Jean-Paul Saman <jean-paul.saman@m2x.nl> 1207914775 +0200
- git-parent:
[3be83e2d2033c342e0cd4f701cfd2e825e18d5bb]
- git-author:
- Jean-Paul Saman <jean-paul.saman@m2x.nl> 1207914775 +0200
- Message:
Don't install scripts and images when the plugin/module that needs them is not build.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2dbc7ec |
r647a7ad |
|
| 683 | 683 | done |
|---|
| 684 | 684 | |
|---|
| | 685 | if BUILD_LUA |
|---|
| 685 | 686 | mkdir -p "$(top_builddir)/vlc-$(VERSION)/lua/http/images" |
|---|
| 686 | 687 | mkdir -p "$(top_builddir)/vlc-$(VERSION)/lua/http/requests" |
|---|
| … | … | |
| 705 | 706 | cp $(srcdir)/share/lua/http/requests/readme $(top_builddir)/vlc-$(VERSION)/lua/http/requests/readme.txt ; |
|---|
| 706 | 707 | unix2dos $(top_builddir)/vlc-$(VERSION)/lua/http/requests/readme.txt ; |
|---|
| 707 | | |
|---|
| | 708 | endif |
|---|
| | 709 | |
|---|
| | 710 | if BUILD_HTTPD |
|---|
| 708 | 711 | mkdir -p "$(top_builddir)/vlc-$(VERSION)/http/images" |
|---|
| 709 | 712 | mkdir -p "$(top_builddir)/vlc-$(VERSION)/http/requests" |
|---|
| … | … | |
| 742 | 745 | unix2dos $(top_builddir)/vlc-$(VERSION)/http/old/admin/*.html ; |
|---|
| 743 | 746 | cp $(srcdir)/share/http/old/admin/.access $(top_builddir)/vlc-$(VERSION)/http/old/admin/ ; |
|---|
| | 747 | endif |
|---|
| 744 | 748 | |
|---|
| 745 | 749 | cp $(srcdir)/share/vlc48x48.ico $(top_builddir)/vlc-$(VERSION)/ ; |
|---|
| … | … | |
| 787 | 791 | fi ; done |
|---|
| 788 | 792 | |
|---|
| | 793 | if BUILD_SKINS |
|---|
| 789 | 794 | # Skins |
|---|
| 790 | 795 | mkdir -p $(top_builddir)/vlc-$(VERSION)/skins/fonts |
|---|
| … | … | |
| 795 | 800 | cp $$i $(top_builddir)/vlc-$(VERSION)/skins/ || true ; \ |
|---|
| 796 | 801 | done |
|---|
| 797 | | |
|---|
| | 802 | endif |
|---|
| | 803 | |
|---|
| | 804 | if BUILD_LUA |
|---|
| 798 | 805 | #Lua Scripts |
|---|
| 799 | 806 | $(INSTALL) -d $(top_builddir)/vlc-$(VERSION)/scripts/playlist |
|---|
| … | … | |
| 813 | 820 | $(INSTALL) -m 644 $${i} $(top_builddir)/vlc-$(VERSION)/scripts/intf/modules/`basename $${i}` ; \ |
|---|
| 814 | 821 | done ; |
|---|
| 815 | | |
|---|
| | 822 | endif |
|---|
| | 823 | |
|---|
| | 824 | if BUILD_OSDMENU |
|---|
| 816 | 825 | #OSD Menu |
|---|
| 817 | 826 | mkdir -p "$(top_builddir)/vlc-$(VERSION)/osdmenu" |
|---|
| … | … | |
| 829 | 838 | rm -f $$file.tmp; \ |
|---|
| 830 | 839 | done |
|---|
| 831 | | |
|---|
| | 840 | endif |
|---|
| 832 | 841 | |
|---|
| 833 | 842 | package-win32-base: package-win32-base-debug package-win-common-strip |
|---|
| re346b4c |
r647a7ad |
|
| 1639 | 1639 | PKG_CHECK_MODULES(LUA, lua >= 5.1, |
|---|
| 1640 | 1640 | [ have_lua=yes ], |
|---|
| 1641 | | [ |
|---|
| | 1641 | [ |
|---|
| 1642 | 1642 | have_lua=yes |
|---|
| 1643 | | AC_CHECK_HEADERS([lua.h lauxlib.h lualib.h], |
|---|
| 1644 | | [], |
|---|
| | 1643 | AC_CHECK_HEADERS([lua.h lauxlib.h lualib.h], |
|---|
| | 1644 | [], |
|---|
| 1645 | 1645 | [ have_lua=no ] ) |
|---|
| 1646 | | AC_CHECK_LIB( lua5.1 , luaL_newstate, |
|---|
| | 1646 | AC_CHECK_LIB( lua5.1 , luaL_newstate, |
|---|
| 1647 | 1647 | [LUA_LIBS="-llua5.1"], |
|---|
| 1648 | | AC_CHECK_LIB( lua51 , luaL_newstate, |
|---|
| | 1648 | AC_CHECK_LIB( lua51 , luaL_newstate, |
|---|
| 1649 | 1649 | [LUA_LIBS="-llua51"], |
|---|
| 1650 | | AC_CHECK_LIB( lua , luaL_newstate, |
|---|
| 1651 | | [LUA_LIBS="-llua"], |
|---|
| 1652 | | [ have_lua=no |
|---|
| | 1650 | AC_CHECK_LIB( lua , luaL_newstate, |
|---|
| | 1651 | [LUA_LIBS="-llua"], |
|---|
| | 1652 | [ have_lua=no |
|---|
| 1653 | 1653 | AC_MSG_WARN([lua >= 5.1 not found!]) |
|---|
| 1654 | 1654 | ]) |
|---|
| 1655 | | ) |
|---|
| 1656 | | ) |
|---|
| | 1655 | ) |
|---|
| | 1656 | ) |
|---|
| 1657 | 1657 | ]) |
|---|
| 1658 | 1658 | ]) |
|---|
| … | … | |
| 1664 | 1664 | fi |
|---|
| 1665 | 1665 | fi |
|---|
| | 1666 | AM_CONDITIONAL(BUILD_LUA, [test "${have_lua}" = "yes"]) |
|---|
| 1666 | 1667 | |
|---|
| 1667 | 1668 | dnl |
|---|
| … | … | |
| 1675 | 1676 | AC_DEFINE(ENABLE_HTTPD, 1, Define if you want the HTTP dameon support) |
|---|
| 1676 | 1677 | fi |
|---|
| | 1678 | AM_CONDITIONAL(BUILD_HTTPD, [test "${enable_httpd}" != "no"]) |
|---|
| 1677 | 1679 | |
|---|
| 1678 | 1680 | dnl |
|---|
| … | … | |
| 3737 | 3739 | AC_DEFINE(HAVE_LIBPNG, 1, [Define if you have the PNG library: libpng])], |
|---|
| 3738 | 3740 | [],[-lz]) |
|---|
| 3739 | | LDFLAGS="${LDFLAGS_save}" |
|---|
| | 3741 | LDFLAGS="${LDFLAGS_save}" |
|---|
| 3740 | 3742 | ]) |
|---|
| 3741 | 3743 | fi |
|---|
| | 3744 | AM_CONDITIONAL(BUILD_OSDMENU, [test "${enable_png}" != "no"]) |
|---|
| 3742 | 3745 | |
|---|
| 3743 | 3746 | dnl |
|---|
| … | … | |
| 4202 | 4205 | if test "${enable_freetype}" != "no" |
|---|
| 4203 | 4206 | then |
|---|
| 4204 | | PKG_CHECK_MODULES(FREETYPE, freetype2,[ |
|---|
| | 4207 | PKG_CHECK_MODULES(FREETYPE, freetype2,[ |
|---|
| 4205 | 4208 | VLC_ADD_PLUGINS([freetype]) |
|---|
| 4206 | | have_freetype=yes |
|---|
| | 4209 | have_freetype=yes |
|---|
| 4207 | 4210 | VLC_ADD_CPPFLAGS([freetype skins2],[${FREETYPE_CFLAGS}]) |
|---|
| 4208 | 4211 | VLC_ADD_LIBS([freetype skins2],[${FREETYPE_LIBS}]) |
|---|
| … | … | |
| 4949 | 4952 | fi fi fi |
|---|
| 4950 | 4953 | fi |
|---|
| 4951 | | |
|---|
| | 4954 | AM_CONDITIONAL(BUILD_SKINS, [test "${enable_skins2}" = "yes"]) |
|---|
| 4952 | 4955 | |
|---|
| 4953 | 4956 | dnl dnl |
|---|
| … | … | |
| 5038 | 5041 | fi |
|---|
| 5039 | 5042 | fi |
|---|
| | 5043 | AM_CONDITIONAL(BUILD_PDA, [test "${enable_pda}" = "yes"]) |
|---|
| 5040 | 5044 | |
|---|
| 5041 | 5045 | dnl dnl |
|---|
| … | … | |
| 5214 | 5218 | ], |
|---|
| 5215 | 5219 | AS_IF([test "${enable_qt4}" = "yes"],[ |
|---|
| 5216 | | AC_MSG_ERROR(QT4 library not found) |
|---|
| | 5220 | AC_MSG_ERROR(QT4 library not found) |
|---|
| 5217 | 5221 | ],[ |
|---|
| 5218 | | AC_MSG_WARN(QT4 library not found) |
|---|
| | 5222 | AC_MSG_WARN(QT4 library not found) |
|---|
| 5219 | 5223 | ]) |
|---|
| 5220 | 5224 | ) |
|---|
| … | … | |
| 6016 | 6020 | CFLAGS="${CFLAGS_save}" |
|---|
| 6017 | 6021 | fi |
|---|
| 6018 | | |
|---|
| 6019 | 6022 | AM_CONDITIONAL(BUILD_PYTHON, [test "${enable_python_bindings}" = "yes"]) |
|---|
| 6020 | 6023 | |
|---|
| … | … | |
| 6130 | 6133 | AC_DEFINE(HAVE_DYNAMIC_PLUGINS, 1, Define if we have support for dynamic plugins) |
|---|
| 6131 | 6134 | ]) |
|---|
| 6132 | | |
|---|
| 6133 | 6135 | AM_CONDITIONAL(HAVE_PLUGINS, [test "${plugin_support}" != "no"]) |
|---|
| 6134 | 6136 | |
|---|
| r3aa3031 |
r647a7ad |
|
| 25 | 25 | $(DIST_mozilla) |
|---|
| 26 | 26 | |
|---|
| | 27 | if BUILD_SKINS |
|---|
| 27 | 28 | nobase_pkgdata_DATA = skins2/default.vlt |
|---|
| | 29 | endif |
|---|
| 28 | 30 | nobase_dist_data_DATA = applications/vlc.desktop |
|---|
| 29 | 31 | |
|---|
| … | … | |
| 36 | 38 | vlc_win32_rc.rc |
|---|
| 37 | 39 | |
|---|
| | 40 | if BUILD_PDA |
|---|
| 38 | 41 | DIST_pda = \ |
|---|
| 39 | 42 | pda-forwardb16x16.xpm \ |
|---|
| … | … | |
| 45 | 48 | pda-rewindb16x16.xpm \ |
|---|
| 46 | 49 | pda-stopb16x16.xpm |
|---|
| | 50 | endif |
|---|
| 47 | 51 | |
|---|
| 48 | 52 | DIST_icons16 = vlc16x16.png vlc16x16.xpm |
|---|
| … | … | |
| 54 | 58 | DIST_icons128 = vlc128x128.png vlc128x128-christmas.png |
|---|
| 55 | 59 | |
|---|
| | 60 | if BUILD_SKINS |
|---|
| 56 | 61 | DIST_skins2 = \ |
|---|
| 57 | 62 | skins2/fonts/FreeSans.ttf \ |
|---|
| … | … | |
| 94 | 99 | mkdir -p skins2 |
|---|
| 95 | 100 | tar cvvzf skins2/default.vlt --exclude .svn -C $(srcdir)/skins2 default/ |
|---|
| 96 | | |
|---|
| | 101 | endif |
|---|
| | 102 | |
|---|
| | 103 | if BUILD_HTTPD |
|---|
| 97 | 104 | DIST_http = \ |
|---|
| 98 | 105 | http/.hosts \ |
|---|
| … | … | |
| 174 | 181 | http/vlm_export.html \ |
|---|
| 175 | 182 | http/flash.html |
|---|
| 176 | | |
|---|
| | 183 | endif |
|---|
| | 184 | |
|---|
| | 185 | if BUILD_OSDMENU |
|---|
| 177 | 186 | DIST_osdmenu_default = \ |
|---|
| 178 | 187 | osdmenu/default.cfg \ |
|---|
| … | … | |
| 248 | 257 | osdmenu/minimal/fs_panel.png \ |
|---|
| 249 | 258 | osdmenu/minimal/fs_panel_mockup.png |
|---|
| 250 | | |
|---|
| | 259 | endif |
|---|
| | 260 | |
|---|
| | 261 | if BUILD_LUA |
|---|
| 251 | 262 | DIST_lua= \ |
|---|
| 252 | 263 | lua/meta/README.txt \ |
|---|
| … | … | |
| 340 | 351 | lua/http/vlm_export.html \ |
|---|
| 341 | 352 | lua/http/flash.html |
|---|
| 342 | | |
|---|
| | 353 | endif |
|---|
| | 354 | |
|---|
| | 355 | if BUILD_MOZILLA |
|---|
| 343 | 356 | DIST_mozilla = \ |
|---|
| 344 | 357 | mozilla/fullscreen.xpm \ |
|---|
| … | … | |
| 354 | 367 | mozilla/volume_mute.xpm \ |
|---|
| 355 | 368 | mozilla/volume_slider_bar.xpm |
|---|
| | 369 | endif |
|---|