diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/SDL_gfx/Makefile | 29 | ||||
-rw-r--r-- | package/SDL_ttf/Makefile | 27 | ||||
-rw-r--r-- | package/alsa-utils/patches/alsa-utils-exp10-workaround.patch | 33 | ||||
-rw-r--r-- | package/mplayer/Makefile | 8 | ||||
-rw-r--r-- | package/mplayer/patches/patch-libao2_ao_alsa_c | 14 | ||||
-rw-r--r-- | package/vlc/Makefile | 46 | ||||
-rw-r--r-- | package/vlc/patches/patch-modules_misc_Makefile_in | 155 | ||||
-rw-r--r-- | package/vlc/patches/patch-src_misc_linux_specific_c | 19 | ||||
-rw-r--r-- | package/xcb-util/Makefile | 23 |
9 files changed, 353 insertions, 1 deletions
diff --git a/package/SDL_gfx/Makefile b/package/SDL_gfx/Makefile new file mode 100644 index 000000000..4dea6018d --- /dev/null +++ b/package/SDL_gfx/Makefile @@ -0,0 +1,29 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= SDL_gfx +PKG_VERSION:= 2.0.22 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 330f291f1f09a1bdf397c9b40d92ca41 +PKG_DESCR:= SDL GFX library +PKG_SECTION:= libs +PKG_DEPENDS:= libsdl +PKG_BUILDDEP:= sdl +PKG_URL:= http://www.ferzkopp.net/joomla/content/view/19/14/ +PKG_SITES:= http://www.ferzkopp.net/Software/SDL_gfx-2.0/ + +PKG_SUBPKGS:= LIBSDL_GFX + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,LIBSDL_GFX,libsdl-gfx,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIGURE_ARGS+= --disable-mmx + +libsdl-gfx-install: + $(INSTALL_DIR) $(IDIR_LIBSDL_GFX)/usr/lib + $(CP) $(WRKINST)/usr/lib/libSDL_gfx.so* $(IDIR_LIBSDL_GFX)/usr/lib + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/SDL_ttf/Makefile b/package/SDL_ttf/Makefile new file mode 100644 index 000000000..a76e49897 --- /dev/null +++ b/package/SDL_ttf/Makefile @@ -0,0 +1,27 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= SDL_ttf +PKG_VERSION:= 2.0.10 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 814e6e17e8879254208d23b3b7e0354b +PKG_DESCR:= TrueType fonts in your SDL applications +PKG_SECTION:= libs +PKG_DEPENDS:= libsdl libfreetype +PKG_BUILDDEP:= sdl freetype +PKG_URL:= http://www.libsdl.org/projects/SDL_ttf/ +PKG_SITES:= http://www.libsdl.org/projects/SDL_ttf/release/ + +PKG_SUBPKGS:= LIBSDL_TTF + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,LIBSDL_TTF,libsdl-ttf,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +libsdl-ttf-install: + $(INSTALL_DIR) $(IDIR_LIBSDL_TTF)/usr/lib + $(CP) $(WRKINST)/usr/lib/libSDL_ttf*so* $(IDIR_LIBSDL_TTF)/usr/lib + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/alsa-utils/patches/alsa-utils-exp10-workaround.patch b/package/alsa-utils/patches/alsa-utils-exp10-workaround.patch new file mode 100644 index 000000000..f4a520a5c --- /dev/null +++ b/package/alsa-utils/patches/alsa-utils-exp10-workaround.patch @@ -0,0 +1,33 @@ +From da14c5ab2a6e030c5c56c979b8eb3ca071890876 Mon Sep 17 00:00:00 2001 +From: Peter Korsgaard <jacmet@sunsite.dk> +Date: Mon, 14 Mar 2011 09:19:18 +0100 +Subject: [PATCH] alsamixer: fix build on uClibc + +exp10 is a glibc extension, which isn't supported on uClibc. Luckily, +exp10() is trivial to compute based on exp(), so add a wrapper for +the uClibc case. + +Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> +--- + alsamixer/volume_mapping.c | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) + +diff --git a/alsamixer/volume_mapping.c b/alsamixer/volume_mapping.c +index 9cacad8..1c0d7c4 100644 +--- a/alsamixer/volume_mapping.c ++++ b/alsamixer/volume_mapping.c +@@ -37,6 +37,11 @@ + #include <stdbool.h> + #include "volume_mapping.h" + ++#ifdef __UCLIBC__ ++/* 10^x = 10^(log e^x) = (e^x)^log10 = e^(x * log 10) */ ++#define exp10(x) (exp((x) * log(10))) ++#endif /* __UCLIBC__ */ ++ + #define MAX_LINEAR_DB_SCALE 24 + + static inline bool use_linear_dB_scale(long dBmin, long dBmax) +-- +1.7.2.3 + diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile index 8bedd1023..8d00df04a 100644 --- a/package/mplayer/Makefile +++ b/package/mplayer/Makefile @@ -18,7 +18,7 @@ PKG_BUILDDEP+= libX11 libXv libpng libXext jpeg PKG_URL:= http://www.mplayerhq.hu/ PKG_SITES:= http://openadk.org/distfiles/ -PKG_ARCH_DEPENDS:= x86 mips +PKG_ARCH_DEPENDS:= x86 mips arm PKG_FLAVOURS_MPLAYER:= WITH_DIRECTFB PKGFD_WITH_DIRECTFB:= enable DirectFB video output support @@ -30,6 +30,7 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,MPLAYER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +XAKE_FLAGS+= GCC_HONOUR_COPTS=s # gcc 4.5 produces internal compiler error with -Os TARGET_CFLAGS:=$(subst Os,O2,$(TARGET_CFLAGS)) @@ -68,6 +69,11 @@ CONFIGURE_CPU_OPTS+= --enable-sse2 else CONFIGURE_CPU_OPTS+= --disable-sse2 endif +#ifeq (${ADK_TARGET_CPU_WITH_IWMMXT},y) +#CONFIGURE_CPU_OPTS+= --enable-iwmmxt +#else +#CONFIGURE_CPU_OPTS+= --disable-iwmmxt +#endif ifeq ($(ADK_DEBUG),y) CONFIGURE_DEBUG= --enable-debug diff --git a/package/mplayer/patches/patch-libao2_ao_alsa_c b/package/mplayer/patches/patch-libao2_ao_alsa_c new file mode 100644 index 000000000..26d0832dc --- /dev/null +++ b/package/mplayer/patches/patch-libao2_ao_alsa_c @@ -0,0 +1,14 @@ +--- mplayer-1.0-32749.orig/libao2/ao_alsa.c 2011-01-03 11:26:52.000000000 +0100 ++++ mplayer-1.0-32749/libao2/ao_alsa.c 2011-09-14 20:52:35.457990653 +0200 +@@ -760,8 +760,9 @@ static int play(void* data, int len, int + { + int num_frames; + snd_pcm_sframes_t res = 0; +- if (!(flags & AOPLAY_FINAL_CHUNK)) +- len = len / ao_data.outburst * ao_data.outburst; ++ // SIGFPE on Sharp Zaurus ARM CPU ++ //if (!(flags & AOPLAY_FINAL_CHUNK)) ++ // len = len / ao_data.outburst * ao_data.outburst; + num_frames = len / bytes_per_sample; + + //mp_msg(MSGT_AO,MSGL_ERR,"alsa-play: frames=%i, len=%i\n",num_frames,len); diff --git a/package/vlc/Makefile b/package/vlc/Makefile new file mode 100644 index 000000000..0a57bf7ea --- /dev/null +++ b/package/vlc/Makefile @@ -0,0 +1,46 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= vlc +PKG_VERSION:= 1.1.11 +PKG_RELEASE:= 1 +PKG_MD5SUM:= a64846d6f21ea179ae8e8bfb6f9447fe +PKG_DESCR:= Media Player +PKG_SECTION:= multimedia +PKG_BUILDDEP:= ffmpeg xcb-util +PKG_DEPENDS:= ffmpeg xcb-util +PKG_URL:= http://www.videolan.org/vlc/ +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=vlc/1.1.11/} + +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,VLC,vlc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIGURE_ARGS+= --disable-lua \ + --disable-dbus \ + --disable-a52 \ + --disable-fribidi \ + --disable-qt4 \ + --disable-skins2 \ + --disable-libgcrypt \ + --disable-remoteosd \ + --disable-dvdnav \ + --disable-libxml2 + +vlc-install: + $(INSTALL_DIR) $(IDIR_VLC)/usr/bin + $(INSTALL_DIR) $(IDIR_VLC)/usr/lib/vlc/plugins + $(CP) $(WRKINST)/usr/lib/libvlc*.so* \ + $(IDIR_VLC)/usr/lib + $(INSTALL_BIN) $(WRKINST)/usr/bin/{c,}vlc \ + $(IDIR_VLC)/usr/bin + $(CP) $(WRKINST)/usr/lib/vlc/plugins/* \ + $(IDIR_VLC)/usr/lib/vlc/plugins + -rm $(IDIR_VLC)/usr/lib/vlc/plugins/*/*.la + -rm $(IDIR_VLC)/usr/lib/vlc/plugins/*/*.a + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/vlc/patches/patch-modules_misc_Makefile_in b/package/vlc/patches/patch-modules_misc_Makefile_in new file mode 100644 index 000000000..a2670d93f --- /dev/null +++ b/package/vlc/patches/patch-modules_misc_Makefile_in @@ -0,0 +1,155 @@ +--- vlc-1.1.11.orig/modules/misc/Makefile.in 2011-07-14 13:28:46.000000000 +0200 ++++ vlc-1.1.11/modules/misc/Makefile.in 2011-09-15 13:17:03.867989779 +0200 +@@ -205,26 +205,6 @@ libwin32text_plugin_la_LINK = $(LIBTOOL) + $(libwin32text_plugin_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ + @HAVE_WINCE_TRUE@am_libwin32text_plugin_la_rpath = -rpath $(libvlcdir) +-am__objects_12 = libxdg_screensaver_plugin_la-xdg.lo +-am_libxdg_screensaver_plugin_la_OBJECTS = $(am__objects_12) +-nodist_libxdg_screensaver_plugin_la_OBJECTS = +-libxdg_screensaver_plugin_la_OBJECTS = \ +- $(am_libxdg_screensaver_plugin_la_OBJECTS) \ +- $(nodist_libxdg_screensaver_plugin_la_OBJECTS) +-libxdg_screensaver_plugin_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ +- $(libxdg_screensaver_plugin_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ +- $(LDFLAGS) -o $@ +-am__objects_13 = libxscreensaver_plugin_la-xscreensaver.lo +-am_libxscreensaver_plugin_la_OBJECTS = $(am__objects_13) +-nodist_libxscreensaver_plugin_la_OBJECTS = +-libxscreensaver_plugin_la_OBJECTS = \ +- $(am_libxscreensaver_plugin_la_OBJECTS) \ +- $(nodist_libxscreensaver_plugin_la_OBJECTS) +-libxscreensaver_plugin_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ +- $(libxscreensaver_plugin_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ +- $(LDFLAGS) -o $@ + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/autotools/depcomp + am__depfiles_maybe = depfiles +@@ -272,10 +252,6 @@ SOURCES = $(libaudioscrobbler_plugin_la_ + $(nodist_libvod_rtsp_plugin_la_SOURCES) \ + $(libwin32text_plugin_la_SOURCES) \ + $(nodist_libwin32text_plugin_la_SOURCES) \ +- $(libxdg_screensaver_plugin_la_SOURCES) \ +- $(nodist_libxdg_screensaver_plugin_la_SOURCES) \ +- $(libxscreensaver_plugin_la_SOURCES) \ +- $(nodist_libxscreensaver_plugin_la_SOURCES) + DIST_SOURCES = $(libaudioscrobbler_plugin_la_SOURCES) \ + $(libfreetype_plugin_la_SOURCES) \ + $(libgnutls_plugin_la_SOURCES) $(libinhibit_plugin_la_SOURCES) \ +@@ -284,9 +260,7 @@ DIST_SOURCES = $(libaudioscrobbler_plugi + $(libquartztext_plugin_la_SOURCES) \ + $(libsqlite_plugin_la_SOURCES) $(libsvg_plugin_la_SOURCES) \ + $(libvod_rtsp_plugin_la_SOURCES) \ +- $(libwin32text_plugin_la_SOURCES) \ +- $(libxdg_screensaver_plugin_la_SOURCES) \ +- $(libxscreensaver_plugin_la_SOURCES) ++ $(libwin32text_plugin_la_SOURCES) + RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ +@@ -620,7 +594,6 @@ LTLIBxcb_xv = @LTLIBxcb_xv@ + LTLIBxdg_screensaver = @LTLIBxdg_screensaver@ + LTLIBxml = @LTLIBxml@ + LTLIBxosd = @LTLIBxosd@ +-LTLIBxscreensaver = @LTLIBxscreensaver@ + LTLIBzip = @LTLIBzip@ + LTLIBzvbi = @LTLIBzvbi@ + LUAC = @LUAC@ +@@ -834,13 +807,12 @@ vlcdatadir = @vlcdatadir@ + vlclibdir = @vlclibdir@ + basedir = misc + dir = misc +-mods = audioscrobbler freetype gnutls inhibit logger osso_screensaver quartztext sqlite svg vod_rtsp win32text xdg_screensaver xscreensaver ++mods = audioscrobbler freetype gnutls inhibit logger osso_screensaver quartztext sqlite svg vod_rtsp win32text + libvlc_LTLIBRARIES = $(LTLIBfreetype) $(LTLIBgnutls) $(LTLIBinhibit) \ + $(LTLIBosso_screensaver) $(LTLIBsqlite) $(LTLIBsvg) \ +- $(LTLIBxdg_screensaver) $(LTLIBxscreensaver) \ + libaudioscrobbler_plugin.la liblogger_plugin.la \ + $(am__append_2) $(am__append_3) $(am__append_4) +-EXTRA_LTLIBRARIES = libfreetype_plugin.la libgnutls_plugin.la libinhibit_plugin.la libosso_screensaver_plugin.la libsqlite_plugin.la libsvg_plugin.la libxdg_screensaver_plugin.la libxscreensaver_plugin.la ++EXTRA_LTLIBRARIES = libfreetype_plugin.la libgnutls_plugin.la libinhibit_plugin.la libosso_screensaver_plugin.la libsqlite_plugin.la libsvg_plugin.la + NULL = + SUFFIXES = + libvlcdir = $(vlclibdir)/plugins/$(basedir) +@@ -876,8 +848,6 @@ SOURCES_svg = svg.c + SOURCES_audioscrobbler = audioscrobbler.c + SOURCES_inhibit = inhibit.c + SOURCES_sqlite = sqlite.c +-SOURCES_xscreensaver = inhibit/xscreensaver.c +-SOURCES_xdg_screensaver = inhibit/xdg.c + SOURCES_osso_screensaver = inhibit/osso.c + + # The audioscrobbler plugin +@@ -1001,27 +971,6 @@ libwin32text_plugin_la_OBJCFLAGS = $(AM_ + libwin32text_plugin_la_LIBADD = $(AM_LIBADD) + libwin32text_plugin_la_DEPENDENCIES = $(top_srcdir)/src/libvlccore.sym + +-# The xdg_screensaver plugin +-libxdg_screensaver_plugin_la_SOURCES = $(SOURCES_xdg_screensaver) +-nodist_libxdg_screensaver_plugin_la_SOURCES = $(nodist_SOURCES_xdg_screensaver) +-# Force per-target objects: +-libxdg_screensaver_plugin_la_CFLAGS = $(AM_CFLAGS) +-libxdg_screensaver_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) +-libxdg_screensaver_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) +-# Set LIBADD and DEPENDENCIES manually: +-libxdg_screensaver_plugin_la_LIBADD = $(AM_LIBADD) +-libxdg_screensaver_plugin_la_DEPENDENCIES = $(top_srcdir)/src/libvlccore.sym +- +-# The xscreensaver plugin +-libxscreensaver_plugin_la_SOURCES = $(SOURCES_xscreensaver) +-nodist_libxscreensaver_plugin_la_SOURCES = $(nodist_SOURCES_xscreensaver) +-# Force per-target objects: +-libxscreensaver_plugin_la_CFLAGS = $(AM_CFLAGS) +-libxscreensaver_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) +-libxscreensaver_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) +-# Set LIBADD and DEPENDENCIES manually: +-libxscreensaver_plugin_la_LIBADD = $(AM_LIBADD) +-libxscreensaver_plugin_la_DEPENDENCIES = $(top_srcdir)/src/libvlccore.sym + all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +@@ -1110,10 +1059,6 @@ libvod_rtsp_plugin.la: $(libvod_rtsp_plu + $(AM_V_CCLD)$(libvod_rtsp_plugin_la_LINK) $(am_libvod_rtsp_plugin_la_rpath) $(libvod_rtsp_plugin_la_OBJECTS) $(libvod_rtsp_plugin_la_LIBADD) $(LIBS) + libwin32text_plugin.la: $(libwin32text_plugin_la_OBJECTS) $(libwin32text_plugin_la_DEPENDENCIES) + $(AM_V_CCLD)$(libwin32text_plugin_la_LINK) $(am_libwin32text_plugin_la_rpath) $(libwin32text_plugin_la_OBJECTS) $(libwin32text_plugin_la_LIBADD) $(LIBS) +-libxdg_screensaver_plugin.la: $(libxdg_screensaver_plugin_la_OBJECTS) $(libxdg_screensaver_plugin_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libxdg_screensaver_plugin_la_LINK) $(libxdg_screensaver_plugin_la_OBJECTS) $(libxdg_screensaver_plugin_la_LIBADD) $(LIBS) +-libxscreensaver_plugin.la: $(libxscreensaver_plugin_la_OBJECTS) $(libxscreensaver_plugin_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libxscreensaver_plugin_la_LINK) $(libxscreensaver_plugin_la_OBJECTS) $(libxscreensaver_plugin_la_LIBADD) $(LIBS) + + mostlyclean-compile: + -rm -f *.$(OBJEXT) +@@ -1132,8 +1077,6 @@ distclean-compile: + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsvg_plugin_la-svg.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvod_rtsp_plugin_la-rtsp.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libwin32text_plugin_la-win32text.Plo@am__quote@ +-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxdg_screensaver_plugin_la-xdg.Plo@am__quote@ +-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxscreensaver_plugin_la-xscreensaver.Plo@am__quote@ + + .c.o: + @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@@ -1247,22 +1190,6 @@ libwin32text_plugin_la-win32text.lo: win + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwin32text_plugin_la_CFLAGS) $(CFLAGS) -c -o libwin32text_plugin_la-win32text.lo `test -f 'win32text.c' || echo '$(srcdir)/'`win32text.c + +-libxdg_screensaver_plugin_la-xdg.lo: inhibit/xdg.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxdg_screensaver_plugin_la_CFLAGS) $(CFLAGS) -MT libxdg_screensaver_plugin_la-xdg.lo -MD -MP -MF $(DEPDIR)/libxdg_screensaver_plugin_la-xdg.Tpo -c -o libxdg_screensaver_plugin_la-xdg.lo `test -f 'inhibit/xdg.c' || echo '$(srcdir)/'`inhibit/xdg.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libxdg_screensaver_plugin_la-xdg.Tpo $(DEPDIR)/libxdg_screensaver_plugin_la-xdg.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='inhibit/xdg.c' object='libxdg_screensaver_plugin_la-xdg.lo' libtool=yes @AMDEPBACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxdg_screensaver_plugin_la_CFLAGS) $(CFLAGS) -c -o libxdg_screensaver_plugin_la-xdg.lo `test -f 'inhibit/xdg.c' || echo '$(srcdir)/'`inhibit/xdg.c +- +-libxscreensaver_plugin_la-xscreensaver.lo: inhibit/xscreensaver.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxscreensaver_plugin_la_CFLAGS) $(CFLAGS) -MT libxscreensaver_plugin_la-xscreensaver.lo -MD -MP -MF $(DEPDIR)/libxscreensaver_plugin_la-xscreensaver.Tpo -c -o libxscreensaver_plugin_la-xscreensaver.lo `test -f 'inhibit/xscreensaver.c' || echo '$(srcdir)/'`inhibit/xscreensaver.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libxscreensaver_plugin_la-xscreensaver.Tpo $(DEPDIR)/libxscreensaver_plugin_la-xscreensaver.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='inhibit/xscreensaver.c' object='libxscreensaver_plugin_la-xscreensaver.lo' libtool=yes @AMDEPBACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxscreensaver_plugin_la_CFLAGS) $(CFLAGS) -c -o libxscreensaver_plugin_la-xscreensaver.lo `test -f 'inhibit/xscreensaver.c' || echo '$(srcdir)/'`inhibit/xscreensaver.c +- + mostlyclean-libtool: + -rm -f *.lo + diff --git a/package/vlc/patches/patch-src_misc_linux_specific_c b/package/vlc/patches/patch-src_misc_linux_specific_c new file mode 100644 index 000000000..f25b1ea57 --- /dev/null +++ b/package/vlc/patches/patch-src_misc_linux_specific_c @@ -0,0 +1,19 @@ +--- vlc-1.1.11.orig/src/misc/linux_specific.c 2011-07-14 13:27:03.000000000 +0200 ++++ vlc-1.1.11/src/misc/linux_specific.c 2011-09-15 06:35:43.887989501 +0200 +@@ -83,14 +83,14 @@ static struct + unsigned refs; + } once = { VLC_STATIC_MUTEX, 0 }; + +-#ifdef __GLIBC__ ++#ifndef __UCLIBC__ + # include <gnu/libc-version.h> + # include <stdlib.h> + #endif + + void system_Init (libvlc_int_t *libvlc, int *argc, const char *argv[]) + { +-#ifdef __GLIBC__ ++#ifndef __UCLIBC__ + const char *glcv = gnu_get_libc_version (); + + /* gettext in glibc 2.5-2.7 is not thread-safe. LibVLC keeps crashing, diff --git a/package/xcb-util/Makefile b/package/xcb-util/Makefile new file mode 100644 index 000000000..4c7708596 --- /dev/null +++ b/package/xcb-util/Makefile @@ -0,0 +1,23 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= xcb-util +PKG_VERSION:= 0.3.6 +PKG_RELEASE:= 1 +PKG_MD5SUM:= a8f8f710a202079d1ead532abd061672 +PKG_DESCR:= XCB utils +PKG_SECTION:= x11/apps +PKG_SITES:= http://xcb.freedesktop.org/dist/ + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,XCB_UTIL,xcb-util,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +xcb-util-install: + $(INSTALL_DIR) $(IDIR_XCB_UTIL)/usr/lib + $(CP) $(WRKINST)/usr/lib/libxcb-*.so* \ + $(IDIR_XCB_UTIL)/usr/lib + +include ${TOPDIR}/mk/pkg-bottom.mk |