aboutsummaryrefslogtreecommitdiff
path: root/package/on2-8170-libs
diff options
context:
space:
mode:
authorGravatar Jérôme Pouiller <jezz@sysmic.org>2013-08-30 11:05:57 +0200
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-09-08 21:41:39 +0200
commitadf6511013b8921d6856f5dc0e053cdd27891244 (patch)
tree14f1ba25f8ae138743e3f3954b85883c636714d8 /package/on2-8170-libs
parentbafa8fcc6ce90553843b5c24e68de57c40f94abe (diff)
downloadbuildroot-adf6511013b8921d6856f5dc0e053cdd27891244.tar.gz
buildroot-adf6511013b8921d6856f5dc0e053cdd27891244.tar.bz2
Remove multimedia subdirectory
Unless it was a group of sub-packages, packages was never regrouped by category. multimedia/ was an exception to this rule. This patch move packages/multimedia/ sub-directories to packages/. It keeps two subdirectories for gstream 0.10 and gstreamer 1.X. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/on2-8170-libs')
-rw-r--r--package/on2-8170-libs/Config.in14
-rw-r--r--package/on2-8170-libs/on2-8170-libs.mk26
2 files changed, 40 insertions, 0 deletions
diff --git a/package/on2-8170-libs/Config.in b/package/on2-8170-libs/Config.in
new file mode 100644
index 0000000000..8c2d963810
--- /dev/null
+++ b/package/on2-8170-libs/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_ON2_8170_LIBS
+ #This is a binary only package which has been compiled for glibc
+ depends on BR2_arm926t
+ depends on BR2_TOOLCHAIN_USES_GLIBC
+ depends on BR2_LINUX_KERNEL # on2-8170-modules
+ select BR2_PACKAGE_ON2_8170_MODULES # runtime
+ bool "on2-8170-libs"
+ help
+ Libraries for Hantro X170 video decoder
+
+ http://www.at91.com/linux4sam/bin/view/Linux4SAM/SAM9M10Gstreamer
+
+comment "on2-8170 libs requires a linux kernel to be built"
+ depends on !BR2_LINUX_KERNEL
diff --git a/package/on2-8170-libs/on2-8170-libs.mk b/package/on2-8170-libs/on2-8170-libs.mk
new file mode 100644
index 0000000000..7cdb9918af
--- /dev/null
+++ b/package/on2-8170-libs/on2-8170-libs.mk
@@ -0,0 +1,26 @@
+################################################################################
+#
+# on2-8170-libs
+#
+################################################################################
+
+ON2_8170_LIBS_VERSION = 1.0
+ON2_8170_LIBS_SITE = ftp://ftp.linux4sam.org/pub/demo/linux4sam_1.9/codec/
+
+ON2_8170_LICENSE = PROPRIETARY
+# No license file is included in the archive
+
+ON2_8170_LIBS_INSTALL_STAGING = YES
+
+define ON2_8170_LIBS_INSTALL_STAGING_CMDS
+ mkdir -p $(STAGING_DIR)/usr/lib $(STAGING_DIR)/usr/include
+ cp -dpf $(@D)/*.a $(@D)/*.so $(STAGING_DIR)/usr/lib
+ cp -dpf $(@D)/*.h $(STAGING_DIR)/usr/include
+endef
+
+define ON2_8170_LIBS_INSTALL_TARGET_CMDS
+ mkdir -p $(TARGET_DIR)/usr/lib
+ cp -dpf $(@D)/*.so $(TARGET_DIR)/usr/lib
+endef
+
+$(eval $(generic-package))