hornetseye-frame 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +2 -6
- data/ext/colourspace.cc +0 -2
- metadata +2 -2
data/Rakefile
CHANGED
|
@@ -8,7 +8,7 @@ require 'rbconfig'
|
|
|
8
8
|
require 'tempfile'
|
|
9
9
|
|
|
10
10
|
PKG_NAME = 'hornetseye-frame'
|
|
11
|
-
PKG_VERSION = '1.0.
|
|
11
|
+
PKG_VERSION = '1.0.3'
|
|
12
12
|
CFG = RbConfig::CONFIG
|
|
13
13
|
CXX = ENV[ 'CXX' ] || 'g++'
|
|
14
14
|
RB_FILES = FileList[ 'lib/**/*.rb' ]
|
|
@@ -41,6 +41,7 @@ $LIBRUBYARG = "-L#{CFG[ 'libdir' ]} #{CFG[ 'LIBRUBYARG' ]} #{CFG[ 'LDFLAGS' ]} "
|
|
|
41
41
|
$SITELIBDIR = CFG[ 'sitelibdir' ]
|
|
42
42
|
$SITEARCHDIR = CFG[ 'sitearchdir' ]
|
|
43
43
|
$LDSHARED = CFG[ 'LDSHARED' ][ CFG[ 'LDSHARED' ].index( ' ' ) .. -1 ]
|
|
44
|
+
$CXXFLAGS = "#{$CXXFLAGS} -I/usr/include/ffmpeg"
|
|
44
45
|
|
|
45
46
|
task :default => :all
|
|
46
47
|
|
|
@@ -105,16 +106,11 @@ file 'ext/config.h' do |t|
|
|
|
105
106
|
# need to compile with -D__STDC_CONSTANT_MACROS
|
|
106
107
|
if check_c_header 'libswscale/swscale.h'
|
|
107
108
|
s << "#define HAVE_LIBSWSCALE_INCDIR 1\n"
|
|
108
|
-
s << "#undef HAVE_FFMPEG_LIBSWSCALE_INCDIR 1\n"
|
|
109
|
-
elsif check_c_header 'ffmpeg/libswscale/swscale.h'
|
|
110
|
-
s << "#undef HAVE_LIBSWSCALE_INCDIR\n"
|
|
111
|
-
s << "#define HAVE_FFMPEG_LIBSWSCALE_INCDIR 1\n"
|
|
112
109
|
else
|
|
113
110
|
unless check_c_header 'ffmpeg/swscale.h'
|
|
114
111
|
raise 'Cannot find swscale.h header file'
|
|
115
112
|
end
|
|
116
113
|
s << "#undef HAVE_LIBSWSCALE_INCDIR\n"
|
|
117
|
-
s << "#undef HAVE_FFMPEG_LIBSWSCALE_INCDIR 1\n"
|
|
118
114
|
end
|
|
119
115
|
File.open( t.name, 'w' ) { |f| f.puts s }
|
|
120
116
|
end
|
data/ext/colourspace.cc
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hornetseye-frame
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2014-01-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: malloc
|