Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
870 B

7 years ago
  1. pkgname=kde-servicemenus-mediainfo
  2. pkgver=1
  3. pkgrel=1
  4. pkgdesc="A KDE service menus for media information (KDE5 Dolphin action)"
  5. arch=('any')
  6. url="https://store.kde.org/p/998430"
  7. license=('GPL')
  8. depends=('ffmpeg' 'dolphin' 'kdialog')
  9. source=(https://dl.opendesktop.org/api/files/download/id/1460731765/107335-AudioVideoinfo-qt.desktop
  10. program-cleanup.patch)
  11. md5sums=('bf395c70ce7a6f69352ce21ab6cd168e'
  12. '10c6e8c32362917b96e57247219af126')
  13. prepare()
  14. {
  15. mkdir -p $srcdir/$pkgname
  16. cp $srcdir/107335-AudioVideoinfo-qt.desktop $srcdir/$pkgname
  17. cd $srcdir/$pkgname
  18. patch -Np1 -i "$srcdir/program-cleanup.patch"
  19. }
  20. package()
  21. {
  22. mv $srcdir/$pkgname/107335-AudioVideoinfo-qt.desktop $srcdir/$pkgname/mediainfo-qt.desktop
  23. mkdir -p $pkgdir/usr/share/kservices5/ServiceMenus/
  24. install -m 644 $srcdir/$pkgname/*.desktop $pkgdir/usr/share/kservices5/ServiceMenus/
  25. }