summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-08-20 17:44:07 +0000
committerjstebbins <[email protected]>2014-08-20 17:44:07 +0000
commit3b8a7e1aec5711748720aa8c029f572e07131801 (patch)
tree65450df1421e9344269738f7a12865974d884351 /contrib
parent46d2237fcf5a6babfd555f647fd15312a8de9ab1 (diff)
build: add cmake contrib for building x265 on osx
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6328 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib')
-rw-r--r--contrib/cmake/module.defs9
-rw-r--r--contrib/cmake/module.rules2
-rw-r--r--contrib/x265/module.defs3
3 files changed, 13 insertions, 1 deletions
diff --git a/contrib/cmake/module.defs b/contrib/cmake/module.defs
new file mode 100644
index 000000000..c4f0ddf68
--- /dev/null
+++ b/contrib/cmake/module.defs
@@ -0,0 +1,9 @@
+$(eval $(call import.MODULE.defs,CMAKE,cmake))
+$(eval $(call import.CONTRIB.defs,CMAKE))
+
+CMAKE.FETCH.url = http://download.handbrake.fr/handbrake/contrib/cmake-3.0.1.tar.gz
+
+CMAKE.CONFIGURE.deps =
+CMAKE.CONFIGURE.shared =
+CMAKE.CONFIGURE.static =
+CMAKE.CONFIGURE.extra = --no-qt-gui
diff --git a/contrib/cmake/module.rules b/contrib/cmake/module.rules
new file mode 100644
index 000000000..fb046bdb9
--- /dev/null
+++ b/contrib/cmake/module.rules
@@ -0,0 +1,2 @@
+$(eval $(call import.MODULE.rules,CMAKE))
+$(eval $(call import.CONTRIB.rules,CMAKE))
diff --git a/contrib/x265/module.defs b/contrib/x265/module.defs
index 89e7171bf..33d73625c 100644
--- a/contrib/x265/module.defs
+++ b/contrib/x265/module.defs
@@ -1,4 +1,5 @@
-$(eval $(call import.MODULE.defs,X265,x265,YASM))
+__deps__ := YASM CMAKE
+$(eval $(call import.MODULE.defs,X265,x265,$(__deps__)))
$(eval $(call import.CONTRIB.defs,X265))
X265.FETCH.url = http://download.handbrake.fr/contrib/x265-7246-d6257335c537-1.2.tar.bz2