Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
c07175b0
Commit
c07175b0
authored
Oct 08, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extras: add protoc
parent
d0a6d771
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
0 deletions
+23
-0
extras/tools/bootstrap
extras/tools/bootstrap
+1
-0
extras/tools/packages.mak
extras/tools/packages.mak
+4
-0
extras/tools/tools.mak
extras/tools/tools.mak
+18
-0
No files found.
extras/tools/bootstrap
View file @
c07175b0
...
...
@@ -80,6 +80,7 @@ check yasm
check_tar
check ragel
check_sed
check protoc
[
-n
"
$NEEDED
"
]
&&
mkdir
-p
build/
...
...
extras/tools/packages.mak
View file @
c07175b0
...
...
@@ -42,3 +42,7 @@ SED_URL=$(GNU)/sed/sed-$(SED_VERSION).tar.bz2
ANT_VERSION
=
1.9.4
ANT_URL
=
$(APACHE)
/ant/binaries/apache-ant-
$(ANT_VERSION)
-bin
.tar.bz2
PROTOBUF_VERSION
:=
2.5.0
PROTOBUF_URL
:=
https://protobuf.googlecode.com/files/protobuf-
$(PROTOBUF_VERSION)
.tar.bz2
extras/tools/tools.mak
View file @
c07175b0
...
...
@@ -265,6 +265,24 @@ CLEAN_PKG += ant
DISTCLEAN_PKG
+=
apache-ant-
$(ANT_VERSION)
.tar.bz2
CLEAN_FILE
+=
.ant
# Protobuf Protoc
protobuf-$(PROTOBUF_VERSION).tar.bz2
:
$(
call
download,
$(PROTOBUF_URL)
)
protobuf
:
protobuf-$(PROTOBUF_VERSION).tar.bz2
$(UNPACK)
$(MOVE)
.protoc
:
protobuf
(
cd
$<
&&
./configure
--prefix
=
"
$(PREFIX)
"
&&
$(MAKE)
&&
$(MAKE)
install
)
touch
$@
CLEAN_PKG
+=
protobuf
DISTCLEAN_PKG
+=
protobuf-
$(PROTOBUF_VERSION)
.tar.bz2
CLEAN_FILE
+=
.protoc
#
#
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment