mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
fdesktoprecorder & youtube-dl update, xautomation merge from testing
This commit is contained in:
parent
2a2e75be13
commit
30e1b8d9d8
@ -4,10 +4,10 @@
|
||||
|
||||
pkgname=fdesktoprecorder
|
||||
pkgver=20121215
|
||||
_pkgver=a118e4
|
||||
pkgrel=1
|
||||
_pkgver=c71ef87
|
||||
pkgrel=2
|
||||
pkgdesc="A program that can video record a single window or your entire desktop using ffmpeg."
|
||||
arch=('i686' 'x86_64')
|
||||
arch=('x86_64')
|
||||
url="http://opendesktop.org/content/show.php?content=147844"
|
||||
depends=('qt' 'ffmpeg')
|
||||
makedepends=('cmake' 'automoc4' 'kdelibs' 'desktop-file-utils')
|
||||
@ -15,10 +15,10 @@ categories=('utils')
|
||||
screenshot=('http://kde-apps.org/CONTENT/content-pre2/147844-2.png')
|
||||
source=("https://github.com/froksen/FDesktopRecorder/tarball/master/froksen-FDesktopRecorder-${_pkgver}.tar.gz")
|
||||
license=('GPL')
|
||||
md5sums=('71aa2eab68fb79a48ea7c5f640937133')
|
||||
md5sums=('5ee570acff42f8ec5d578c34654405b3')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/froksen-FDesktopRecorder-a${_pkgver}
|
||||
cd ${srcdir}/froksen-FDesktopRecorder-${_pkgver}
|
||||
mkdir build
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
@ -27,6 +27,6 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/froksen-FDesktopRecorder-a${_pkgver}
|
||||
cd ${srcdir}/froksen-FDesktopRecorder-${_pkgver}
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
28
xautomation/PKGBUILD
Normal file
28
xautomation/PKGBUILD
Normal file
@ -0,0 +1,28 @@
|
||||
#
|
||||
# Apps Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer abveritas@chakra-project.org
|
||||
# contributor Martín González <koteccr[at]gmail[dot]com>
|
||||
|
||||
pkgname=xautomation
|
||||
pkgver=1.06
|
||||
pkgrel=1
|
||||
pkgdesc='Controls X from the command line and does "visual scraping".'
|
||||
url='http://hoopajoo.net/projects/xautomation.html'
|
||||
arch=('x86_64')
|
||||
license=('GPL')
|
||||
depends=('libpng' 'libxtst')
|
||||
source=("http://hoopajoo.net/static/projects/${pkgname}-${pkgver}.tar.gz")
|
||||
md5sums=('89cb18c15c0c177ce044c9d566a7ddfe')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
@ -4,7 +4,7 @@
|
||||
# maintainer abveritas@chakra-project.org
|
||||
|
||||
pkgname=youtube-dl
|
||||
pkgver=2012.11.29
|
||||
pkgver=2012.12.11
|
||||
pkgrel=1
|
||||
pkgdesc='A small command-line program to download videos from YouTube.com'
|
||||
arch=('x86_64')
|
||||
@ -13,18 +13,13 @@ license=('custom')
|
||||
depends=('python2')
|
||||
makedepends=('unzip' 'zip')
|
||||
categories=('network')
|
||||
source=(${pkgname}-${pkgver}::https://github.com/rg3/${pkgname}/raw/${pkgver}/${pkgname})
|
||||
sha1sums=('f6f415d688aa2cf3a831709694904b8a83d4c1c0')
|
||||
source=(${pkgname}-${pkgver}::https://github.com/downloads/rg3/youtube-dl/youtube-dl)
|
||||
sha1sums=('aa45f8e32c637a2342674f32d1ca9e8f70bf695c')
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"
|
||||
# Ignoring non-zero exit status of unzip as extraction is successful
|
||||
unzip -q ${pkgname}-${pkgver} || :
|
||||
zip -q youtube-dl *.py
|
||||
echo '#!/usr/bin/env python2' > youtube-dl
|
||||
cat youtube-dl.zip >> youtube-dl
|
||||
|
||||
install -D -m755 youtube-dl "${pkgdir}/usr/bin/youtube-dl"
|
||||
install -D -m755 youtube-dl-${pkgver} "${pkgdir}/usr/bin/youtube-dl"
|
||||
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
grep -i license __init__.py > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
Loading…
Reference in New Issue
Block a user