Add extra repository to package source

Asked by Jhonny Oliveira on 2020-11-02

Hi!

I want to build a package which relies on a specific version of another package. The later will only be available on my PPA.
Is there a way to include this information somewhere in the debian folder, so when I upload it to Launchpad, the build process knows where to find the missing dependency package?

Thanks in advance!
Jhonny Oliveira

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Jhonny Oliveira
Solved:
2020-11-04
Last query:
2020-11-04
Last reply:
2020-11-02

This question was reopened

Colin Watson (cjwatson) said : #1

If it's in the same PPA, you can just add an appropriate version constraint to the build-dependency. See https://www.debian.org/doc/debian-policy/ch-relationships.html for full details, but it's usually just something like "Build-Depends: libfoo-dev (>= minimum-version)".

If the build-dependency in question is in a different PPA, you'll need to additionally use "Edit PPA dependencies" to cause that different PPA to be used during builds.

Thank you!