aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorjrm <jrm@FreeBSD.org>2017-05-25 10:15:51 +0800
committerjrm <jrm@FreeBSD.org>2017-05-25 10:15:51 +0800
commit23c412bbc888a7be23a6bc5ebd9a6967b85ce172 (patch)
tree89c6063a9f359142994b2c2eb8333a28fdf1d9ec /multimedia
parentf16a9b22af429ed6ce5e49e08be229813052824f (diff)
downloadfreebsd-ports-gnome-23c412bbc888a7be23a6bc5ebd9a6967b85ce172.tar.gz
freebsd-ports-gnome-23c412bbc888a7be23a6bc5ebd9a6967b85ce172.tar.zst
freebsd-ports-gnome-23c412bbc888a7be23a6bc5ebd9a6967b85ce172.zip
multimedia/rubygem-paperclip-av-transcoder-rails50: Create rails version
5.0 port by copying multimedia/rubygem-paperclip-av-transcoder Approved by: swills (mentor, implicit)
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/rubygem-paperclip-av-transcoder-rails50/Makefile23
-rw-r--r--multimedia/rubygem-paperclip-av-transcoder-rails50/distinfo3
-rw-r--r--multimedia/rubygem-paperclip-av-transcoder-rails50/pkg-descr12
4 files changed, 39 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index beb85ea6bc6d..4dca867d03c7 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -368,6 +368,7 @@
SUBDIR += rubygem-flvtool2
SUBDIR += rubygem-gstreamer
SUBDIR += rubygem-paperclip-av-transcoder
+ SUBDIR += rubygem-paperclip-av-transcoder-rails50
SUBDIR += sabbu
SUBDIR += schroedinger
SUBDIR += shotcut
diff --git a/multimedia/rubygem-paperclip-av-transcoder-rails50/Makefile b/multimedia/rubygem-paperclip-av-transcoder-rails50/Makefile
new file mode 100644
index 000000000000..da4306d56d90
--- /dev/null
+++ b/multimedia/rubygem-paperclip-av-transcoder-rails50/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= paperclip-av-transcoder
+PORTVERSION= 0.6.4
+CATEGORIES= multimedia rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -rails50
+
+MAINTAINER= jrm@FreeBSD.org
+COMMENT= Audio/Video transcoder for Paperclip using FFMPEG/Avconv
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-av>=0.9.0:multimedia/rubygem-av \
+ rubygem-paperclip-rails50>=2.5.2:devel/rubygem-paperclip-rails50
+
+NO_ARCH= yes
+
+USE_RUBY= yes
+USES= gem
+
+.include <bsd.port.mk>
diff --git a/multimedia/rubygem-paperclip-av-transcoder-rails50/distinfo b/multimedia/rubygem-paperclip-av-transcoder-rails50/distinfo
new file mode 100644
index 000000000000..141f42849f44
--- /dev/null
+++ b/multimedia/rubygem-paperclip-av-transcoder-rails50/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1491842137
+SHA256 (rubygem/paperclip-av-transcoder-0.6.4.gem) = 0e5214d866e7ae8b6dff3439efff59f6a461d4c39ec8c868c4b4ac76ddb896bd
+SIZE (rubygem/paperclip-av-transcoder-0.6.4.gem) = 147456
diff --git a/multimedia/rubygem-paperclip-av-transcoder-rails50/pkg-descr b/multimedia/rubygem-paperclip-av-transcoder-rails50/pkg-descr
new file mode 100644
index 000000000000..c66a03c66f39
--- /dev/null
+++ b/multimedia/rubygem-paperclip-av-transcoder-rails50/pkg-descr
@@ -0,0 +1,12 @@
+Audio/Video Transcoder for Paperclip using FFMPEG/Avconv.
+
+With a few lines of code, your application can produce
+
+- a transcoded FLV file with the requested dimensions if they will match the
+ aspect ratio of the original file, otherwise, width will be maintained and
+ height will be recalculated to keep the original aspect ratio
+
+- a screenshot thumbnail with the requested dimensions regardless of the aspect
+ ratio.
+
+WWW: https://github.com/ruby-av/paperclip-av-transcoder/