[arch-commits] Commit in ukui-media/trunk (PKGBUILD fix-installation.patch)
Felix Yan
felixonmars at archlinux.org
Sat Mar 21 11:15:24 UTC 2020
Date: Saturday, March 21, 2020 @ 11:15:23
Author: felixonmars
Revision: 602485
upgpkg: ukui-media 2.0.1-1
Modified:
ukui-media/trunk/PKGBUILD
Deleted:
ukui-media/trunk/fix-installation.patch
------------------------+
PKGBUILD | 11 ++++-------
fix-installation.patch | 46 ----------------------------------------------
2 files changed, 4 insertions(+), 53 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-21 11:14:03 UTC (rev 602484)
+++ PKGBUILD 2020-03-21 11:15:23 UTC (rev 602485)
@@ -1,8 +1,8 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=ukui-media
-pkgver=2.0.0
-pkgrel=2
+pkgver=2.0.1
+pkgrel=1
pkgdesc="UKUI media utilities"
arch=('x86_64')
license=('GPL')
@@ -10,14 +10,11 @@
groups=('ukui')
depends=('gsettings-qt' 'libmatemixer' 'libqtxdg' 'mate-desktop' 'qt5-svg')
makedepends=('autoconf-archive' 'intltool' 'mate-common' 'qt5-tools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ukui/ukui-media/archive/v$pkgver.tar.gz"
- fix-installation.patch)
-sha512sums=('d741e96e2961135913d65108839722d81d414ddd1094c41707bd149b7bc26d4d9d96208bdface885acb5abf252a4fe6e9412c9316c24ae3a3a5eab8e0bca78c8'
- 'f8feb25ae30a7ab04663641da94bbd611ecf3914d34e8abb3a459d14719b80bd7cf721eaf0119f742dbee14cca9504be81cb3158f7f2ef59055ac1b0379f1682')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ukui/ukui-media/archive/v$pkgver.tar.gz")
+sha512sums=('4452fb519d8f4966932b9c89dad2ed885a5fe3de65a6102848e4d25eaff41116e93b3e768134d6a2c92232f20651dd18d6f33c5fb31a46bd78200e04302943e2')
prepare() {
cd $pkgname-$pkgver
- patch -p1 -i ../fix-installation.patch
NOCONFIGURE=1 ./autogen.sh
}
Deleted: fix-installation.patch
===================================================================
--- fix-installation.patch 2020-03-21 11:14:03 UTC (rev 602484)
+++ fix-installation.patch 2020-03-21 11:15:23 UTC (rev 602485)
@@ -1,46 +0,0 @@
-commit 49702aec5da73fb874483a3246299cfb304c55cd
-Author: Felix Yan <felixonmars at archlinux.org>
-Date: Fri Mar 20 21:41:34 2020 +0800
-
- Properly include resource files in installation
-
-diff --git a/ukui-volume-control-applet-qt/ukui-volume-control-applet-qt.pro b/ukui-volume-control-applet-qt/ukui-volume-control-applet-qt.pro
-index a1790a3..917b789 100644
---- a/ukui-volume-control-applet-qt/ukui-volume-control-applet-qt.pro
-+++ b/ukui-volume-control-applet-qt/ukui-volume-control-applet-qt.pro
-@@ -10,6 +10,8 @@ TEMPLATE = app
- TARGET = ukui-volume-control-applet-qt
- INCLUDEPATH += .
-
-+PREFIX = /usr/share/ukui-media
-+
- include(QtSingleApplication/qtsingleapplication.pri)
-
- DEFINES += QT_DEPRECATED_WARNINGS
-@@ -26,9 +28,6 @@ target.path = /usr/bin
- #inst.files += translations/ukui-media-volume-control-applet-qt_zh_CN.qm
- # translations/1
-
--INSTALLS += \
-- target
--
- CONFIG += \
- c++11 \
- no_keywords link_pkgconfig \
-@@ -66,4 +65,15 @@ RESOURCES += \
- res.qrc
-
- TRANSLATIONS += \
-- translations/ukui-volume-control-applet-qt-zh_CN.ts
-+ translations/*.ts
-+
-+system("lrelease translations/*.ts")
-+
-+qm_file.files = translations/*.qm
-+qm_file.path = $${PREFIX}/translations/
-+
-+data_files.files = data/*
-+data_files.path = $${PREFIX}/
-+
-+INSTALLS += \
-+ target qm_file data_files
More information about the arch-commits
mailing list