[arch-commits] Commit in ukui-media/repos/community-x86_64 (3 files)

Felix Yan felixonmars at archlinux.org
Sat Mar 21 11:15:37 UTC 2020


    Date: Saturday, March 21, 2020 @ 11:15:37
  Author: felixonmars
Revision: 602486

archrelease: copy trunk to community-x86_64

Added:
  ukui-media/repos/community-x86_64/PKGBUILD
    (from rev 602485, ukui-media/trunk/PKGBUILD)
Deleted:
  ukui-media/repos/community-x86_64/PKGBUILD
  ukui-media/repos/community-x86_64/fix-installation.patch

------------------------+
 PKGBUILD               |   77 ++++++++++++++++++++++-------------------------
 fix-installation.patch |   46 ----------------------------
 2 files changed, 37 insertions(+), 86 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-21 11:15:23 UTC (rev 602485)
+++ PKGBUILD	2020-03-21 11:15:37 UTC (rev 602486)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=ukui-media
-pkgver=2.0.0
-pkgrel=2
-pkgdesc="UKUI media utilities"
-arch=('x86_64')
-license=('GPL')
-url="https://github.com/ukui/ukui-media"
-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')
-
-prepare() {
-  cd $pkgname-$pkgver
-  patch -p1 -i ../fix-installation.patch
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname --sysconfdir=/etc
-  make
-
-  cd ukui-volume-control-applet-qt
-  qmake PREFIX=/usr
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-
-  cd ukui-volume-control-applet-qt
-  make INSTALL_ROOT="$pkgdir" install
-}

Copied: ukui-media/repos/community-x86_64/PKGBUILD (from rev 602485, ukui-media/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-21 11:15:37 UTC (rev 602486)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=ukui-media
+pkgver=2.0.1
+pkgrel=1
+pkgdesc="UKUI media utilities"
+arch=('x86_64')
+license=('GPL')
+url="https://github.com/ukui/ukui-media"
+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")
+sha512sums=('4452fb519d8f4966932b9c89dad2ed885a5fe3de65a6102848e4d25eaff41116e93b3e768134d6a2c92232f20651dd18d6f33c5fb31a46bd78200e04302943e2')
+
+prepare() {
+  cd $pkgname-$pkgver
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname --sysconfdir=/etc
+  make
+
+  cd ukui-volume-control-applet-qt
+  qmake PREFIX=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  cd ukui-volume-control-applet-qt
+  make INSTALL_ROOT="$pkgdir" install
+}

Deleted: fix-installation.patch
===================================================================
--- fix-installation.patch	2020-03-21 11:15:23 UTC (rev 602485)
+++ fix-installation.patch	2020-03-21 11:15:37 UTC (rev 602486)
@@ -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