You are not logged in.

#1 2008-08-24 00:13:45

NobodySpecial
Member
Registered: 2007-04-12
Posts: 28

[request] i7remux

Please help build an AUR package for the free linux program i7remux available here:
http://www.powerwebvideo.homestead.com/ … ux-0.1.zip

It is a tool to help encode video for the linux-friendly Cowan iAudio 7 player reviewed here:
http://www.linuxjournal.com/article/9919

Thanks for any help!

Offline

#2 2008-08-24 16:27:33

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [request] i7remux

I made a PKGBUILD and a patch (Makefile.in needs to be patched).

PKGBUILD

# Contributor: Your Name <youremail@domain.com>
pkgname=i7remux
pkgver=0.1
pkgrel=1
pkgdesc="video converter for COWON iAUDIO 7"
arch=('i686')
url="http://www.powerwebvideo.homestead.com/"
license=('GPL')
depends=('gcc-libs')
makedepends=('unzip')
source=(http://www.powerwebvideo.homestead.com/files/$pkgname-$pkgver.zip \
    Makefile.in.diff)

noextract=($pkgname-$pkgver.zip)

md5sums=('08046b7c474283000f7163c99eaa6bd1'
         'eddf0d9ecb24c64379dddfc5eb54fee6')

build() {
  unzip -d $startdir/src $pkgname-$pkgver.zip
  cd "$startdir/src/$pkgname-$pkgver"
  patch -p0 <../Makefile.in.diff
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR="$startdir/pkg" install
}

the patch (save it as Makefile.in.diff)

--- Makefile.in    2007-08-13 10:49:22.000000000 +0200
+++ Makefile.in    2008-08-24 18:10:48.000000000 +0200
@@ -16,10 +16,11 @@
 #  along with this program; if not, write to the Free Software
 #  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 #
+DESTDIR :=
 srcdir = @srcdir@
 prefix = @prefix@
 exec_prefix = $(prefix)
-bindir = $(exec_prefix)/bin
+bindir = $(DESTDIR)/$(exec_prefix)/bin
 sbindir = $(exec_prefix)/sbin
 libexecdir = $(exec_prefix)/libexec
 datadir = $(prefix)/share

p.s.
there are lots of gcc warnings, but it compiles ...

Last edited by SiD (2008-08-24 16:29:26)

Offline

#3 2008-08-25 00:16:43

NobodySpecial
Member
Registered: 2007-04-12
Posts: 28

Re: [request] i7remux

Thanks, SiD - it works great!

Offline

Board footer

Powered by FluxBB