Package Details: mpp-git r3406.3b278438-1

Git Clone URL: https://aur.archlinux.org/mpp-git.git (read-only, click to copy)
Package Base: mpp-git
Description: Rockchip VPU Media Process Platform (MPP) for hardware video decode latest revision from git
Upstream URL: https://github.com/rockchip-linux/mpp
Licenses: Apache
Conflicts: mpp, rockchip-mpp
Provides: mpp, rockchip-mpp
Submitter: boogiepop
Maintainer: None
Last Packager: 7Ji
Votes: 2
Popularity: 0.077204
First Submitted: 2023-01-25 23:47 (UTC)
Last Updated: 2023-11-13 03:08 (UTC)

Required by (40)

Sources (3)

Latest Comments

MarsSeed commented on 2023-11-23 09:30 (UTC)

Former maintainers disowned this. Safe to delete now. Not useful on Arch Linux, only on Arch Linux ARM ([1], [2], [3]).

boogiepop commented on 2023-11-13 18:37 (UTC)

to note, it is their AUR. They can decide whatever the rule they want to impose. They can even agree to only commit potato and kitten pictures.

However i completely disagree with this approach, and it is inviting fragmentation of user base. I do not even think network load or disk storage is a concern here.

There is absolutely no need, both technically and administratively.

But it seems it is futile to discuss this.

Lets move to github, if demand increases we can find another way.

kyak commented on 2023-11-13 18:04 (UTC)

@boogiepop: beware: https://lists.archlinux.org/hyperkitty/list/aur-requests@lists.archlinux.org/thread/IY2AYSTD3XRSD2QGKDNMMAQUIDNSREJZ/

and https://aur.archlinux.org/pkgbase/linux-aarch64-orangepi5#comment-943549

boogiepop commented on 2023-08-29 17:44 (UTC)

7Ji thanks for the update, if you need access to other packages (ie: librga or ffmpeg-mpp*) you can ping me.

boogiepop commented on 2023-08-25 21:43 (UTC) (edited on 2023-08-25 21:44 (UTC) by boogiepop)

or even better i added you as co-maintainer, you can do the update as you wish. if you prefer not to, i can still update no problem.

boogiepop commented on 2023-08-25 21:42 (UTC)

@7Ji thanks for the patch, i will update soon.

7Ji commented on 2023-08-23 09:51 (UTC)

Hello, /etc/udev/rules.d is for udev rules files created by users, and a package should store its rules under /usr/lib/udev/rules.d, and mpp.rules should also has a reasonable prefix so users / maintainers of other packages can later add their rules pre-mpp.rules or post-mpp.rules.

An example of this is utils-linux's 60-rfkill.rules:

> pacman -Qo /usr/lib/udev/rules.d/60-rfkill.rules
/usr/lib/udev/rules.d/60-rfkill.rules is owned by util-linux 2.39.2-1

Would you please update the package to fix this? My patch:

From 25146509b425e97b2ade49cc01715593071d830b Mon Sep 17 00:00:00 2001
From: 7Ji <pugokushin@gmail.com>
Date: Wed, 23 Aug 2023 17:44:23 +0800
Subject: [PATCH] store udev rules under /usr/lib, add prefix to rules

---
 .SRCINFO                  | 4 ++--
 mpp.rules => 60-mpp.rules | 1 -
 PKGBUILD                  | 7 ++++---
 3 files changed, 6 insertions(+), 6 deletions(-)
 rename mpp.rules => 60-mpp.rules (99%)

diff --git a/.SRCINFO b/.SRCINFO
index 3489f47..e593193 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -15,10 +15,10 @@ pkgbase = mpp-git
        options = debug
        options = strip
        source = git+https://github.com/rockchip-linux/mpp.git#branch=develop
-       source = mpp.rules
+       source = 60-mpp.rules
        source = install
        sha256sums = SKIP
-       sha256sums = d27661a0c143fee2cb3d31b04be2503f1bd2291a2a0565ce391a663cd414ebb2
+       sha256sums = 4bc41c840642ed4d20a4e696ba623d3d1764b557ab65a69a328cd372e813c705
        sha256sums = e41004dc18f77d37b23f84464c4367c7ccf94d8e86b6f751437b685322e153d2

 pkgname = mpp-git
diff --git a/mpp.rules b/60-mpp.rules
similarity index 99%
rename from mpp.rules
rename to 60-mpp.rules
index 66708c2..fb652a7 100644
--- a/mpp.rules
+++ b/60-mpp.rules
@@ -3,4 +3,3 @@ KERNEL=="rga", MODE="0660", GROUP="video"
 KERNEL=="system-dma32", MODE="0666", GROUP="video"
 KERNEL=="system-uncached", MODE="0666", GROUP="video"
 KERNEL=="system-uncached-dma32", MODE="0666", GROUP="video" RUN+="/usr/bin/chmod a+rw /dev/dma_heap"
-
diff --git a/PKGBUILD b/PKGBUILD
index 61a8e81..7b45a9f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
 # Maintainer: Mahmut Dikcizgi <boogiepop a~t gmx com>
+# Contributor: 7Ji <pugokushin@gmail.com>

 pkgname=mpp-git
 pkgver="r3181.93b1cd14"
@@ -12,10 +13,10 @@ makedepends=('cmake')
 options=(!lto debug strip)
 install=install
 source=(git+https://github.com/rockchip-linux/mpp.git#branch=develop
-               'mpp.rules'
+               '60-mpp.rules'
                'install')
 sha256sums=('SKIP'
-            'd27661a0c143fee2cb3d31b04be2503f1bd2291a2a0565ce391a663cd414ebb2'
+            '4bc41c840642ed4d20a4e696ba623d3d1764b557ab65a69a328cd372e813c705'
             'e41004dc18f77d37b23f84464c4367c7ccf94d8e86b6f751437b685322e153d2')

 build() {
@@ -41,5 +42,5 @@ package() {

     # mpp needs to access /dev/mpp_service /dev/rga /dev/dma_heap/ ad so on
     # access to those devices are +rw'ed to video groups with those rules
-    install -m644 -Dt "$pkgdir/etc/udev/rules.d/" mpp.rules
+    install -m644 -Dt "$pkgdir/usr/lib/udev/rules.d/" 60-mpp.rules
 }
\ No newline at end of file
-- 
2.41.0


kyak commented on 2023-08-01 19:28 (UTC)

@boogiepop thumbs up for your *-mpp packages!

Trying to bring up all of those on Orange Pi 5 Plus, let's see how it works.