Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package/multimedia/libvorbis
@ 2008-12-05  9:47 egtvedt at uclibc.org
  0 siblings, 0 replies; 4+ messages in thread
From: egtvedt at uclibc.org @ 2008-12-05  9:47 UTC (permalink / raw)
  To: buildroot

Author: egtvedt
Date: 2008-12-05 01:47:16 -0800 (Fri, 05 Dec 2008)
New Revision: 24281

Log:
libvorbis: tremor depends on host-autoconf and host-automake

This patch adds host-autoconf and host-automake as dependencies to tremor, this
is needed for it to compile.



Modified:
   trunk/buildroot/package/multimedia/libvorbis/libvorbis.mk


Changeset:
Modified: trunk/buildroot/package/multimedia/libvorbis/libvorbis.mk
===================================================================
--- trunk/buildroot/package/multimedia/libvorbis/libvorbis.mk	2008-12-05 09:46:17 UTC (rev 24280)
+++ trunk/buildroot/package/multimedia/libvorbis/libvorbis.mk	2008-12-05 09:47:16 UTC (rev 24281)
@@ -115,7 +115,7 @@
 	cp -dpf $(TREMOR_DIR)/lib/tremor.a $(TARGET_DIR)/usr/lib/
 	touch $@
 
-tremor: uclibc pkgconfig libogg $(TARGET_DIR)/usr/lib/tremor.so
+tremor: uclibc pkgconfig host-autoconf host-automake libogg $(TARGET_DIR)/usr/lib/tremor.so
 
 tremor-source: $(DL_DIR)/$(TREMOR_SOURCE)
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/multimedia/libvorbis
@ 2009-02-04 23:51 jacmet at uclibc.org
  0 siblings, 0 replies; 4+ messages in thread
From: jacmet at uclibc.org @ 2009-02-04 23:51 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-02-04 23:51:11 +0000 (Wed, 04 Feb 2009)
New Revision: 25243

Log:
tremor: strip target lib

Modified:
   trunk/buildroot/package/multimedia/libvorbis/libvorbis.mk


Changeset:
Modified: trunk/buildroot/package/multimedia/libvorbis/libvorbis.mk
===================================================================
--- trunk/buildroot/package/multimedia/libvorbis/libvorbis.mk	2009-02-04 23:51:06 UTC (rev 25242)
+++ trunk/buildroot/package/multimedia/libvorbis/libvorbis.mk	2009-02-04 23:51:11 UTC (rev 25243)
@@ -108,7 +108,8 @@
 	touch $@
 
 $(TARGET_DIR)/usr/lib/tremor.so: $(TREMOR_DIR)/.libs
-	$(MAKE) prefix=$(TARGET_DIR)/usr -C $(TREMOR_DIR) install
+	$(MAKE) prefix=$(TARGET_DIR)/usr -C $(TREMOR_DIR) \
+		$(if $(BR2_STRIP_none),install,install-strip)
 	touch $@
 
 $(TARGET_DIR)/usr/lib/tremor.a: $(TARGET_DIR)/usr/lib/tremor.so

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/multimedia/libvorbis
@ 2009-02-19 15:45 jacmet at uclibc.org
  0 siblings, 0 replies; 4+ messages in thread
From: jacmet at uclibc.org @ 2009-02-19 15:45 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-02-19 15:45:00 +0000 (Thu, 19 Feb 2009)
New Revision: 25387

Log:
libvorbis: convert to Makefile.autotools.in format

Patch by Sven Neumann <s.neumann@phase-zero.de>
Closes #107

Modified:
   trunk/buildroot/package/multimedia/libvorbis/libvorbis.mk


Changeset:
Modified: trunk/buildroot/package/multimedia/libvorbis/libvorbis.mk
===================================================================
--- trunk/buildroot/package/multimedia/libvorbis/libvorbis.mk	2009-02-19 12:08:11 UTC (rev 25386)
+++ trunk/buildroot/package/multimedia/libvorbis/libvorbis.mk	2009-02-19 15:45:00 UTC (rev 25387)
@@ -3,61 +3,21 @@
 # libvorbis
 #
 #############################################################
-LIBVORBIS_VERSION:=1.2.0
-LIBVORBIS_SOURCE:=libvorbis-$(LIBVORBIS_VERSION).tar.gz
-LIBVORBIS_SITE:=http://downloads.xiph.org/releases/vorbis/$(LIBVORBIS-SOURCE)
-LIBVORBIS_DIR:=$(BUILD_DIR)/libvorbis-$(LIBVORBIS_VERSION)
-LIBVORBIS_BINARY:=libvorbis
-LIBVORBIS_TARGET_BINARY:=usr/bin/libvorbis
-LIBVORBIS_CAT:=$(ZCAT)
 
