Minor fixes (#360)
* aports: Use $install variable inside $source So these files also get fingerprinted * qemu: Use shutil.which instead of pmb.helpers.run.user * Fix typo in comment
This commit is contained in:
parent
9652e4ce27
commit
8d358837ee
|
@ -1,15 +1,15 @@
|
||||||
pkgname=media-player-info
|
pkgname=media-player-info
|
||||||
pkgver=22
|
pkgver=22
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Data files describing media player capabilities, for post-HAL systems"
|
pkgdesc="Data files describing media player capabilities, for post-HAL systems"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
url="http://cgit.freedesktop.org/media-player-info/"
|
url="http://cgit.freedesktop.org/media-player-info/"
|
||||||
depends="eudev"
|
depends="eudev"
|
||||||
makedepends="python3 eudev-dev"
|
makedepends="python3 eudev-dev"
|
||||||
source="http://www.freedesktop.org/software/media-player-info/$pkgname-$pkgver.tar.gz
|
|
||||||
$pkgname.post-install"
|
|
||||||
install="$pkgname.post-install"
|
install="$pkgname.post-install"
|
||||||
|
source="http://www.freedesktop.org/software/media-player-info/$pkgname-$pkgver.tar.gz
|
||||||
|
$install"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
pkgname=plasma-mobile
|
pkgname=plasma-mobile
|
||||||
pkgver=5845.8005327e
|
pkgver=5845.8005327e
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Plasma Mobile"
|
pkgdesc="Plasma Mobile"
|
||||||
arch="all"
|
arch="all"
|
||||||
url="https://community.kde.org/Plasma/Mobile"
|
url="https://community.kde.org/Plasma/Mobile"
|
||||||
license="GPL3"
|
license="GPL3"
|
||||||
depends="plasma-workspace kio"
|
depends="plasma-workspace kio"
|
||||||
makedepends="extra-cmake-modules baloo kdoctools plasma-workspace qt5-qtdeclarative-dev kio-dev kdelibs4support"
|
makedepends="extra-cmake-modules baloo kdoctools plasma-workspace qt5-qtdeclarative-dev kio-dev kdelibs4support"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/KDE/$pkgname/archive/master.tar.gz
|
|
||||||
$install"
|
|
||||||
install="$pkgname.post-install
|
install="$pkgname.post-install
|
||||||
$pkgname.post-upgrade
|
$pkgname.post-upgrade
|
||||||
$pkgname.post-deinstall"
|
$pkgname.post-deinstall"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/KDE/$pkgname/archive/master.tar.gz
|
||||||
|
$install"
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
mkdir -p $srcdir/build
|
mkdir -p $srcdir/build
|
||||||
|
@ -32,4 +32,7 @@ package() {
|
||||||
cd $srcdir/build
|
cd $srcdir/build
|
||||||
make DESTDIR="$pkgdir/" install
|
make DESTDIR="$pkgdir/" install
|
||||||
}
|
}
|
||||||
sha512sums="dc0ea3172e2bcdec972bf4d7a74e1e4a97de5e6d32adc6f4e36c3de57cf44529ea866ba9ee1c3014f2aaffee1e7b41c229358f6c997bcecf7f9262c95b0fa1b9 plasma-mobile-5845.8005327e.tar.gz"
|
sha512sums="dc0ea3172e2bcdec972bf4d7a74e1e4a97de5e6d32adc6f4e36c3de57cf44529ea866ba9ee1c3014f2aaffee1e7b41c229358f6c997bcecf7f9262c95b0fa1b9 plasma-mobile-5845.8005327e.tar.gz
|
||||||
|
48ab9fb5279fe9dde44ef92f990eba98adc16180a3832c11e17c091ad719962d3b703fa746bb20048dd18f98e087cdbce930148e5f2b2de085eebe2fd64164a0 plasma-mobile.post-install
|
||||||
|
48ab9fb5279fe9dde44ef92f990eba98adc16180a3832c11e17c091ad719962d3b703fa746bb20048dd18f98e087cdbce930148e5f2b2de085eebe2fd64164a0 plasma-mobile.post-upgrade
|
||||||
|
48ab9fb5279fe9dde44ef92f990eba98adc16180a3832c11e17c091ad719962d3b703fa746bb20048dd18f98e087cdbce930148e5f2b2de085eebe2fd64164a0 plasma-mobile.post-deinstall"
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
pkgname=plasma-phone-components
|
pkgname=plasma-phone-components
|
||||||
pkgver=682.b79bb13
|
pkgver=682.b79bb13
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Modules providing phone functionality for Plasma"
|
pkgdesc="Modules providing phone functionality for Plasma"
|
||||||
arch="all"
|
arch="all"
|
||||||
url="https://community.kde.org/Plasma/Mobile"
|
url="https://community.kde.org/Plasma/Mobile"
|
||||||
license="GPL3"
|
license="GPL3"
|
||||||
depends="plasma-workspace kpeople telepathy-qt qt5-qtgraphicaleffects"
|
depends="plasma-workspace kpeople telepathy-qt qt5-qtgraphicaleffects"
|
||||||
makedepends="kpeople telepathy-qt"
|
makedepends="kpeople telepathy-qt"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/KDE/$pkgname/archive/master.tar.gz
|
|
||||||
$install"
|
|
||||||
install="$pkgname.post-install
|
install="$pkgname.post-install
|
||||||
$pkgname.post-upgrade
|
$pkgname.post-upgrade
|
||||||
$pkgname.post-deinstall"
|
$pkgname.post-deinstall"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/KDE/$pkgname/archive/master.tar.gz
|
||||||
|
$install"
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
mkdir -p $srcdir/build
|
mkdir -p $srcdir/build
|
||||||
|
@ -33,4 +33,7 @@ package() {
|
||||||
cd $srcdir/build
|
cd $srcdir/build
|
||||||
make DESTDIR="$pkgdir/" install
|
make DESTDIR="$pkgdir/" install
|
||||||
}
|
}
|
||||||
sha512sums="abf94dc5c0801b333b434ba408952a1be45e3c58896204689bc62a8fde5605137ed6b69f7684f47a2834dc3d1e042bb00282501f2482434871acc92e084eddd8 plasma-phone-components-682.b79bb13.tar.gz"
|
sha512sums="abf94dc5c0801b333b434ba408952a1be45e3c58896204689bc62a8fde5605137ed6b69f7684f47a2834dc3d1e042bb00282501f2482434871acc92e084eddd8 plasma-phone-components-682.b79bb13.tar.gz
|
||||||
|
43046f7a0526986ca8453929c88bd1f05dfd255ba809d339a395935c7fb65ef562531a1770d3a0d7c07d6f3b9a3bbf9ea7791d12581f64d4b3dd0ccb83c945b5 plasma-phone-components.post-install
|
||||||
|
43046f7a0526986ca8453929c88bd1f05dfd255ba809d339a395935c7fb65ef562531a1770d3a0d7c07d6f3b9a3bbf9ea7791d12581f64d4b3dd0ccb83c945b5 plasma-phone-components.post-upgrade
|
||||||
|
43046f7a0526986ca8453929c88bd1f05dfd255ba809d339a395935c7fb65ef562531a1770d3a0d7c07d6f3b9a3bbf9ea7791d12581f64d4b3dd0ccb83c945b5 plasma-phone-components.post-deinstall"
|
||||||
|
|
|
@ -18,6 +18,7 @@ along with pmbootstrap. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
import shutil
|
||||||
|
|
||||||
import pmb.build
|
import pmb.build
|
||||||
import pmb.chroot
|
import pmb.chroot
|
||||||
|
@ -48,13 +49,12 @@ def system_image(args, device):
|
||||||
|
|
||||||
def which_qemu(args, arch):
|
def which_qemu(args, arch):
|
||||||
"""
|
"""
|
||||||
Finds the qemu executable or raises and exception otherwise
|
Finds the qemu executable or raises an exception otherwise
|
||||||
"""
|
"""
|
||||||
executable = "qemu-system-" + arch
|
executable = "qemu-system-" + arch
|
||||||
try:
|
if shutil.which(executable):
|
||||||
pmb.helpers.run.user(args, ["which", executable])
|
|
||||||
return executable
|
return executable
|
||||||
except RuntimeError:
|
else:
|
||||||
raise RuntimeError("Could not find the '" + executable + "' executable"
|
raise RuntimeError("Could not find the '" + executable + "' executable"
|
||||||
" in your PATH. Please install it in order to"
|
" in your PATH. Please install it in order to"
|
||||||
" run qemu.")
|
" run qemu.")
|
||||||
|
|
Loading…
Reference in New Issue