Skip to content
SmartLib-v3.podspec 3.23 KiB
Newer Older
Pod::Spec.new do |s|
      s.name             = "SmartLib-v3"
      s.module_name      = "SmartLib_v3"
      s.version          = "03.02.01.3362M"
      s.summary          = "Broadpeak SmartLib for iOS/tvOS"
      s.homepage         = "https://broadpeak.tv/"
      s.license          = "All rights reserved"
      s.author           = { "Broadpeak" => "contact@broadpeak.tv" }
      s.source           = { :git => "https://delivery-platform.broadpeak.tv/ios/broadpeak/smartlib.git", :tag => s.version }
      s.social_media_url = "https://broadpeak.tv"

      s.platform     = :ios, "9.0"  
      s.default_subspec = "Generic"

      s.dependency 'AFNetworking', '4.0.1'

      s.subspec 'Generic' do |generic|
        generic.source_files = 'Pod/generic/include/*'
        generic.public_header_files = 'Pod/generic/include/*.h'
        generic.vendored_frameworks = 'Pod/SmartLib.framework'
      end

      s.subspec 'AVPlayer' do |avplayer|
        avplayer.source_files = 'Pod/generic/include/*', 'Pod/avplayer/include/*'
        avplayer.public_header_files = 'Pod/generic/include/*.h', 'Pod/avplayer/include/*.h'
        avplayer.vendored_frameworks = 'Pod/SmartLib.framework', 'Pod/avplayer/SmartLibAVPlayer.framework'
      end

      s.subspec 'VOPlayer' do |voplayer|
        voplayer.source_files = 'Pod/generic/include/*', 'Pod/voplayer/include/*'
        voplayer.public_header_files = 'Pod/generic/include/*.h', 'Pod/voplayer/include/*.h'
        voplayer.vendored_frameworks = 'Pod/SmartLib.framework', 'Pod/voplayer/SmartLibVOPlayer.framework'
      end

      s.subspec 'VisualOn' do |visualon|
        visualon.source_files = 'Pod/generic/include/*', 'Pod/visualon/include/*'
        visualon.public_header_files = 'Pod/generic/include/*.h', 'Pod/visualon/include/*.h'
        visualon.vendored_frameworks = 'Pod/SmartLib.framework', 'Pod/visualon/SmartLibVisualOn.framework'
      end

      s.subspec 'Kaltura' do |kaltura|
        kaltura.source_files = 'Pod/generic/include/*', 'Pod/kaltura/include/*'
        kaltura.public_header_files = 'Pod/generic/include/*.h', 'Pod/kaltura/include/*.h'
        kaltura.vendored_frameworks = 'Pod/SmartLib.framework', 'Pod/kaltura/SmartLibKaltura.framework'
      end

      s.subspec 'Generic+tvOS' do |generic|
        generic.platform = :tvos, "9.0"
        generic.source_files = 'Pod/generic/include/*'
        generic.public_header_files = 'Pod/generic/include/*.h'
        generic.vendored_frameworks = 'Pod/SmartLib_tvOS.framework'
      end

      s.subspec 'AVPlayer+tvOS' do |avplayer|
        avplayer.platform = :tvos, "9.0"
        avplayer.source_files = 'Pod/generic/include/*', 'Pod/avplayer/include/*'
        avplayer.public_header_files = 'Pod/generic/include/*.h', 'Pod/avplayer/include/*.h'
        avplayer.vendored_frameworks = 'Pod/SmartLib_tvOS.framework', 'Pod/avplayer/SmartLibAVPlayer_tvOS.framework'
      end

      s.subspec 'VisualOn+tvOS' do |visualon|
        visualon.platform = :tvos, "9.0"
        visualon.source_files = 'Pod/generic/include/*', 'Pod/visualon/include/*'
        visualon.public_header_files = 'Pod/generic/include/*.h', 'Pod/visualon/include/*.h'
        visualon.vendored_frameworks = 'Pod/SmartLib_tvOS.framework', 'Pod/visualon/SmartLibVisualOn_tvOS.framework'
      end
    end