keelerm84 / youtube-dl-gui

A C++ GUI interface to the CL tool youtube-dl
9 stars 5 forks source link

Binary packages #1

Open Kedrigern opened 10 years ago

Kedrigern commented 10 years ago

Hi,

I really like this app (include things like clear code) and I find it very useful. I was thinking about some binary packages for easier distribution.

I tried to write cpack into cmake yesterday... and its works! For example for Linux RPM everything necessary is to append these lines to CmakeLists.txt:

#
# Generate a distributin package
#

INCLUDE(CPack)

install(TARGETS
      youtube-dl-gui
      RUNTIME DESTINATION bin
      PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE SETUID
)

# General
SET( CPACK_PACKAGE_NAME "youtube-dl-gui" )
SET( CPACK_PACKAGE_VERSION "0.9" )
SET( CPACK_PACKAGE_CONTACT "ondrej.profant@gmail.com" )
SET( CPACK_PACKAGE_DESCRIPTION_SUMMARY "QT frontend to youtube-dl." )

# RPM
SET( CPACK_RPM_PACKAGE_REQUIRES "youtube-dl" )
SET( CPACK_RPM_PACKAGE_GROUP "Applications/Internet" )

Then you run cpack -G RPM instead make, see Cpack doc.

With DEB package I have some issue yet.

Are you interested in implementing these features? I can prepare pull request if you are interested. Or we can work on it together. There are questions like where to upload packages (see). Maybe the way is github pages.

keelerm84 commented 10 years ago

Thank you for your interest in this project! I'm so pleased to hear you have found it useful.

I would definitely be interested in this sort of feature. Please feel free to submit a pull request for this.

Hosting this project on github pages would be an excellent idea. I also like the releases feature discussed in the SO question you linked to. I think this would be a good way to go.

If you have any questions or want to chat with me about anything, I'm typically on IRC (freenode) most of the day as keelerm. You can also find me on Twitter as keelerm84. Thank you again.

Kedrigern commented 10 years ago
  1. Release version. It is realy easy. Its just git tag.note 1
  2. Prepare gh-pages. I think gh-pages should be simple. Only few sentces, one screenshot, links to binary packages.note 2 Can you create new branch via github project setting?
  3. Prepare packages
    1. RPM - I can handle this (for both architecture)
    2. DEB - I can handle this (for both architecture)
    3. EXE - ? (I am realy not sure about dependency - Qt, youtube-dl itself)
    4. MAC - ?

note 1: But this is help for developers. I think target group are commons users - and they need packages. note 2: Info for developers (how to compile etc.) should be in readme.md (as is now). Unfortunately there aren't easy way to sync readme a gh-pages.

keelerm84 commented 10 years ago

My apologies for the delay. I have created the gh-pages branch as requested.