mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
RipperX is a GTK program to rip CD audio tracks and encode them
to the Ogg, MP3, or FLAC formats. It is easy, requiring a few mouse clicks to convert an entire album, displaying progress along the way. It can rip and encode in parallel, and supports CDD. WWW: http://sourceforge.net/projects/ripperx/ PR: ports/107493 Submitted by: trasz <trasz at pin.if.uz.zgora.pl>
This commit is contained in:
parent
2d5bd7911a
commit
4a3e13ee72
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181576
9 changed files with 119 additions and 0 deletions
|
@ -514,6 +514,7 @@
|
|||
SUBDIR += rioutil
|
||||
SUBDIR += ripenc
|
||||
SUBDIR += ripit
|
||||
SUBDIR += ripperx
|
||||
SUBDIR += rosegarden
|
||||
SUBDIR += rplay
|
||||
SUBDIR += rsynth
|
||||
|
|
31
audio/ripperx/Makefile
Normal file
31
audio/ripperx/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
|||
# New ports collection makefile for: ripperx
|
||||
# Date created: 2006-12-26
|
||||
# Whom: trasz <trasz@pin.if.uz.zgora.pl>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ripperx
|
||||
PORTVERSION= 2.7.0
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ripperx
|
||||
DISTNAME= ripperX-${PORTVERSION}
|
||||
|
||||
MAINTAINER= trasz@pin.if.uz.zgora.pl
|
||||
COMMENT= GTK program to rip CD audio tracks and encode them
|
||||
|
||||
LIB_DEPENDS= id3:${PORTSDIR}/audio/id3lib
|
||||
RUN_DEPENDS= cdparanoia:${PORTSDIR}/audio/cdparanoia
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= gtk12
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Does not compile on 4.x
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
audio/ripperx/distinfo
Normal file
3
audio/ripperx/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (ripperX-2.7.0.tar.gz) = bf69f2cbfb52551ac18e713e9894f306
|
||||
SHA256 (ripperX-2.7.0.tar.gz) = af97a0e0951bd6cb7f72e3d0f3c1effbb17832102aac4c5a75910ff2bbca0b7e
|
||||
SIZE (ripperX-2.7.0.tar.gz) = 172818
|
30
audio/ripperx/files/patch-plugins-ripperX_plugin-oggenc.c
Normal file
30
audio/ripperx/files/patch-plugins-ripperX_plugin-oggenc.c
Normal file
|
@ -0,0 +1,30 @@
|
|||
--- plugins/ripperX_plugin-oggenc.c.orig Wed Jan 3 20:15:49 2007
|
||||
+++ plugins/ripperX_plugin-oggenc.c Wed Jan 3 20:22:39 2007
|
||||
@@ -1,5 +1,3 @@
|
||||
-// strndup is a GNU extension:
|
||||
-#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
@@ -8,6 +6,21 @@
|
||||
|
||||
#define OGG_OUTPUT_BUF_LENGTH 2048
|
||||
#define PRINTOUT_INTERVAL 0.5
|
||||
+
|
||||
+char
|
||||
+*strndup(const char *string, size_t n)
|
||||
+{
|
||||
+ char *ret = malloc(n + 1);
|
||||
+
|
||||
+ if (ret == NULL)
|
||||
+ return NULL;
|
||||
+
|
||||
+ strncpy(ret, string, n);
|
||||
+
|
||||
+ ret[n] = '\0';
|
||||
+
|
||||
+ return ret;
|
||||
+}
|
||||
|
||||
void
|
||||
strip_shit(char* input, int len) {
|
11
audio/ripperx/files/patch-src-Makefile.in
Normal file
11
audio/ripperx/files/patch-src-Makefile.in
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/Makefile.in.orig Wed Jan 3 20:11:27 2007
|
||||
+++ src/Makefile.in Wed Jan 3 20:11:33 2007
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
CC = @CC@
|
||||
CFLAGS = @CFLAGS@
|
||||
-LDFLAGS = @LDFLAGS@ @LIBS@ -lutil -lid3
|
||||
+LDFLAGS = @LDFLAGS@ @LIBS@ -lutil -lid3 -lstdc++
|
||||
INSTALL = @INSTALL@
|
||||
|
||||
CFILES = main.c\
|
14
audio/ripperx/files/patch-src-config_rw.c
Normal file
14
audio/ripperx/files/patch-src-config_rw.c
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- src/config_rw.c.orig Wed Jan 3 20:37:27 2007
|
||||
+++ src/config_rw.c Wed Jan 3 20:38:12 2007
|
||||
@@ -84,9 +84,9 @@
|
||||
{ "Encoder::Plugin", config.encoder.plugin,
|
||||
STRING, 0, "ripperX_plugin-lame" },
|
||||
{ "CdPlayer::Play_command", config.cd_player.play_command,
|
||||
- STRING, 0, "cdplay play %" },
|
||||
+ STRING, 0, "cdcontrol play %" },
|
||||
{ "CdPlayer::Stop_command", config.cd_player.stop_command,
|
||||
- STRING, 0, "cdplay stop" },
|
||||
+ STRING, 0, "cdcontrol stop" },
|
||||
{ "WavPlayer::Command", config.wav_player.command,
|
||||
STRING, 0, "splay %" },
|
||||
{ "Mp3Player::Command", config.mp3_player.command,
|
10
audio/ripperx/files/patch-src-ripper_encoder_manipulation.c
Normal file
10
audio/ripperx/files/patch-src-ripper_encoder_manipulation.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- src/ripper_encoder_manipulation.c.orig Tue Dec 26 22:16:04 2006
|
||||
+++ src/ripper_encoder_manipulation.c Tue Dec 26 22:16:17 2006
|
||||
@@ -11,7 +11,6 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/ioctl.h>
|
||||
-#include <pty.h>
|
||||
|
||||
#include "ripper_encoder_manipulation.h"
|
||||
#include "misc_utils.h"
|
6
audio/ripperx/pkg-descr
Normal file
6
audio/ripperx/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
RipperX is a GTK program to rip CD audio tracks and encode them
|
||||
to the Ogg, MP3, or FLAC formats. It is easy, requiring a few mouse
|
||||
clicks to convert an entire album, displaying progress along the
|
||||
way. It can rip and encode in parallel, and supports CDD.
|
||||
|
||||
WWW: http://sourceforge.net/projects/ripperx/
|
13
audio/ripperx/pkg-plist
Normal file
13
audio/ripperx/pkg-plist
Normal file
|
@ -0,0 +1,13 @@
|
|||
bin/ripperX
|
||||
bin/ripperX_plugin-cdparanoia
|
||||
bin/ripperX_plugin-8hz-mp3
|
||||
bin/ripperX_plugin-encode
|
||||
bin/ripperX_plugin-lame
|
||||
bin/ripperX_plugin-gogo
|
||||
bin/ripperX_plugin-bladeenc
|
||||
bin/ripperX_plugin-xingmp3enc
|
||||
bin/ripperX_plugin-l3enc
|
||||
bin/ripperX_plugin-mp3enc
|
||||
bin/ripperX_plugin-oggenc
|
||||
bin/ripperX_plugin-flac
|
||||
bin/ripperX_plugin-toolame
|
Loading…
Add table
Reference in a new issue