if HAVE_BEOS
vlc-bundle: vlc
- rm -rf $(srcdir)/vlc-bundle ; mkdir -p $(srcdir)/vlc-bundle
+ rm -Rf $(srcdir)/vlc-bundle ; mkdir -p $(srcdir)/vlc-bundle
cp $(srcdir)/vlc $(srcdir)/vlc-bundle/
xres -o $(srcdir)/vlc-bundle/vlc $(srcdir)/share/vlc_beos.rsrc
for i in "" `$(VLC_CONFIG) --target plugin` ; do \
cp "$(srcdir)/po/$$i.gmo" \
"$(srcdir)/vlc-bundle/locale/$$i/LC_MESSAGES/vlc.mo" || true ; \
done
- find $(srcdir)/vlc-bundle -type f $(srcdir)/vlc-bundle -exec mimeset -f "{}" \;
+ find $(srcdir)/vlc-bundle -type f -exec mimeset -f "{}" \;
endif
# Install the modules and the symlinks
# Copy relevant files
mkdir -p $(srcdir)/tmp/vlc ;
- cd $(srcdir) && \
- cp vlc AUTHORS COPYING ChangeLog README THANKS NEWS tmp/vlc/ ;
-# We cannot use ${PLUGIN_FILES} as it looks like it is too "long" for the BeOS shell...
- if [ `find $(srcdir)/modules -name "lib*_plugin.so" | wc -l` -gt 0 ]; then \
- mkdir -p $(srcdir)/tmp/vlc/plugins ; \
- find $(srcdir)/modules -name "lib*_plugin.so" -exec cp {} $(srcdir)/tmp/vlc/plugins/ \; ; \
- fi
- for i in $(ALL_LINGUAS); do \
- mkdir -p $(srcdir)/tmp/vlc/locale/$${i}/LC_MESSAGES ; \
- cp $(srcdir)/po/$${i}.gmo $(srcdir)/tmp/vlc/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \
- done
+ cd $(srcdir) && cp -R vlc-bundle/* AUTHORS COPYING ChangeLog README \
+ THANKS NEWS tmp/vlc/ ;
+
+# Create debug package
+ xres -o $(srcdir)/tmp/vlc/vlc $(srcdir)/share/vlc_beos.rsrc ;
+ find $(srcdir)/tmp/vlc -exec mimeset -f {} \; ;
+ mv $(srcdir)/tmp/vlc $(srcdir)/tmp/vlc-${VERSION} ;
+ (cd $(srcdir)/tmp ; zip -9 -r vlc-${VERSION}-BeOS-debug.zip vlc-${VERSION} )
+ mv $(srcdir)/tmp/vlc-${VERSION}-BeOS-debug.zip $(srcdir)/ ;
+ mv $(srcdir)/tmp/vlc-${VERSION} $(srcdir)/tmp/vlc ;
-# Strip files and create package
+# Create normal package
strip --strip-debug --strip-unneeded $(srcdir)/tmp/vlc/vlc ;
- if [ -d $(srcdir)/tmp/vlc/plugins ]; then \
- strip --strip-debug --strip-unneeded $(srcdir)/tmp/vlc/plugins/lib*_plugin.so ; \
- fi
+ find $(srcdir)/tmp/vlc -name 'lib*.so' -exec strip \
+ --strip-debug --strip-unneeded "{}" \; ;
xres -o $(srcdir)/tmp/vlc/vlc $(srcdir)/share/vlc_beos.rsrc ;
find $(srcdir)/tmp/vlc -exec mimeset -f {} \; ;
mv $(srcdir)/tmp/vlc $(srcdir)/tmp/vlc-${VERSION} ;
ifeq ($(SYS),BEOS)
all: .perl .autoconf .libtool .automake .iconv .intl .freetype .fribidi \
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \
- .FLAC .speex .faad .faac .lame .ffmpeg .dvdcss .dvdread
+ .FLAC .speex .faad .faac .lame .ffmpeg .dvdcss .dvdread .dvbpsi \
+ .dts
endif
FORCE:
$(EXTRACT_GZ)
.lame: lame
- (cd $<; ./configure --prefix=$(PREFIX) && make && make install)
+ (cd $<; ./configure --prefix=$(PREFIX) --disable-shared && make && make install)
touch $@
CLEAN_FILE += .lame
libdts-$(LIBDTS_VERSION).tar.gz:
$(WGET) $(LIBDTS_URL)
-libdts: libdts-$(LIBDTS_VERSION).tar.gz
- $(EXTRACT_GZ)
+# libdts 0.0.2 doesn't compile on BeOS
+#libdts: libdts-$(LIBDTS_VERSION).tar.gz
+# $(EXTRACT_GZ)
+
+libdts:
+ svn co svn://svn.videolan.org/libdts/trunk libdts
+ (cd $@; ./bootstrap)
.dts: libdts
(cd $<; ./configure --prefix=$(PREFIX) && make && make install)