-$(DL_DIR)/$(LIBVORBIS_SOURCE):
-	$(call DOWNLOAD,$(LIBVORBIS_SITE),$(LIBVORBIS_SOURCE))
+LIBVORBIS_VERSION = 1.2.0
+LIBVORBIS_SOURCE = libvorbis-$(LIBVORBIS_VERSION).tar.gz
+LIBVORBIS_SITE = http://downloads.xiph.org/releases/vorbis/$(LIBVORBIS-SOURCE)
+LIBVORBIS_AUTORECONF = NO
+LIBVORBIS_INSTALL_STAGING = YES
+LIBVORBIS_INSTALL_TARGET = YES
 
-$(LIBVORBIS_DIR)/.source: $(DL_DIR)/$(LIBVORBIS_SOURCE)
-	$(LIBVORBIS_CAT) $(DL_DIR)/$(LIBVORBIS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	touch $@
+LIBVORBIS_CONF_OPT = --disable-oggtest
 
-$(LIBVORBIS_DIR)/.configured: $(LIBVORBIS_DIR)/.source
-	(cd $(LIBVORBIS_DIR); rm -rf config.cache; \
-		$(TARGET_CONFIGURE_ARGS) \
-		$(TARGET_CONFIGURE_OPTS) \
-		CFLAGS="$(TARGET_CFLAGS)" \
-		./configure \
-		--target=$(GNU_TARGET_NAME) \
-		--host=$(GNU_TARGET_NAME) \
-		--build=$(GNU_HOST_NAME) \
-		--prefix=/usr \
-		--sysconfdir=/etc \
-		--enable-shared \
-		--enable-static \
-		--disable-oggtest \
-		$(DISABLE_NLS) \
-	)
-	touch $@
+LIBVORBIS_DEPENDENCIES = uclibc pkgconfig libogg
 
-$(LIBVORBIS_DIR)/.libs: $(LIBVORBIS_DIR)/.configured
-	$(MAKE) -C $(@D)
-	touch $@
+$(eval $(call AUTOTARGETS,package/multimedia,libvorbis))
 
-$(STAGING_DIR)/usr/lib/libvorbis.so: $(LIBVORBIS_DIR)/.libs
-	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBVORBIS_DIR) install
 
-$(TARGET_DIR)/usr/lib/libvorbis.so: $(STAGING_DIR)/usr/lib/libvorbis.so
-	$(INSTALL) -D $(STAGING_DIR)/usr/lib/libvorbis*.so* $(TARGET_DIR)/usr/lib
-	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libvorbis*.so*
-
-libvorbis: uclibc pkgconfig libogg $(TARGET_DIR)/usr/lib/libvorbis.so
-
-libvorbis-source: $(DL_DIR)/$(LIBVORBIS_SOURCE)
-
-libvorbis-clean:
-	$(MAKE) prefix=$(STAGING_DIR)/usr -C $(LIBVORBIS_DIR) uninstall
-	-$(MAKE) -C $(LIBVORBIS_DIR) clean
-
-libvorbis-dirclean:
-	rm -rf $(LIBVORBIS_DIR)
-
 ############################################################
 #
 # Tremor (Integer decoder for Vorbis)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/multimedia/libvorbis
@ 2009-02-19 15:45 jacmet at uclibc.org
  0 siblings, 0 replies; 4+ messages in thread
From: jacmet at uclibc.org @ 2009-02-19 15:45 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-02-19 15:45:05 +0000 (Thu, 19 Feb 2009)
New Revision: 25388

Log:
libvorbis: select libogg dependency

Library dependencies should be selected, and not use depends on.

Modified:
   trunk/buildroot/package/multimedia/libvorbis/Config.in


Changeset:
Modified: trunk/buildroot/package/multimedia/libvorbis/Config.in
===================================================================
--- trunk/buildroot/package/multimedia/libvorbis/Config.in	2009-02-19 15:45:00 UTC (rev 25387)
+++ trunk/buildroot/package/multimedia/libvorbis/Config.in	2009-02-19 15:45:05 UTC (rev 25388)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_LIBVORBIS
 	bool "libvorbis"
-	depends on BR2_PACKAGE_LIBOGG
+	select BR2_PACKAGE_LIBOGG
 	select BR2_PACKAGE_PKGCONFIG
 	help
 	  Library for the Vorbis open source audio decoder
@@ -20,6 +20,3 @@
 	depends on BR2_PACKAGE_LIBVORBIS
 	help
 	  Use the Tremor fixed point implementation
-
-comment "libvorbis requires the package libogg to build"
-	depends on !BR2_PACKAGE_LIBOGG

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-02-19 15:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-05  9:47 [Buildroot] svn commit: trunk/buildroot/package/multimedia/libvorbis egtvedt at uclibc.org
  -- strict thread matches above, loose matches on Subject: below --
2009-02-04 23:51 jacmet at uclibc.org
2009-02-19 15:45 jacmet at uclibc.org
2009-02-19 15:45 jacmet at uclibc.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox