Skip to content

Commit 1a58048

Browse files
SandeepSMjoshua-henderson
authored andcommitted
g1-binaries: build libraries using source code.
build g1decoder libraries using github BSD source code. Signed-off-by: Sandeep Sheriker Mallikarjun <[email protected]> Signed-off-by: Joshua Henderson <[email protected]>
1 parent e9572c8 commit 1a58048

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

package/g1-binaries/g1-binaries.hash

Lines changed: 0 additions & 2 deletions
This file was deleted.

package/g1-binaries/g1-binaries.mk

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
#
55
################################################################################
66

7-
G1_BINARIES_VERSION = 1.2
8-
G1_BINARIES_SITE = ftp://ftp.linux4sam.org/pub/demo/qtdemo
9-
G1_BINARIES_SOURCE = g1-binaries-${G1_BINARIES_VERSION}.tar.gz
10-
G1_BINARIES_LICENSE = PROPRIETARY
11-
G1_BINARIES_INSTALL_TARGET = NO
7+
G1_BINARIES_VERSION = cb81273566b7c1609ce27bbf38af8042946472f7
8+
G1_BINARIES_SITE = https://github.com/linux4sam/g1_decoder.git
9+
G1_BINARIES_SITE_METHOD = git
10+
G1_BINARIES_LICENSE = BSD
11+
G1_BINARIES_INSTALL_TARGET = YES
1212
G1_BINARIES_INSTALL_STAGING = YES
1313

14-
define G1_BINARIES_INSTALL_STAGING_CMDS
15-
cp -dpfr $(@D)/include/* $(STAGING_DIR)/usr/include/
16-
cp -dpfr $(@D)/lib/* $(STAGING_DIR)/usr/lib/
14+
define G1_BINARIES_RUN_AUTOGEN
15+
cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
1716
endef
17+
G1_BINARIES_POST_PATCH_HOOKS += G1_BINARIES_RUN_AUTOGEN
1818

19-
$(eval $(generic-package))
19+
$(eval $(autotools-package))

0 commit comments

Comments
 (0)