Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

PM: PKGRECOM: What will this package enhance? #57

Open
Artoria2e5 opened this issue Aug 16, 2015 · 3 comments
Open

PM: PKGRECOM: What will this package enhance? #57

Artoria2e5 opened this issue Aug 16, 2015 · 3 comments

Comments

@Artoria2e5
Copy link
Contributor

This definition is present in pacman, in a form of:

optdepends=('cups: printing support'
            'sane: scanners support'
            'libgphoto2: digital cameras support'
            'alsa-lib: sound support'
            'giflib: GIF images support'
            'libjpeg: JPEG images support'
            'libpng: PNG images support')

Sadly, with our current IFS-based processing, the only possible way is:

PKGRECOM='cups sane libgphoto alsa-lib giflib libjpeg libpng'
PKGRECOM_INFO=('printing support' 'scanners support'  )# ... 

That is quite unsatisfactory.

@MingcongBai
Copy link
Contributor

autobulid/info file to provide a file with multiple columns?

recommend    libjpeg-turbo    provides support to read JPEG files
recommend    nodejs           JavaScript style bindings

Where...

  • Column one sets the variable
  • Column two provides the packages
  • Column three provides more information on the addition

a blind thought...

@Artoria2e5
Copy link
Contributor Author

worse.(

@MingcongBai
Copy link
Contributor

worse.(

Fine... You said use arrays, but can you explain that idea here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants