diff options
author | Cecil <knoppmyth@gmail.com> | 2011-08-18 19:30:54 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-08-18 19:30:54 (GMT) |
commit | f738fb2a8615c5a5381ec37fe4fe85059f838bd5 (patch) | |
tree | df05558e38722711df52a4adb6f4ec41aff693e7 /abs/extra | |
parent | 6e110f1d640deeb5a0ce0a0594f7ac16b4afa1e2 (diff) | |
parent | 152eb1fd6addff02e84602e7e95b9eb8a1dec735 (diff) | |
download | linhes_pkgbuild-f738fb2a8615c5a5381ec37fe4fe85059f838bd5.zip linhes_pkgbuild-f738fb2a8615c5a5381ec37fe4fe85059f838bd5.tar.gz linhes_pkgbuild-f738fb2a8615c5a5381ec37fe4fe85059f838bd5.tar.bz2 |
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra')
-rw-r--r-- | abs/extra/community/fuzemux-svn/PKGBUILD | 41 | ||||
-rw-r--r-- | abs/extra/community/fuzemux/PKGBUILD | 26 | ||||
-rw-r--r-- | abs/extra/community/fuzemux/fuzemux.install (renamed from abs/extra/community/fuzemux-svn/fuzemux-svn.install) | 0 | ||||
-rw-r--r-- | abs/extra/community/video4fuze/PKGBUILD | 38 | ||||
-rw-r--r-- | abs/extra/community/video4fuze/video4fuze.install | 9 |
5 files changed, 73 insertions, 41 deletions
diff --git a/abs/extra/community/fuzemux-svn/PKGBUILD b/abs/extra/community/fuzemux-svn/PKGBUILD deleted file mode 100644 index 1acc914..0000000 --- a/abs/extra/community/fuzemux-svn/PKGBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Michael Hanson <hansonorders@verizon.net> -# Maintainer: Michael Hanson <hansonorders@verizon.net> -pkgname=fuzemux-svn -pkgver=11 -pkgrel=2 -pkgdesc="A tool to remux AVI video files for the San Disk Sansa Fuze portable media player" -arch=('i686' 'x86_64') -url="http://code.google.com/p/fuzemux" -license=('GPL3') -#depends=() -makedepends=('subversion' 'autoconf') -provides=('fuzemux') -install=('fuzemux-svn.install') - -_svntrunk=http://fuzemux.googlecode.com/svn/trunk/ -_svnmod=fuzemux - -build() { - cd "$srcdir" - - if [ -d $_svnmod/.svn ]; then - (cd $_svnmod && svn up -r $pkgver) - else - svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod - fi - - msg "SVN checkout done or server timeout" - msg "Starting make..." - - rm -rf "$srcdir/$_svnmod-build" - cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build" - cd "$srcdir/$_svnmod-build" - - # - # BUILD - # - /usr/bin/autoreconf --install - ./configure --prefix=/usr - make || return 1 - make DESTDIR="$pkgdir/" install -} diff --git a/abs/extra/community/fuzemux/PKGBUILD b/abs/extra/community/fuzemux/PKGBUILD new file mode 100644 index 0000000..aa542a5 --- /dev/null +++ b/abs/extra/community/fuzemux/PKGBUILD @@ -0,0 +1,26 @@ +# Contributor: Michael Hanson <hansonorders@verizon.net> +# Maintainer: Michael Hanson <hansonorders@verizon.net> +pkgname=fuzemux +pkgver=0.1.2 +pkgrel=1 +pkgdesc="A tool to remux AVI video files for the San Disk Sansa Fuze portable media player" +arch=('i686' 'x86_64') +url="http://code.google.com/p/fuzemux" +license=('cc-by-sa-3.0') +source=("http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}-fixed.tar.gz") +provides=('fuzemux') +replaces=('fuzemux-svn') +install=fuzemux.install + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure --prefix=/usr + make || return 1 +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir}/ install +} +md5sums=('6c7323e9b98620b39644e4d652b3f8ad') diff --git a/abs/extra/community/fuzemux-svn/fuzemux-svn.install b/abs/extra/community/fuzemux/fuzemux.install index 877ec1b..877ec1b 100644 --- a/abs/extra/community/fuzemux-svn/fuzemux-svn.install +++ b/abs/extra/community/fuzemux/fuzemux.install diff --git a/abs/extra/community/video4fuze/PKGBUILD b/abs/extra/community/video4fuze/PKGBUILD new file mode 100644 index 0000000..35c1e85 --- /dev/null +++ b/abs/extra/community/video4fuze/PKGBUILD @@ -0,0 +1,38 @@ +# Contributor: Michael Hanson <hansonorders@verizon.net> +# Maintainer: Michael Hanson <hansonorders@verizon.net> +pkgname=video4fuze +pkgver=0.6 +pkgrel=1 +pkgdesc="A tool to make videos compatable with the San Disk Sana Fuze media player" +arch=('i686' 'x86_64') +url="http://code.google.com/p/video4fuze" +license=('GPL3' 'CC-BY-SA-3.0') +depends=('fuzemux' 'python2>=2.5' 'qt>=4.5' 'pyqt>=4.5' 'python-imaging' 'mplayer' 'ffmpeg-svn') +optdepends=('xterm') +source=("http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}%2B.tar.gz") +provides=('video4fuze') +replaces=('video4fuze-svn') +install=video4fuze.install + +build() { + cd ${srcdir}/${pkgname}-${pkgver}+ + + for file in GUI/*.py *.py *.pyw ; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' ${file} + done + + sed -i 's/^python/python2/g' dist/* + + lrelease video4fuze_e4x.pro + + python2 setup.py install --root="$pkgdir" || return 1 +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver}+ + install -D -m644 README.txt ${pkgdir}/usr/share/doc/video4fuze/README || return 1 + chmod 755 ${pkgdir}/usr/share/video4fuze/*.py || return 1 + chmod 755 ${pkgdir}/usr/share/video4fuze/*.pyw || return 1 + chmod 755 ${pkgdir}/usr/share/video4fuze/GUI/*.py || return 1 +} +md5sums=('f19250f2e166e10e5b115e8bffdfee35') diff --git a/abs/extra/community/video4fuze/video4fuze.install b/abs/extra/community/video4fuze/video4fuze.install new file mode 100644 index 0000000..d6e391f --- /dev/null +++ b/abs/extra/community/video4fuze/video4fuze.install @@ -0,0 +1,9 @@ +post_install() { + ln -s /usr/share/video4fuze/video4fuze.pyw /usr/bin/video4fuze + ln -s /usr/share/video4fuze/fuze.py /usr/bin/fuze.py +} + +pre_remove() { + rm -f /usr/bin/video4fuze + rm -f /usr/bin/fuze.py +} |